aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Numerlor <[email protected]>2021-09-13 01:48:40 +0200
committerGravatar Numerlor <[email protected]>2021-09-13 01:48:40 +0200
commitc12c0f7240b877cab0978f1e08d9230e5d04f55e (patch)
tree44a67be46350184772ddbcc156ef96afd9a88aa0
parentReturn formatted list instead of paginating directly in tag list methods (diff)
remove redundant returns on both branches
-rw-r--r--bot/exts/info/tags.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bot/exts/info/tags.py b/bot/exts/info/tags.py
index d11782d03..d474d65be 100644
--- a/bot/exts/info/tags.py
+++ b/bot/exts/info/tags.py
@@ -372,10 +372,9 @@ class Tags(Cog):
await LinePaginator.paginate(
self.list_all_tags(ctx.author), ctx, Embed(title="Current tags"), **self.PAGINATOR_DEFAULTS
)
- return True
else:
await ctx.send(embed=Embed(description="**There are no tags!**"))
- return True
+ return True
elif tag_name is None:
if group_tags := self.list_tags_in_group(tag_name_or_group, ctx.author):