Commande de déverrouillage de canal dans Discord.py
#unlock command
@bot.command(help=" Use this command to lock a channel")
@commands.has_permissions(manage_channels=True)
async def unlock(ctx):
await ctx.channel.set_permissions(ctx.guild.default_role,send_messages=True)
await ctx.send('**<:vf:947194381172084767> Channel has been unlocked**')
await ctx.channel.purge(limit=2)
Hunter 87