Fix broken code blocks in docstrings

This commit is contained in:
Puncher 2022-04-02 23:57:33 +02:00 committed by GitHub
parent 0dbebf87b2
commit 18050aecd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -780,7 +780,7 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable):
HTTPException HTTPException
The request to get the archived threads failed. The request to get the archived threads failed.
ValueError 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. threads that you have joined.
Yields Yields

View File

@ -1387,7 +1387,7 @@ class Client:
Bot accounts in more than 10 guilds are not allowed to create guilds. Bot accounts in more than 10 guilds are not allowed to create guilds.
.. versionchanged:: 2.0 .. 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 .. versionchanged:: 2.0
This function will now raise :exc:`ValueError` instead of This function will now raise :exc:`ValueError` instead of