diff options
| author | MusicOnline <[email protected]> | 2018-10-02 21:09:07 +0800 |
|---|---|---|
| committer | MusicOnline <[email protected]> | 2018-10-02 21:09:07 +0800 |
| commit | 2f84d05f0bdf933eca966dc1f07bb667c4b955ad (patch) | |
| tree | e8588e3693d1a18e6fccca357809d2a3e17b2b32 | |
| parent | Add support for AuditLogDiff.slowmode_delay. (diff) | |
| download | discord.py-2f84d05f0bdf933eca966dc1f07bb667c4b955ad.tar.xz discord.py-2f84d05f0bdf933eca966dc1f07bb667c4b955ad.zip | |
Correct Guild.create_custom_emoji documentation
| -rw-r--r-- | discord/guild.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/guild.py b/discord/guild.py index f1c5405e..f064b27f 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] |