aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2015-08-22 19:14:27 -0400
committerRapptz <[email protected]>2015-08-22 19:14:27 -0400
commita1c5e9f4d90aa26c3b14d9779b51df1cac6d6dd5 (patch)
tree588e6614577f88b17655cd359692c9335ed5aec2
parentRename project from pydiscord to discord.py (diff)
downloaddiscord.py-a1c5e9f4d90aa26c3b14d9779b51df1cac6d6dd5.tar.xz
discord.py-a1c5e9f4d90aa26c3b14d9779b51df1cac6d6dd5.zip
Use v2 of the Discord API.
-rw-r--r--discord/client.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py
index dc58c2db..d01a0dd9 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -350,7 +350,8 @@ class Client(object):
'$device': 'discord.py',
'$referrer': '',
'$referring_domain': ''
- }
+ },
+ 'v': 2
}
}