Browse Source
Fix small typo in Guild.edit docstring
pull/8279/head
Soheab
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
5 deletions
-
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 |
|
|
|
---------- |
|
|
|