mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-04 08:56:19 +00:00
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:
@ -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:
|
||||
|
||||
|
Reference in New Issue
Block a user