aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar F4zii <[email protected]>2020-02-19 21:20:39 +0200
committerGravatar F4zii <[email protected]>2020-02-19 21:20:39 +0200
commit21a3486b21e4f28bdfad24d7ebfa7e88b24a3140 (patch)
treee4acedabbe516e768e39c3a9e2197aad86ebbbd3
parentSuggest aliases when invoked instead of full command name (diff)
Removal of unused logs
-rw-r--r--bot/cogs/error_handler.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/bot/cogs/error_handler.py b/bot/cogs/error_handler.py
index fb5f59ebc..ba27d8e65 100644
--- a/bot/cogs/error_handler.py
+++ b/bot/cogs/error_handler.py
@@ -88,16 +88,13 @@ class ErrorHandler(Cog):
return
# Return to not raise the exception
- log.debug("Calling...")
tags_cog = self.bot.get_cog("Tags")
sent = await tags_cog._get_command(ctx, command_name)
# sent = await tags_get_command.callback(tags_get_command.cog, ctx, ctx.invoked_with)
if sent:
- log.debug("Found")
return
# No similar tag found, or tag on cooldown -
# searching for a similar command
- log.debug("Not Found")
raw_commands = [
(cmd.name, *cmd.aliases)
for cmd in self.bot.walk_commands()