aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkhazhyk <[email protected]>2016-10-15 15:54:31 -0700
committerkhazhyk <[email protected]>2016-10-15 15:54:50 -0700
commit98d8c855d8cd62ccf6cc811869c6e714cd34c17c (patch)
treee9b189aedd99a7278f25c71fdd3e5f9f9fe212af
parentFix Member.server_permissions docstring. (diff)
downloaddiscord.py-98d8c855d8cd62ccf6cc811869c6e714cd34c17c.tar.xz
discord.py-98d8c855d8cd62ccf6cc811869c6e714cd34c17c.zip
Fix typo in change_presence validation message
-rw-r--r--discord/gateway.py2
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'