Fix broken code blocks in docstrings

This commit is contained in:
Puncher
2022-04-02 17:57:33 -04:00
committed by GitHub
parent 0dbebf87b2
commit 18050aecd7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -780,7 +780,7 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable):
HTTPException
The request to get the archived threads failed.
ValueError
`joined`` was set to ``True`` and ``private`` was set to ``False``. You cannot retrieve public archived
``joined`` was set to ``True`` and ``private`` was set to ``False``. You cannot retrieve public archived
threads that you have joined.
Yields
+1 -1
View File
@@ -1387,7 +1387,7 @@ class Client:
Bot accounts in more than 10 guilds are not allowed to create guilds.
.. versionchanged:: 2.0
``name`` and ``icon`` parameters are now keyword-only. The `region`` parameter has been removed.
``name`` and ``icon`` parameters are now keyword-only. The ``region`` parameter has been removed.
.. versionchanged:: 2.0
This function will now raise :exc:`ValueError` instead of