Skip to content

Commit 414b23d

Browse files
Merge main into 479-auto-slow-mode
2 parents 0e9daba + 518e295 commit 414b23d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/command_checks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ async def _check(ctx: "TeXBotApplicationContext") -> bool:
6868
@classmethod
6969
def is_interaction_user_in_main_guild_failure(cls, check: "CheckFailure") -> bool:
7070
"""Whether the check failed due to the user not being in your Discord guild."""
71-
return bool(check.__name__ == cls._check_interaction_user_in_main_guild.__name__) # type: ignore[attr-defined]
71+
return bool(check.__name__ == cls.check_interaction_user_in_main_guild.__name__) # type: ignore[attr-defined]
7272

7373
@classmethod
7474
def is_interaction_user_has_committee_role_failure(cls, check: "CheckFailure") -> bool:
7575
"""Whether the check failed due to the user not having the committee role."""
76-
return bool(check.__name__ == cls._check_interaction_user_has_committee_role.__name__) # type: ignore[attr-defined]
76+
return bool(check.__name__ == cls.check_interaction_user_has_committee_role.__name__) # type: ignore[attr-defined]

0 commit comments

Comments
 (0)