Advertisement
Guest User

Untitled

a guest
Sep 20th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. @client.command()
  2. async def purge(ctx, amount=0):
  3. await ctx.channel.purge(limit=amount+1)
  4. author = ctx.message.author
  5. await ctx.send(str(author) +' Purged `' + str(amount) + '`')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement