Skip to content

Commit

Permalink
Actually use multiple checks in the examples for checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rapptz committed May 2, 2019
1 parent abb9c06 commit 446b792
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/ext/commands/commands.rst
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,7 @@ When multiple checks are specified, **all** of them must be ``True``:
return commands.check(predicate)
@bot.command()
@commands.is_owner()
@is_in_guild(41771983423143937)
async def secretguilddata(ctx):
"""super secret stuff"""
Expand All @@ -667,6 +668,7 @@ raise a custom :exc:`~ext.commands.CommandError` derived exception, then it will
.. code-block:: python3
@bot.command()
@commands.is_owner()
@is_in_guild(41771983423143937)
async def secretguilddata(ctx):
"""super secret stuff"""
Expand Down

0 comments on commit 446b792

Please sign in to comment.