1
0
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:
Sebastian Law 2021-01-05 20:53:17 -08:00 committed by GitHub
parent 3a75816ba1
commit 16195a7d2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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: