File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ def __init__(bot):
99 helpcmd (bot )
1010 info (bot )
1111 ping (bot )
12- purge (bot )
12+ prune (bot )
1313 kick (bot )
1414 ban (bot )
1515 admin (bot )
@@ -73,10 +73,10 @@ async def ping(ctx):
7373 await ctx .send (f'Pong! { round (bot .latency * 1000 )} ms' )
7474
7575
76- def purge (bot ):
77- @bot .command (aliases = ['clear' , 'cls' ])
76+ def prune (bot ):
77+ @bot .command (aliases = ['purge' , ' clear' , 'cls' ])
7878 @cmd .has_permissions (kick_members = True )
79- async def purge (ctx , amount = 0 ):
79+ async def prune (ctx , amount = 0 ):
8080 if amount == 0 :
8181 await ctx .send ("Please specify the number of messages you want to delete!" )
8282 else :
Original file line number Diff line number Diff line change 11import json
2- from discord .ext import commands
32import teapot
43
54
You can’t perform that action at this time.
0 commit comments