From c12c0f7240b877cab0978f1e08d9230e5d04f55e Mon Sep 17 00:00:00 2001 From: Numerlor <25886452+Numerlor@users.noreply.github.com> Date: Mon, 13 Sep 2021 01:48:40 +0200 Subject: remove redundant returns on both branches --- bot/exts/info/tags.py | 3 +-- 1 file changed, 1 insertion(+), 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): -- cgit v1.2.3