aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/decorators.py11
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.