Skip to content

Commit c1ab42c

Browse files
committed
Renamed purge command to prune
Signed-off-by: ColaIan <colaian.yt@gmail.com>
1 parent 3ebe55d commit c1ab42c

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

teapot/cogs/cmds.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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:

teapot/events.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import json
2-
from discord.ext import commands
32
import teapot
43

54

0 commit comments

Comments
 (0)