@@ -85,7 +85,7 @@ def application_command_factory(data: ApplicationCommandPayload) -> APIApplicati
8585
8686def _validate_name (name : str ) -> None :
8787 # used for slash command names and option names
88- # see https://discord.com/developers/docs /interactions/application-commands#application-command-object-application-command-naming
88+ # see https://docs. discord.com/developers/interactions/application-commands#application-command-object-application-command-naming
8989
9090 if not isinstance (name , str ):
9191 msg = f"Slash command name and option names must be an instance of class 'str', received '{ name .__class__ } '"
@@ -498,7 +498,7 @@ class ApplicationCommand(ABC): # noqa: B024 # this will get refactored eventua
498498 .. versionadded:: 2.5
499499
500500 nsfw: :class:`bool`
501- Whether this command is :ddocs:`age-restricted <interactions/application-commands#agerestricted -commands>`.
501+ Whether this command is :ddocs:`age-restricted <interactions/application-commands#age-restricted -commands>`.
502502 Defaults to ``False``.
503503
504504 .. versionadded:: 2.8
@@ -771,7 +771,7 @@ class UserCommand(ApplicationCommand):
771771 .. versionadded:: 2.5
772772
773773 nsfw: :class:`bool`
774- Whether this command is :ddocs:`age-restricted <interactions/application-commands#agerestricted -commands>`.
774+ Whether this command is :ddocs:`age-restricted <interactions/application-commands#age-restricted -commands>`.
775775 Defaults to ``False``.
776776
777777 .. versionadded:: 2.8
@@ -829,7 +829,7 @@ class APIUserCommand(UserCommand, _APIApplicationCommandMixin):
829829 .. versionadded:: 2.5
830830
831831 nsfw: :class:`bool`
832- Whether this command is :ddocs:`age-restricted <interactions/application-commands#agerestricted -commands>`.
832+ Whether this command is :ddocs:`age-restricted <interactions/application-commands#age-restricted -commands>`.
833833
834834 .. versionadded:: 2.8
835835
@@ -900,7 +900,7 @@ class MessageCommand(ApplicationCommand):
900900 .. versionadded:: 2.5
901901
902902 nsfw: :class:`bool`
903- Whether this command is :ddocs:`age-restricted <interactions/application-commands#agerestricted -commands>`.
903+ Whether this command is :ddocs:`age-restricted <interactions/application-commands#age-restricted -commands>`.
904904 Defaults to ``False``.
905905
906906 .. versionadded:: 2.8
@@ -958,7 +958,7 @@ class APIMessageCommand(MessageCommand, _APIApplicationCommandMixin):
958958 .. versionadded:: 2.5
959959
960960 nsfw: :class:`bool`
961- Whether this command is :ddocs:`age-restricted <interactions/application-commands#agerestricted -commands>`.
961+ Whether this command is :ddocs:`age-restricted <interactions/application-commands#age-restricted -commands>`.
962962
963963 .. versionadded:: 2.8
964964
@@ -1036,7 +1036,7 @@ class SlashCommand(ApplicationCommand):
10361036 .. versionadded:: 2.5
10371037
10381038 nsfw: :class:`bool`
1039- Whether this command is :ddocs:`age-restricted <interactions/application-commands#agerestricted -commands>`.
1039+ Whether this command is :ddocs:`age-restricted <interactions/application-commands#age-restricted -commands>`.
10401040 Defaults to ``False``.
10411041
10421042 .. versionadded:: 2.8
@@ -1177,7 +1177,7 @@ class APISlashCommand(SlashCommand, _APIApplicationCommandMixin):
11771177 .. versionadded:: 2.5
11781178
11791179 nsfw: :class:`bool`
1180- Whether this command is :ddocs:`age-restricted <interactions/application-commands#agerestricted -commands>`.
1180+ Whether this command is :ddocs:`age-restricted <interactions/application-commands#age-restricted -commands>`.
11811181
11821182 .. versionadded:: 2.8
11831183
0 commit comments