diff options
| author | 2021-05-05 09:57:19 -0400 | |
|---|---|---|
| committer | 2021-05-05 09:57:19 -0400 | |
| commit | 91cd758cec2ba5ffa7c6add55ec03aa9b382dd2a (patch) | |
| tree | 8539c4c9a9e391675654f917d11ea8674ba1085b | |
| parent | chore: Don't send a message when redirecting eval output which would ping use... (diff) | |
| parent | fix: Add a missing return statement (diff) | |
Merge branch 'eval-redirect-output' of https://github.com/ToxicKidz/bot into eval-redirect-output
Diffstat (limited to '')
| -rw-r--r-- | bot/decorators.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bot/decorators.py b/bot/decorators.py index e4e640748..f65ec4103 100644 --- a/bot/decorators.py +++ b/bot/decorators.py @@ -144,6 +144,7 @@ def redirect_output( elif categories and ctx.channel.category.id not in categories: log.trace(f"{ctx.author} used {ctx.command} in a category that can bypass output redirection") await func(self, ctx, *args, **kwargs) + return redirect_channel = ctx.guild.get_channel(destination_channel) old_channel = ctx.channel |