Browse Source

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.
pull/827/head
Pandentia 8 years ago
parent
commit
51a696e674
  1. 4
      discord/emoji.py
  2. 5
      discord/guild.py

4
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

5
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

Loading…
Cancel
Save