Browse Source

Fix NameError inside HTTPClient.edit_member.

pull/468/head
Rapptz 8 years ago
parent
commit
94448d3972
  1. 2
      discord/http.py

2
discord/http.py

@ -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

Loading…
Cancel
Save