File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -327,6 +327,10 @@ def add_slash_command(self,
327327 """
328328 Registers slash command to SlashCommand.
329329
330+ .. warning::
331+ Just using this won't register slash command to Discord API.
332+ To register it, check :meth:`.utils.manage_commands.add_slash_command` or simply enable `sync_commands`.
333+
330334 :param cmd: Command Coroutine.
331335 :type cmd: Coroutine
332336 :param name: Name of the slash command. Default name of the coroutine.
Original file line number Diff line number Diff line change @@ -196,6 +196,9 @@ def send_hidden(self, content: str = ""):
196196 Sends hidden response.\n
197197 This is automatically used if you pass ``hidden=True`` at :meth:`.send`.
198198
199+ .. note::
200+ This is not intended to be manually called. Please use :meth:`.send` instead.
201+
199202 :param content: Message content.
200203 :return: Coroutine
201204 """
You can’t perform that action at this time.
0 commit comments