//WIP v3
Clear Messages Changes - Default clear to 2 messages (instantiation and the previous message)
This commit is contained in:
@@ -9,9 +9,10 @@ class ClearMessages(commands.Cog):
|
||||
self.Bot = bot
|
||||
|
||||
@commands.command()
|
||||
async def clear(self, ctx, amount=0):
|
||||
async def clear(self, ctx, amount=2):
|
||||
member = ctx.author.display_name
|
||||
member_id = ctx.author.id
|
||||
|
||||
mtn_member = f"<@{member_id}>"
|
||||
LOGGER.info(f"Clear {amount} messages requested by {member}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user