From 18050aecd7c2718634a2dd4336e667a899da0859 Mon Sep 17 00:00:00 2001 From: Puncher <65789180+Puncher1@users.noreply.github.com> Date: Sat, 2 Apr 2022 23:57:33 +0200 Subject: [PATCH] Fix broken code blocks in docstrings --- discord/channel.py | 2 +- discord/client.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/discord/channel.py b/discord/channel.py index 86fb5d0e7..1502763c8 100644 --- a/discord/channel.py +++ b/discord/channel.py @@ -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 diff --git a/discord/client.py b/discord/client.py index 014939e7d..1b5d5ff36 100644 --- a/discord/client.py +++ b/discord/client.py @@ -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