aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar F4zii <[email protected]>2020-02-22 22:20:30 +0200
committerGravatar F4zii <[email protected]>2020-02-22 22:20:30 +0200
commitde5360585451ea7e3a708eba3e8315906e6a9904 (patch)
tree539bbba75d9b75e3bdb8a95c63987e27db43cd85
parentMerge remote-tracking branch 'origin/master' into feat/F4zi/CommandSuggestion (diff)
Nontype handling Logic fix
we cannot perform anything without the tags cog and commands
-rw-r--r--bot/cogs/error_handler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/error_handler.py b/bot/cogs/error_handler.py
index 5af5974cb..dab3102cf 100644
--- a/bot/cogs/error_handler.py
+++ b/bot/cogs/error_handler.py
@@ -77,7 +77,7 @@ class ErrorHandler(Cog):
if not ctx.channel.id == Channels.verification:
tags_cog = self.bot.get_cog("Tags")
tags_get_command = self.bot.get_command("tags get")
- if not tags_cog and not tags_get_command:
+ if not tags_cog or not tags_get_command:
return
ctx.invoked_from_error_handler = True