First pass at supporting user apps

Co-authored-by: red <red@kalab.sk>
Co-authored-by: Vioshim <63890837+Vioshim@users.noreply.github.com>
This commit is contained in:
Danny
2024-05-04 23:25:01 -04:00
committed by GitHub
parent 2892401992
commit 2e2f51fd5c
19 changed files with 920 additions and 52 deletions

View File

@ -129,6 +129,22 @@ AppCommandPermissions
.. autoclass:: discord.app_commands.AppCommandPermissions()
:members:
AppCommandContext
~~~~~~~~~~~~~~~~~
.. attributetable:: discord.app_commands.AppCommandContext
.. autoclass:: discord.app_commands.AppCommandContext
:members:
AppInstallationType
~~~~~~~~~~~~~~~~~~~~
.. attributetable:: discord.app_commands.AppInstallationType
.. autoclass:: discord.app_commands.AppInstallationType
:members:
GuildAppCommandPermissions
~~~~~~~~~~~~~~~~~~~~~~~~~~~
@ -642,6 +658,24 @@ Decorators
.. autofunction:: discord.app_commands.guild_only
:decorator:
.. autofunction:: discord.app_commands.dm_only
:decorator:
.. autofunction:: discord.app_commands.private_channel_only
:decorator:
.. autofunction:: discord.app_commands.allowed_contexts
:decorator:
.. autofunction:: discord.app_commands.user_install
:decorator:
.. autofunction:: discord.app_commands.guild_install
:decorator:
.. autofunction:: discord.app_commands.allowed_installs
:decorator:
.. autofunction:: discord.app_commands.default_permissions
:decorator: