Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions discord_slash/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ class SlashCommand:
:type sync_on_cog_reload: bool
:param override_type: Whether to override checking type of the client and try register event.
:type override_type: bool
:param application_id: The application id of the bot, required only when the application id and bot id are different. (old bots)
:type application_id: int

.. note::
If ``sync_on_cog_reload`` is enabled, command syncing will be triggered when :meth:`discord.ext.commands.Bot.reload_extension`
Expand Down
1 change: 1 addition & 0 deletions discord_slash/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ class CommandData:
:ivar description: Description of the command.
:ivar options: List of :class:`OptionData`.
:ivar id: Command id, this is received from discord so may not be present
:ivar application_id: The application id of the bot, required only when the application id and bot id are different. (old bots)
"""

def __init__(
Expand Down