diff options
| author | Pandentia <[email protected]> | 2017-10-03 00:10:01 +0200 |
|---|---|---|
| committer | Pandentia <[email protected]> | 2017-10-03 00:10:01 +0200 |
| commit | 51a696e674908f4032bf757212498bd3b3ee4b0a (patch) | |
| tree | 449066878cb3adc60f33dceacf874626e5b57b88 | |
| parent | Fix AppInfo.id being a string (diff) | |
| download | discord.py-51a696e674908f4032bf757212498bd3b3ee4b0a.tar.xz discord.py-51a696e674908f4032bf757212498bd3b3ee4b0a.zip | |
Remove reference to "whitelisted" bots for emoji endpoints
Due to a recent change in the Discord API, bots can now create
guild-specific emoji, so I've removed the parts of the documentation
referencing this restriction.
| -rw-r--r-- | discord/emoji.py | 4 | ||||
| -rw-r--r-- | discord/guild.py | 5 |
2 files changed, 0 insertions, 9 deletions
diff --git a/discord/emoji.py b/discord/emoji.py index 6faf8dbf..e2e7bf3a 100644 --- a/discord/emoji.py +++ b/discord/emoji.py @@ -193,8 +193,6 @@ class Emoji(Hashable): You must have :attr:`~Permissions.manage_emojis` permission to do this. - Guild local emotes can only be deleted by user bots. - Parameters ----------- reason: Optional[str] @@ -219,8 +217,6 @@ class Emoji(Hashable): You must have :attr:`~Permissions.manage_emojis` permission to do this. - Guild local emotes can only be edited by user bots. - Parameters ----------- name: str diff --git a/discord/guild.py b/discord/guild.py index 2e170143..1db1d39b 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -969,11 +969,6 @@ class Guild(Hashable): Creates a custom :class:`Emoji` for the guild. - This endpoint is only allowed for user bots or white listed - bots. If this is done by a user bot then this is a local - emoji that can only be used inside the guild. If done by - a whitelisted bot, then this emoji is "global". - There is currently a limit of 50 local emotes per guild. Parameters |