Support for API v7 error handling.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user