aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Numerlor <[email protected]>2021-08-02 20:35:14 +0200
committerGravatar Numerlor <[email protected]>2021-08-02 20:35:14 +0200
commit6421ebed42c87ccc6a271ef3baf5345797b3b42e (patch)
treed4f14462ab88221e286d0eb5da4f04a08bebcb43
parentUse an and instead of nested ifs (diff)
Change if to elif to indicate it's exclusive with the above if
-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 7efaae3c3..f2b5c0823 100644
--- a/bot/exts/info/tags.py
+++ b/bot/exts/info/tags.py
@@ -376,7 +376,7 @@ class Tags(Cog):
await ctx.send(embed=Embed(description="**There are no tags!**"))
return True
- if tag_name is None:
+ elif tag_name is None:
if any(
tag_name_or_group == identifier.group and tag.accessible_by(ctx.author)
for identifier, tag in self._tags.items()