diff options
| author | 2021-05-07 11:34:35 -0400 | |
|---|---|---|
| committer | 2021-05-07 11:34:35 -0400 | |
| commit | 14fc010db6a8ac06eb356617146e9deaa540177b (patch) | |
| tree | eb96f636ac252aa5d84e76746843e2e5d734b30f /bot/exts | |
| parent | Merge pull request #716 from ToxicKidz/feat/mosaic-command (diff) | |
fix: Add a missing 'not'
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) | 
