diff options
| author | 2019-01-13 01:00:32 +0100 | |
|---|---|---|
| committer | 2019-01-13 01:00:32 +0100 | |
| commit | ef622b6505f01b6305a766c6a1903799c4e95ba7 (patch) | |
| tree | f015dae801177914fb05ae3d41d418eb0806fa1b | |
| parent | Merge branch 'master' into user_command_improvements (diff) | |
fixing a bad conflict resolution
| -rw-r--r-- | bot/decorators.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/bot/decorators.py b/bot/decorators.py index 80311243d..5b4a0cbac 100644 --- a/bot/decorators.py +++ b/bot/decorators.py @@ -69,17 +69,6 @@ def without_role(*role_ids: int): return commands.check(predicate) -def in_channel(channel_id): - """ - Checks if the command was executed - inside of the specified channel. - """ - - async def predicate(ctx: Context): - return in_channel_check(ctx, channel_id) - return commands.check(predicate) - - def locked(): """ Allows the user to only run one instance of the decorated command at a time. |