diff options
| author | 2023-05-06 13:50:23 +0100 | |
|---|---|---|
| committer | 2023-05-06 12:50:23 +0000 | |
| commit | a48dce53b42ec254335499d36c6fc988028af6c9 (patch) | |
| tree | 40ef2b05704a33b3aa6c139dc96afe52ba596bff | |
| parent | Merge pull request #1260 from shtlrs/pedantic-configuration (diff) | |
use the new code jam variable (#1267)
| -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 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 | 
