aboutsummaryrefslogtreecommitdiffstats
path: root/bot/cogs/alias.py
diff options
context:
space:
mode:
authorGravatar Shirayuki Nekomata <[email protected]>2020-04-02 09:22:25 +0700
committerGravatar GitHub <[email protected]>2020-04-02 09:22:25 +0700
commit2ca030b42f1d2d222ab966efbb5110b4b315a4db (patch)
treeeef9f3366b93cf8e014f0c56c9e21b2bb4a6652f /bot/cogs/alias.py
parentClarify docstring for token check function (diff)
parentAdd TCD to whitelist (diff)
Merge branch 'master' into fix-token-strip-log
Diffstat (limited to '')
-rw-r--r--bot/cogs/alias.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bot/cogs/alias.py b/bot/cogs/alias.py
index 0b800575f..55c7efe65 100644
--- a/bot/cogs/alias.py
+++ b/bot/cogs/alias.py
@@ -26,10 +26,10 @@ 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(
- f'{str(ctx.author)} tried to run the command "{cmd_name}"'
+ return log.info(
+ f'{str(ctx.author)} tried to run the command "{cmd_name}" but lacks permission.'
)
await ctx.invoke(cmd, *args, **kwargs)