Clear Messages Changes
- Bug
This commit is contained in:
Logan Cusano
2022-04-09 22:15:37 -04:00
parent 9dba89a60b
commit 4d5c1183d6

View File

@@ -8,12 +8,12 @@ class ClearMessages(commands.Cog):
def __init__(self, bot):
self.Bot = bot
@commands.command(name='displayprofiles',
help="Use this command to clear a given number of messages from the channel it is called in.\n"
"Example command:\n"
"\t@ clear\n"
"\t@ clear 10",
breif="Clear x messages in the channel it's called in")
@commands.command(name='clear',
help="Use this command to clear a given number of messages from the channel it is called in.\n"
"Example command:\n"
"\t@ clear\n"
"\t@ clear 10",
breif="Clear x messages in the channel it's called in")
async def clear(self, ctx, amount: int = 2):
member = ctx.author.display_name
member_id = ctx.author.id