aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Numerlor <[email protected]>2021-08-02 20:51:44 +0200
committerGravatar Numerlor <[email protected]>2021-08-02 20:51:44 +0200
commit116c4af36990df5f2c8413101748f68a612e07f4 (patch)
tree257575fd1b0a144e9a396c7a178ac472c3e4396a
parentMove tag identifier creation method to a TagIdentifier constructor (diff)
Use opposite comparison operator instead of negating condition
-rw-r--r--bot/exts/info/tags.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/info/tags.py b/bot/exts/info/tags.py
index c05528daf..50a88ed19 100644
--- a/bot/exts/info/tags.py
+++ b/bot/exts/info/tags.py
@@ -176,7 +176,7 @@ class Tags(Cog):
# Try fuzzy matching with only a name first
suggestions = self._get_suggestions(TagIdentifier(None, tag_identifier.group))
- if not len(tag_identifier.name) < 3:
+ if len(tag_identifier.name) >= 3:
suggestions += self._get_suggestions(tag_identifier)
return suggestions