From a976c7888423e657f946ac567695c7da23e9f9a7 Mon Sep 17 00:00:00 2001 From: shtlrs Date: Mon, 1 May 2023 14:38:18 +0100 Subject: revert renaming of Client to Bot --- bot/utils/checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot/utils/checks.py') 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 -- cgit v1.2.3