mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-12-08 08:22:19 +00:00
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