Skip to content

Commit 190cafb

Browse files
pre-commit-ci[bot]peterdragun
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 8f2cff3 commit 190cafb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

utils/checks.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,7 @@ def is_helper_plus(
8282
"""Check if user has permission for command helper or above."""
8383
return cls.check_template(
8484
ctx,
85-
lambda ctx: (
86-
cls.is_bot_admin(ctx, raise_exception=False) or cls.role_check(ctx, PRIVILEGED_ROLES)
87-
),
85+
lambda ctx: cls.is_bot_admin(ctx, raise_exception=False) or cls.role_check(ctx, PRIVILEGED_ROLES),
8886
cls.is_helper_plus.__name__,
8987
raise_exception,
9088
PermissionError(Messages.helper_plus_only),

0 commit comments

Comments
 (0)