aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar F4zii <[email protected]>2020-02-22 22:22:13 +0200
committerGravatar F4zii <[email protected]>2020-02-22 22:22:13 +0200
commitdc0bc87afb14f75037aa695dd6936bb061054a2d (patch)
tree58d902d50c1bade7d9b8a5fdccf36e561590f0bc
parentNontype handling Logic fix (diff)
Boolean Logic fix
If we sent a message, we need to return True, the error_handler (in case it called the func) will not send another message if already sent one.
-rw-r--r--bot/cogs/tags.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/tags.py b/bot/cogs/tags.py
index c3bc9861f..e36761f85 100644
--- a/bot/cogs/tags.py
+++ b/bot/cogs/tags.py
@@ -155,7 +155,7 @@ class Tags(Cog):
description="**There are no tags in the database!**",
colour=Colour.red()
))
- return False
+ return True
else:
embed: Embed = Embed(title="**Current tags**")
await LinePaginator.paginate(