From dc8cbc073e92a5a325d60e460efc59ba7809312e Mon Sep 17 00:00:00 2001 From: Soheab Date: Thu, 28 Jul 2022 04:28:54 +0200 Subject: [PATCH] Fix small typo in Guild.edit docstring --- discord/guild.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/discord/guild.py b/discord/guild.py index cef709fb5..00366b904 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -1698,14 +1698,13 @@ class Guild(Hashable): Edits the guild. - You must have the :attr:`~Permissions.manage_guild` permission - to edit the guild. + You must have the :attr:`~Permissions.manage_guild` permission to edit the guild. .. versionchanged:: 1.4 - The `rules_channel` and `public_updates_channel` keyword-only parameters were added. + The ``rules_channel`` and ``public_updates_channel`` keyword parameters were added. .. versionchanged:: 2.0 - The `discovery_splash` and `community` keyword-only parameters were added. + The ``discovery_splash`` and `community` keyword parameters were added. .. versionchanged:: 2.0 The newly updated guild is returned. @@ -1721,7 +1720,7 @@ class Guild(Hashable): The ``preferred_locale`` keyword parameter now accepts an enum instead of :class:`str`. .. versionchanged:: 2.0 - The `premium_progress_bar_enabled` keyword-only parameter were added. + The ``premium_progress_bar_enabled`` keyword parameter was added. Parameters ----------