Skip to content

Commit

Permalink
Update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
tandemdude committed Jun 5, 2021
1 parent b755132 commit 44f5862
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lightbulb/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,9 +569,9 @@ def decorate(command: T_inv) -> T_inv:

def check_exempt(predicate):
"""
A decorator which allows checks to be bypassed if the ``predicate`` conditions are met. Predicate can
be a coroutine or a normal function but must take a single argument - ``context`` - and must return a
boolean - ``True`` if checks should be bypassed or ``False`` if not.
A decorator which allows **all** checks to be bypassed if the ``predicate`` conditions are met.
Predicate can be a coroutine or a normal function but must take a single
argument - ``context`` - and must return a boolean - ``True`` if checks should be bypassed or ``False`` if not.
Args:
predicate: The callable which determines if command checks should be bypassed or not.
Expand Down

0 comments on commit 44f5862

Please sign in to comment.