From 0847190130d09f7e7037b4e1170c77de1b3f5f19 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Fri, 24 Jul 2020 15:28:08 +0100 Subject: [PATCH] Making arguments appear optional --- cogs/moderation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/moderation.py b/cogs/moderation.py index 2f526324..50c99e0b 100644 --- a/cogs/moderation.py +++ b/cogs/moderation.py @@ -71,7 +71,7 @@ class Moderation(commands.Cog): @command() @guild_only() @has_guild_permissions(manage_messages=True) - async def purge(self, ctx, amount: int): + async def purge(self, ctx, amount: int = None): """Purge Messages from Channel""" if not amount: amount = 100