From 51a696e674908f4032bf757212498bd3b3ee4b0a Mon Sep 17 00:00:00 2001 From: Pandentia Date: Tue, 3 Oct 2017 00:10:01 +0200 Subject: [PATCH] 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. --- discord/emoji.py | 4 ---- discord/guild.py | 5 ----- 2 files changed, 9 deletions(-) diff --git a/discord/emoji.py b/discord/emoji.py index 6faf8dbf8..e2e7bf3a0 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 2e1701430..1db1d39b1 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