diff options
| author | Sebastian Law <[email protected]> | 2021-01-05 20:53:17 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-01-05 23:53:17 -0500 |
| commit | 16195a7d2f73e209a7eb4b4d4c72ca6fe08a1416 (patch) | |
| tree | e76bf027e49f6e8ce53ed1502201b27fe84fb9ee /docs | |
| parent | Support setting the preferred locale via Guild.edit (diff) | |
| download | discord.py-16195a7d2f73e209a7eb4b4d4c72ca6fe08a1416.tar.xz discord.py-16195a7d2f73e209a7eb4b4d4c72ca6fe08a1416.zip | |
fix method reference in documentation
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ext/commands/commands.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ext/commands/commands.rst b/docs/ext/commands/commands.rst index 523de3e3..c2396f38 100644 --- a/docs/ext/commands/commands.rst +++ b/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: |