Skip to content

Commit

Permalink
fix method reference in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
SebbyLaw committed Jan 6, 2021
1 parent 3a75816 commit 16195a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ext/commands/commands.rst
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ Global Checks
Sometimes we want to apply a check to **every** command, not just certain commands. The library supports this as well
using the global check concept.

Global checks work similarly to regular checks except they are registered with the :func:`.Bot.check` decorator.
Global checks work similarly to regular checks except they are registered with the :meth:`.Bot.check` decorator.

For example, to block all DMs we could do the following:

Expand Down

0 comments on commit 16195a7

Please sign in to comment.