Commande de suppression de canal multiple dans Discord.py
#channel delete
@bot.command(aliases=['chd'])
@commands.has_permissions(manage_channels=True)
async def chdel(ctx, *channels: discord.TextChannel):
for ch in channels:
await ch.delete()
await ctx.send(f'**<:vf:947194381172084767>`{ch.name}` has been deleted**')
await sleep(1)
Hunter 87