aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimbreath <[email protected]>2019-09-07 23:42:24 -0300
committerRapptz <[email protected]>2019-09-10 21:10:59 -0400
commitb4358d0dcf46f426717a84090f4ec158dd243faf (patch)
tree64ed17e00c7ae18059729b7b7e38eec2984098a4
parent[commands] default Bot.owner_ids to a set (diff)
downloaddiscord.py-b4358d0dcf46f426717a84090f4ec158dd243faf.tar.xz
discord.py-b4358d0dcf46f426717a84090f4ec158dd243faf.zip
[docs] You can upload gifs using guild.edit()
Only if it has ANIMATED_ICON feature.
-rw-r--r--discord/guild.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/discord/guild.py b/discord/guild.py
index 6db23a86..4096bab0 100644
--- a/discord/guild.py
+++ b/discord/guild.py
@@ -1012,7 +1012,8 @@ class Guild(Hashable):
The new description of the guild. This is only available to guilds that
contain `VERIFIED` in :attr:`Guild.features`.
icon: :class:`bytes`
- A :term:`py:bytes-like object` representing the icon. Only PNG/JPEG supported.
+ A :term:`py:bytes-like object` representing the icon. Only PNG/JPEG supported
+ and GIF for guilds with ``ANIMATED_ICON`` feature.
Could be ``None`` to denote removal of the icon.
banner: :class:`bytes`
A :term:`py:bytes-like object` representing the banner.