diff options
| author | Rapptz <[email protected]> | 2017-04-15 19:53:09 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-04-15 19:55:51 -0400 |
| commit | 3983eb3ba53bd9a98bc5308993d849afc311e4c5 (patch) | |
| tree | 569b642470efeecf64ac0fc4c5796faf0b982480 /discord/http.py | |
| parent | Start typing immediately when using async typing context manager. (diff) | |
| download | discord.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.py | 2 |
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 |