aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ToxicKidz <[email protected]>2021-05-07 11:34:35 -0400
committerGravatar ToxicKidz <[email protected]>2021-05-07 11:34:35 -0400
commit14fc010db6a8ac06eb356617146e9deaa540177b (patch)
treeeb96f636ac252aa5d84e76746843e2e5d734b30f
parentMerge pull request #716 from ToxicKidz/feat/mosaic-command (diff)
fix: Add a missing 'not'
-rw-r--r--bot/exts/evergreen/avatar_modification/avatar_modify.py2
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)