diff options
author | 2023-05-01 14:38:18 +0100 | |
---|---|---|
committer | 2023-05-06 13:20:47 +0100 | |
commit | a976c7888423e657f946ac567695c7da23e9f9a7 (patch) | |
tree | 764fcaf5a3891378578efc5a70de894a160ccedc /bot/utils/checks.py | |
parent | Revert "redeem lost bot references" (diff) |
revert renaming of Client to Bot
Diffstat (limited to 'bot/utils/checks.py')
-rw-r--r-- | bot/utils/checks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/utils/checks.py b/bot/utils/checks.py index f21d2ddd..857b6746 100644 --- a/bot/utils/checks.py +++ b/bot/utils/checks.py @@ -74,7 +74,7 @@ def in_whitelist_check( return True category = getattr(ctx_channel, "category", None) - if category and category.name == constants.CODEJAM_CATEGORY_NAME: + if category and category.name == constants.codejam_categories_name: log.trace(f"{ctx.author} may use the `{ctx.command.name}` command as they are in a codejam team channel.") return True |