mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-22 08:23:09 +00:00
[commands] Document guild permission checks
This commit is contained in:
@@ -124,12 +124,16 @@ Checks
|
|||||||
|
|
||||||
.. autofunction:: discord.ext.commands.has_permissions
|
.. autofunction:: discord.ext.commands.has_permissions
|
||||||
|
|
||||||
|
.. autofunction:: discord.ext.commands.has_guild_permissions
|
||||||
|
|
||||||
.. autofunction:: discord.ext.commands.has_any_role
|
.. autofunction:: discord.ext.commands.has_any_role
|
||||||
|
|
||||||
.. autofunction:: discord.ext.commands.bot_has_role
|
.. autofunction:: discord.ext.commands.bot_has_role
|
||||||
|
|
||||||
.. autofunction:: discord.ext.commands.bot_has_permissions
|
.. autofunction:: discord.ext.commands.bot_has_permissions
|
||||||
|
|
||||||
|
.. autofunction:: discord.ext.commands.bot_has_guild_permissions
|
||||||
|
|
||||||
.. autofunction:: discord.ext.commands.bot_has_any_role
|
.. autofunction:: discord.ext.commands.bot_has_any_role
|
||||||
|
|
||||||
.. autofunction:: discord.ext.commands.cooldown
|
.. autofunction:: discord.ext.commands.cooldown
|
||||||
|
Reference in New Issue
Block a user