diff options
| author | khazhyk <[email protected]> | 2016-10-15 15:54:31 -0700 |
|---|---|---|
| committer | khazhyk <[email protected]> | 2016-10-15 15:54:50 -0700 |
| commit | 98d8c855d8cd62ccf6cc811869c6e714cd34c17c (patch) | |
| tree | e9b189aedd99a7278f25c71fdd3e5f9f9fe212af | |
| parent | Fix Member.server_permissions docstring. (diff) | |
| download | discord.py-98d8c855d8cd62ccf6cc811869c6e714cd34c17c.tar.xz discord.py-98d8c855d8cd62ccf6cc811869c6e714cd34c17c.zip | |
Fix typo in change_presence validation message
| -rw-r--r-- | discord/gateway.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/gateway.py b/discord/gateway.py index 402a174b..297c6cde 100644 --- a/discord/gateway.py +++ b/discord/gateway.py @@ -408,7 +408,7 @@ class DiscordWebSocket(websockets.client.WebSocketClientProtocol): @asyncio.coroutine def change_presence(self, *, game=None, status=None, afk=False, since=0.0, idle=None): if game is not None and not isinstance(game, Game): - raise InvalidArgument('game must be of Game or None') + raise InvalidArgument('game must be of type Game or None') if idle: status = 'idle' |