aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Amrou Bellalouna <[email protected]>2023-05-06 13:50:23 +0100
committerGravatar GitHub <[email protected]>2023-05-06 12:50:23 +0000
commita48dce53b42ec254335499d36c6fc988028af6c9 (patch)
tree40ef2b05704a33b3aa6c139dc96afe52ba596bff
parentMerge pull request #1260 from shtlrs/pedantic-configuration (diff)
use the new code jam variable (#1267)
-rw-r--r--bot/utils/checks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/utils/checks.py b/bot/utils/checks.py
index 857b6746..f21d2ddd 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_categories_name:
+ if category and category.name == constants.CODEJAM_CATEGORY_NAME:
log.trace(f"{ctx.author} may use the `{ctx.command.name}` command as they are in a codejam team channel.")
return True