diff options
-rw-r--r-- | bot/seasons/evergreen/fun.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/seasons/evergreen/fun.py b/bot/seasons/evergreen/fun.py index afe70462..b531e82f 100644 --- a/bot/seasons/evergreen/fun.py +++ b/bot/seasons/evergreen/fun.py @@ -15,11 +15,11 @@ class Fun: self.bot = bot @commands.command() - async def roll(self, ctx, num_rolls: int): + async def roll(self, ctx, num_rolls: int = 1): output = "" if num_rolls > 6: num_rolls = 6 - elif num_rolls < 0: + elif num_rolls < 1: output = ":no_entry: You must roll at least once." for _ in range(num_rolls): output += ":terning%d: " % random.randint(1, 6) |