From 2f84d05f0bdf933eca966dc1f07bb667c4b955ad Mon Sep 17 00:00:00 2001 From: MusicOnline <39178127+MusicOnline@users.noreply.github.com> Date: Tue, 2 Oct 2018 21:09:07 +0800 Subject: [PATCH] Correct Guild.create_custom_emoji documentation --- discord/guild.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discord/guild.py b/discord/guild.py index f1c5405e2..f064b27fe 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -1000,7 +1000,7 @@ class Guild(Hashable): Creates a custom :class:`Emoji` for the guild. - There is currently a limit of 50 local emotes per guild. + There is currently a limit of 50 static and animated emojis respectively per guild. You must have the :attr:`~Permissions.manage_emojis` permission to do this. @@ -1011,7 +1011,7 @@ class Guild(Hashable): The emoji name. Must be at least 2 characters. image: bytes The :term:`py:bytes-like object` representing the image data to use. - Only JPG and PNG images are supported. + Only JPG, PNG and GIF images are supported. roles: Optional[list[:class:`Role`]] A :class:`list` of :class:`Role`\s that can use this emoji. Leave empty to make it available to everyone. reason: Optional[str]