mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-22 00:13:01 +00:00
Fix various reference issues in documentation
Co-Authored-By: Riley Shaw <30989490+ShineyDev@users.noreply.github.com>
This commit is contained in:
@@ -143,7 +143,7 @@ class Guild(Hashable):
|
||||
- ``COMMERCE``: Guild can sell things using store channels.
|
||||
- ``PUBLIC``: Guild is a public guild.
|
||||
- ``NEWS``: Guild can create news channels.
|
||||
- ``BANNER``: Guild can upload and use a banner (i.e. :meth:`banner_url`).
|
||||
- ``BANNER``: Guild can upload and use a banner. (i.e. :attr:`.banner`)
|
||||
- ``ANIMATED_ICON``: Guild can upload an animated icon.
|
||||
- ``PUBLIC_DISABLED``: Guild cannot be public.
|
||||
- ``WELCOME_SCREEN_ENABLED``: Guild has enabled the welcome screen
|
||||
@@ -1042,7 +1042,7 @@ class Guild(Hashable):
|
||||
The new name of the guild.
|
||||
description: Optional[:class:`str`]
|
||||
The new description of the guild. Could be ``None`` for no description.
|
||||
This is only available to guilds that contain ``PUBLIC`` in :attr:`Guild.features`.
|
||||
This is only available to guilds that contain ``PUBLIC`` in :attr:`Guild.features`.
|
||||
icon: :class:`bytes`
|
||||
A :term:`py:bytes-like object` representing the icon. Only PNG/JPEG is supported.
|
||||
GIF is only available to guilds that contain ``ANIMATED_ICON`` in :attr:`Guild.features`.
|
||||
|
Reference in New Issue
Block a user