Browse Source

fix method reference in documentation

pull/6272/head
Sebastian Law 4 years ago
committed by GitHub
parent
commit
16195a7d2f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/ext/commands/commands.rst

2
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 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. 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: For example, to block all DMs we could do the following:

Loading…
Cancel
Save