канал скрыть команду в discord.py
#hide channel
@bot.command(help=" Use this command to hide a channel")
@commands.has_permissions(manage_channels=True)
async def hide(ctx):
await ctx.channel.set_permissions(ctx.guild.default_role,view_channel=False)
await ctx.send('**<:vf:947194381172084767>This channel is hidden from everyone**')
await ctx.channel.purge(limit=2)
Hunter 87