how to clear chat 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)