Skip to content

Commit 39a107a

Browse files
Document application_id parameter
1 parent d5cba04 commit 39a107a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

discord_slash/client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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`

0 commit comments

Comments
 (0)