aboutsummaryrefslogtreecommitdiffstats
path: root/bot/utils/checks.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot/utils/checks.py')
-rw-r--r--bot/utils/checks.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/utils/checks.py b/bot/utils/checks.py
index 9dd4dde0..3783dd38 100644
--- a/bot/utils/checks.py
+++ b/bot/utils/checks.py
@@ -154,8 +154,8 @@ def cooldown_with_role_bypass(rate: int, per: float, type: BucketType = BucketTy
#
# If the `before_invoke` detail is ever a problem then I can quickly just swap over.
if not isinstance(command, Command):
- raise TypeError('Decorator `cooldown_with_role_bypass` must be applied after the command decorator. '
- 'This means it has to be above the command decorator in the code.')
+ raise TypeError("Decorator `cooldown_with_role_bypass` must be applied after the command decorator. "
+ "This means it has to be above the command decorator in the code.")
command._before_invoke = predicate