diff options
| author | Rapptz <[email protected]> | 2020-01-07 04:50:52 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-01-07 04:50:52 -0500 |
| commit | 92a3c1b5833eff19c8bfa3e18d39d9852b9efeb9 (patch) | |
| tree | 5dc7179b7bd5574510d7ae3fb62ac989220d83f6 /docs | |
| parent | Cache member.roles access to avoid surprising performance traps (diff) | |
| download | discord.py-92a3c1b5833eff19c8bfa3e18d39d9852b9efeb9.tar.xz discord.py-92a3c1b5833eff19c8bfa3e18d39d9852b9efeb9.zip | |
[commands] Document guild permission checks
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ext/commands/api.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ext/commands/api.rst b/docs/ext/commands/api.rst index 3672823a..00dee0ab 100644 --- a/docs/ext/commands/api.rst +++ b/docs/ext/commands/api.rst @@ -124,12 +124,16 @@ Checks .. autofunction:: discord.ext.commands.has_permissions +.. autofunction:: discord.ext.commands.has_guild_permissions + .. autofunction:: discord.ext.commands.has_any_role .. autofunction:: discord.ext.commands.bot_has_role .. 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.cooldown |