From 9a8f3480a1f2373b153bac61463f120199949d44 Mon Sep 17 00:00:00 2001 From: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Tue, 27 Oct 2020 12:27:15 +0100 Subject: [PATCH] Update check docs to use checks from commands package --- docs/framework_checks.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/framework_checks.rst b/docs/framework_checks.rst index 13ecc6e05..e48551ad6 100644 --- a/docs/framework_checks.rst +++ b/docs/framework_checks.rst @@ -7,5 +7,5 @@ Command Check Decorators The following are all decorators for commands, which add restrictions to where and when they can be run. -.. automodule:: redbot.core.checks - :members: +.. automodule:: redbot.core.commands + :members: permissions_check, bot_has_permissions, bot_in_a_guild, has_permissions, has_guild_permissions, is_owner, guildowner, guildowner_or_permissions, admin, admin_or_permissions, mod, mod_or_permissions