Skip to content

Commit 204f941

Browse files
committed
Display permissions v2 decorators in the documentation
1 parent ab64a2e commit 204f941

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/interactions/api.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,12 @@ Decorators
482482
.. autofunction:: discord.app_commands.guilds
483483
:decorator:
484484

485+
.. autofunction:: discord.app_commands.guild_only
486+
:decorator:
487+
488+
.. autofunction:: discord.app_commands.default_permissions
489+
:decorator:
490+
485491
Checks
486492
~~~~~~~
487493

0 commit comments

Comments
 (0)