mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 12:18:59 +00:00
Fix broken code blocks in docstrings
This commit is contained in:
parent
0dbebf87b2
commit
18050aecd7
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user