Skip to content

Commit

Permalink
Merge pull request Pycord-Development#824 from krittick/doc-fix
Browse files Browse the repository at this point in the history
Revert docs changes from Pycord-Development#822
  • Loading branch information
krittick authored Jan 21, 2022
2 parents 2de2c34 + 3de1e97 commit fe92268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discord/ext/commands/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1680,7 +1680,7 @@ def check(predicate: Check) -> Callable[[T], T]:
.. code-block:: python3
async def owner_or_permissions(**perms):
def owner_or_permissions(**perms):
original = commands.has_permissions(**perms).predicate
async def extended_check(ctx):
if ctx.guild is None:
Expand Down

0 comments on commit fe92268

Please sign in to comment.