mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-11 08:19:54 +00:00
fix method reference in documentation
This commit is contained in:
parent
3a75816ba1
commit
16195a7d2f
@ -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:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user