From 2f97678a79652e7d00118e6843feda3885795675 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sat, 8 Jul 2017 00:27:11 -0400 Subject: First pass at commands narrative documentation. --- discord/ext/commands/bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'discord/ext') 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 -- cgit v1.2.3