Browse Source
fix method reference in documentation
pull/6272/head
Sebastian Law
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
docs/ext/commands/commands.rst
|
|
@ -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: |
|
|
|
|
|
|
|