mirror of
				https://github.com/Rapptz/discord.py.git
				synced 2025-10-30 21:12:58 +00:00 
			
		
		
		
	The name is required in Client.edit_channel so add it if it is missing.
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user