mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-12-19 22:02:18 +00:00
Fix HTTPClient errors from the backport.
This commit is contained in:
@@ -463,7 +463,7 @@ class HTTPClient:
|
||||
|
||||
def edit_member(self, guild_id, user_id, **fields):
|
||||
r = Route('PATCH', '/guilds/{guild_id}/members/{user_id}', guild_id=guild_id, user_id=user_id)
|
||||
return self.request(r, json=fields, bucket=bucket)
|
||||
return self.request(r, json=fields)
|
||||
|
||||
# Channel management
|
||||
|
||||
@@ -632,7 +632,7 @@ class HTTPClient:
|
||||
# Misc
|
||||
|
||||
def application_info(self):
|
||||
return self.request(Route('GET', '/oauth/applications/@me'))
|
||||
return self.request(Route('GET', '/oauth2/applications/@me'))
|
||||
|
||||
@asyncio.coroutine
|
||||
def get_gateway(self):
|
||||
|
||||
Reference in New Issue
Block a user