diff options
Diffstat (limited to 'bot/exts')
| -rw-r--r-- | bot/exts/evergreen/avatar_modification/avatar_modify.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/bot/exts/evergreen/avatar_modification/avatar_modify.py b/bot/exts/evergreen/avatar_modification/avatar_modify.py index 6418eaee..2afc3b74 100644 --- a/bot/exts/evergreen/avatar_modification/avatar_modify.py +++ b/bot/exts/evergreen/avatar_modification/avatar_modify.py @@ -322,7 +322,7 @@ class AvatarModify(commands.Cog):                  await ctx.send(f"{Emojis.cross_mark} Could not get member info.")                  return -            if 1 <= squares <= MAX_SQUARES: +            if not 1 <= squares <= MAX_SQUARES:                  raise commands.BadArgument(f"Squares must be a positive number less than or equal to {MAX_SQUARES:,}.")              sqrt = math.sqrt(squares) | 
