how to add a purge command discord.py rewrite code example
Example: discord.py clear command
@client.command()
async def clear(ctx, amount=5):
await ctx.channel.purge(limit=ammount)
@client.command()
async def clear(ctx, amount=5):
await ctx.channel.purge(limit=ammount)