@@ -283,6 +283,7 @@ async def sync_commands(self, delete_unused=False):
283283 ----------
284284 delete_unused: :class:`bool`, optional
285285 Whether the unused command should be deleted from the api; default ``False``
286+
286287 Raises
287288 ------
288289 :raises: :class:`InvalidArgument` : A slash command has an invalid guild_id
@@ -442,6 +443,7 @@ async def create_command(self, command):
442443 ----------
443444 command: :class:`SlashCommand` | :class:`ContextCommand`
444445 The command that should be added
446+
445447 Raises
446448 ------
447449 :raises: :class:`InvalidArgument` : When a guild-id in ``guild_ids`` is not a valid server where the bot client is in it
@@ -577,6 +579,7 @@ async def edit_command(self, old_name, typ: Literal["slash", 1, "user", 2, "mess
577579 The new guild permissions for the command
578580 callback: :class:`function`, optional, optional
579581 The new command callback; default ``MISSING``
582+
580583 Raises
581584 ------
582585 :raises: :class:`NotFound` : When a command in the internal cache doesn't exsist
@@ -710,6 +713,7 @@ def add_command(self, name, callback=None, description=MISSING, options=[], guil
710713
711714 name: :class:`str`
712715 1-32 characters long name
716+
713717 .. note::
714718
715719 The name will be corrected automaticaly (spaces will be replaced with "-" and the name will be lowercased)
@@ -749,6 +753,7 @@ def command(self, name=MISSING, description=MISSING, options=[], guild_ids=MISSI
749753 ----------
750754 name: :class:`str`, optional
751755 1-32 characters long name; default MISSING
756+
752757 .. note::
753758
754759 The name will be corrected automaticaly (spaces will be replaced with "-" and the name will be lowercased)
@@ -829,6 +834,7 @@ def subcommand(self, base_names, name=MISSING, description=MISSING, options=[],
829834 If you want to make a subcommand (``/base name``), you have to use a str instead of a list
830835 name: :class:`str`, optional
831836 1-32 characters long name; default MISSING
837+
832838 .. note::
833839
834840 The name will be corrected automaticaly (spaces will be replaced with "-" and the name will be lowercased)
@@ -990,6 +996,7 @@ def message_command(self, name=MISSING, guild_ids=MISSING, default_permission=Tr
990996 The used slash command
991997 message: :class:`~Message`
992998 The message on which the command was used
999+
9931000 .. note::
9941001
9951002 ``ctx`` and ``message`` are just example names, you can use whatever you want for that
@@ -1255,6 +1262,7 @@ def send_webhook(self, webhook, content=MISSING, *, wait=False, username=MISSING
12551262 allowed mentions for the message; default None
12561263 components: List[:class:`~Button` | :class:`~LinkButton` | :class:`~SelectMenu`], optional
12571264 the message components to include with the message; default None
1265+
12581266 Returns
12591267 -------
12601268 :returns: The message sent, if wait was True, else nothing will be returned
0 commit comments