Clear Messages Changes
- Default clear to 2 messages (instantiation and the previous message)
This commit is contained in:
Logan Cusano
2022-04-09 22:05:32 -04:00
parent b0d83def35
commit bfb049e268

View File

@@ -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}")