//WIP v3
Clear Messages Changes - Bug
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user