clear chat command discord.py 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)