Browse Source

Fix bug that disallowed ServerRegion from being used in edit_server.

pull/333/head
Rapptz 9 years ago
parent
commit
bca6b2a133
  1. 3
      discord/client.py

3
discord/client.py

@ -1965,6 +1965,9 @@ class Client:
fields['owner_id'] = fields['owner'].id
if 'region' in fields:
fields['region'] = str(fields['region'])
yield from self.http.edit_server(server.id, **fields)
@asyncio.coroutine

Loading…
Cancel
Save