@client.command()
async def create(ctx, *, name = None):
if not name:
emb = discord.Embed(description = 'Укажите имя канала!')
emb.set_author(name = '{}'.format(ctx.author), icon_url = '{}'.format(ctx.author.avatar_url))
await ctx.send(embed = emb)
else:
new_cat = discord.utils.get(ctx.guild.roles, id = 716638748946858066)
everyone = discord.utils.get(ctx.guild.roles, id = 689171803549335616)
channel = await ctx.guild.create_text_channel(name)
await channel.set_permissions(new_cat, read_messages = True, send_messages = True)
await channel.set_permissions(everyone, read_messages = False, send_messages = False)