aboutsummaryrefslogtreecommitdiff
path: root/discord/http.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-04-15 19:53:09 -0400
committerRapptz <[email protected]>2017-04-15 19:55:51 -0400
commit3983eb3ba53bd9a98bc5308993d849afc311e4c5 (patch)
tree569b642470efeecf64ac0fc4c5796faf0b982480 /discord/http.py
parentStart typing immediately when using async typing context manager. (diff)
downloaddiscord.py-3983eb3ba53bd9a98bc5308993d849afc311e4c5.tar.xz
discord.py-3983eb3ba53bd9a98bc5308993d849afc311e4c5.zip
Support for API v7 error handling.
Diffstat (limited to 'discord/http.py')
-rw-r--r--discord/http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/http.py b/discord/http.py
index e5d0c094..dde4ba35 100644
--- a/discord/http.py
+++ b/discord/http.py
@@ -46,7 +46,7 @@ def json_or_text(response):
return text
class Route:
- BASE = 'https://discordapp.com/api/v6'
+ BASE = 'https://discordapp.com/api/v7'
def __init__(self, method, path, **parameters):
self.path = path