File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ class SlashCommand:
2626 :type sync_on_cog_reload: bool
2727 :param override_type: Whether to override checking type of the client and try register event.
2828 :type override_type: bool
29+ :param application_id: The application id of the bot, required only when the application id and bot id are different. (old bots)
30+ :type application_id: int
2931
3032 .. note::
3133 If ``sync_on_cog_reload`` is enabled, command syncing will be triggered when :meth:`discord.ext.commands.Bot.reload_extension`
Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ class CommandData:
7272 :ivar description: Description of the command.
7373 :ivar options: List of :class:`OptionData`.
7474 :ivar id: Command id, this is received from discord so may not be present
75+ :ivar application_id: The application id of the bot, required only when the application id and bot id are different. (old bots)
7576 """
7677
7778 def __init__ (
You can’t perform that action at this time.
0 commit comments