Skip to content

Commit 4dd43a2

Browse files
committed
Added another docstring
1 parent 64cc2a5 commit 4dd43a2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

discord_slash/client.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ class SlashCommand:
2727
:param override_type: Whether to override checking type of the client and try register event.
2828
:type override_type: bool
2929
30+
.. note::
31+
If ``sync_on_cog_reload`` is enabled, command syncing will be triggered when :meth:`discord.ext.commands.Bot.reload_extension`
32+
is triggered.
33+
3034
:ivar _discord: Discord client of this client.
3135
:ivar commands: Dictionary of the registered commands via :func:`.slash` decorator.
3236
:ivar req: :class:`.http.SlashCommandRequest` of this client.

0 commit comments

Comments
 (0)