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):
9
9
helpcmd (bot )
10
10
info (bot )
11
11
ping (bot )
12
- purge (bot )
12
+ prune (bot )
13
13
kick (bot )
14
14
ban (bot )
15
15
admin (bot )
@@ -73,10 +73,10 @@ async def ping(ctx):
73
73
await ctx .send (f'Pong! { round (bot .latency * 1000 )} ms' )
74
74
75
75
76
- def purge (bot ):
77
- @bot .command (aliases = ['clear' , 'cls' ])
76
+ def prune (bot ):
77
+ @bot .command (aliases = ['purge' , ' clear' , 'cls' ])
78
78
@cmd .has_permissions (kick_members = True )
79
- async def purge (ctx , amount = 0 ):
79
+ async def prune (ctx , amount = 0 ):
80
80
if amount == 0 :
81
81
await ctx .send ("Please specify the number of messages you want to delete!" )
82
82
else :
Original file line number Diff line number Diff line change 1
1
import json
2
- from discord .ext import commands
3
2
import teapot
4
3
5
4
You can’t perform that action at this time.
0 commit comments