The name is required in Client.edit_channel so add it if it is missing.
This commit is contained in:
parent
fa0c98da4c
commit
eeba4963f3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user