diff options
| author | Harmon758 <[email protected]> | 2016-06-23 11:10:07 -0500 |
|---|---|---|
| committer | Harmon758 <[email protected]> | 2016-06-23 13:52:42 -0500 |
| commit | 6061f83c3f6afa7d1571a6d723bee07460bb395d (patch) | |
| tree | a0df86c7116b8f8287beb7cc9849d52fa280b9df | |
| parent | [commands] Port special cased discord converters to commands.Converter (diff) | |
| download | discord.py-6061f83c3f6afa7d1571a6d723bee07460bb395d.tar.xz discord.py-6061f83c3f6afa7d1571a6d723bee07460bb395d.zip | |
Fix bug with edit_profile for user accounts
| -rw-r--r-- | discord/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py index d738e7bf..2580fa12 100644 --- a/discord/client.py +++ b/discord/client.py @@ -1498,7 +1498,7 @@ class Client: if 'new_password' in fields: args['new_password'] = fields['new_password'] - yield from self.http.edit_profile(**args) + data = yield from self.http.edit_profile(**args) if not_bot_account: self.email = data['email'] if 'token' in data: |