diff options
| -rw-r--r-- | discord/client.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/discord/client.py b/discord/client.py index d7767180..c725da91 100644 --- a/discord/client.py +++ b/discord/client.py @@ -1522,6 +1522,9 @@ class Client: Editing the channel failed. """ + if 'name' not in options: + options['name'] = channel.name + yield from self.http.edit_channel(channel.id, **options) @asyncio.coroutine |