Support for API v7 error handling.

This commit is contained in:
Rapptz committed 2017-04-15 19:55:51 -04:00
1 parent 22150b20b6
commit 3983eb3ba5
2 files changed
+37 -7

No files matched your search

+1 -1
View File
@@ -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