aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2020-03-26 09:22:36 +0100
committerGravatar GitHub <[email protected]>2020-03-26 09:22:36 +0100
commitee7cfbfca1b23408d7cb3f603498347fcef00c86 (patch)
tree7d9b6d57bc2cde08e59e9fbc6237713479546fcb
parentMerge pull request #840 from ks129/zen-tag-remove (diff)
Change Alias warnings to info
Stuff like "{name} tried to run {command}" and "{command} could not be found" was set as a warning, and so Sentry issues were being created for these. Our rule of thumb is that only actionable things should be warnings. Changed these to Info logs.
-rw-r--r--bot/cogs/alias.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/alias.py b/bot/cogs/alias.py
index 0b800575f..9001e18f0 100644
--- a/bot/cogs/alias.py
+++ b/bot/cogs/alias.py
@@ -26,9 +26,9 @@ class Alias (Cog):
log.debug(f"{cmd_name} was invoked through an alias")
cmd = self.bot.get_command(cmd_name)
if not cmd:
- return log.warning(f'Did not find command "{cmd_name}" to invoke.')
+ return log.info(f'Did not find command "{cmd_name}" to invoke.')
elif not await cmd.can_run(ctx):
- return log.warning(
+ return log.info(
f'{str(ctx.author)} tried to run the command "{cmd_name}"'
)