Support for API v7 error handling.

This commit is contained in:
Rapptz
2017-04-15 19:53:09 -04:00
parent 22150b20b6
commit 3983eb3ba5
2 changed files with 37 additions and 7 deletions

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