mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
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.
This commit is contained in:
parent
13632faf97
commit
51a696e674
@ -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
|
||||
|
@ -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…
x
Reference in New Issue
Block a user