diff options
| author | 2020-04-02 09:22:25 +0700 | |
|---|---|---|
| committer | 2020-04-02 09:22:25 +0700 | |
| commit | 2ca030b42f1d2d222ab966efbb5110b4b315a4db (patch) | |
| tree | eef9f3366b93cf8e014f0c56c9e21b2bb4a6652f /bot/cogs/alias.py | |
| parent | Clarify docstring for token check function (diff) | |
| parent | Add TCD to whitelist (diff) | |
Merge branch 'master' into fix-token-strip-log
Diffstat (limited to '')
| -rw-r--r-- | bot/cogs/alias.py | 6 |
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) |