Skip to content

Commit dd39751

Browse files
committed
fix(docs): fixed some cross references
1 parent 151685a commit dd39751

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

discord/client.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1378,8 +1378,8 @@ def slash_command(self,
13781378
13791379
.. note::
13801380
1381-
:attr:`sync_commands` of the :class:`Client`-instance or the class, that inherits from it
1382-
must be set to ``True`` to register a command if he not already exists and update him if changes where made.
1381+
:attr:`~discord.Client.sync_commands` of the :class:`Client` instance must be set to :obj:`True`
1382+
to register a command if he not already exists and update him if changes where made.
13831383
13841384
Parameters
13851385
-----------
@@ -1628,8 +1628,8 @@ def message_command(self,
16281628
16291629
.. note::
16301630
1631-
:attr:`sync_commands` of the :class:`Client`-instance or the class, that inherits from it
1632-
must be set to ``True`` to register a command if he not already exists and update him if changes where made.
1631+
:attr:`~discord.Client.sync_commands` of the :class:`Client` instance must be set to :obj:`True`
1632+
to register a command if he not already exists and update him if changes where made.
16331633
16341634
Parameters
16351635
----------
@@ -1693,8 +1693,8 @@ def user_command(self,
16931693
16941694
.. note::
16951695
1696-
:attr:`sync_commands` of the :class:`Client`-instance or the class, that inherits from it
1697-
must be set to ``True`` to register a command if he not already exists and update him if changes where made.
1696+
:attr:`~discord.Client.sync_commands` of the :class:`Client` instance must be set to :obj:`True`
1697+
to register a command if he not already exists and update him if changes where made.
16981698
16991699
Parameters
17001700
----------

discord/ext/commands/cog.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -557,8 +557,8 @@ def slash_command(cls,
557557
558558
.. note::
559559
560-
:attr:`sync_commands` of the :class:`Client`-instance or the class, that inherits from it
561-
must be set to ``True`` to register a command if he not already exists and update him if changes where made.
560+
:attr:`~Bot.sync_commands` of the :class:`~discord.ext.commands.Bot` instance must be set to :obj:`True`
561+
to register a command if he not already exists and update him if changes where made.
562562
563563
Parameters
564564
-----------
@@ -822,8 +822,8 @@ def message_command(cls,
822822
823823
.. note::
824824
825-
:attr:`sync_commands` of the :class:`Client`-instance or the class, that inherits from it
826-
must be set to ``True`` to register a command if he not already exists and update him if changes where made.
825+
:attr:`~<Bot.sync_commands` of the :class:`~discord.ext.commands.Bot` instance must be set to :obj:`True`
826+
to register a command if he not already exists and update him if changes where made.
827827
828828
Parameters
829829
----------
@@ -893,8 +893,8 @@ def user_command(cls,
893893
894894
.. note::
895895
896-
:attr:`sync_commands` of the :class:`Client`-instance or the class, that inherits from it
897-
must be set to ``True`` to register a command if he not already exists and update him if changes where made.
896+
:attr:`~Bot.sync_commands` of the :class:`~discord.ext.commands.Bot` instance must be set to :obj:`True`
897+
to register a command if he not already exists and update him if changes where made.
898898
899899
Parameters
900900
----------

0 commit comments

Comments
 (0)