aboutsummaryrefslogtreecommitdiff
path: root/discord/ext
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-07-08 00:27:11 -0400
committerRapptz <[email protected]>2017-07-08 00:28:23 -0400
commit2f97678a79652e7d00118e6843feda3885795675 (patch)
tree1f983214568aad5c605c44d203d9dedee5b05445 /discord/ext
parentFixed broken code (diff)
downloaddiscord.py-2f97678a79652e7d00118e6843feda3885795675.tar.xz
discord.py-2f97678a79652e7d00118e6843feda3885795675.zip
First pass at commands narrative documentation.
Diffstat (limited to 'discord/ext')
-rw-r--r--discord/ext/commands/bot.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/ext/commands/bot.py b/discord/ext/commands/bot.py
index 34ab30e2..893719a1 100644
--- a/discord/ext/commands/bot.py
+++ b/discord/ext/commands/bot.py
@@ -276,7 +276,7 @@ class BotBase(GroupMixin):
The function that was used as a global check.
call_once: bool
If the function should only be called once per
- :meth:`.invoke` call.
+ :meth:`.Command.invoke` call.
"""
if call_once:
@@ -308,7 +308,7 @@ class BotBase(GroupMixin):
"""A decorator that adds a "call once" global check to the bot.
Unlike regular global checks, this one is called only once
- per :meth:`.invoke` call.
+ per :meth:`.Command.invoke` call.
Regular global checks are called whenever a command is called
or :meth:`.Command.can_run` is called. This type of check