From b22f7c76c513e7ef7b8e6bfae9d66c8aa20c3b8e Mon Sep 17 00:00:00 2001 From: Pandentia Date: Tue, 3 Oct 2017 00:22:06 +0200 Subject: [PATCH] Further clarify how bots can interact with emoji endpoints Clarifies that bot accounts can only interact with emoji they have created. --- discord/emoji.py | 4 ++++ discord/guild.py | 2 ++ 2 files changed, 6 insertions(+) diff --git a/discord/emoji.py b/discord/emoji.py index e2e7bf3a0..869b43848 100644 --- a/discord/emoji.py +++ b/discord/emoji.py @@ -193,6 +193,8 @@ class Emoji(Hashable): You must have :attr:`~Permissions.manage_emojis` permission to do this. + Note that bot accounts can only delete custom emojis they own. + Parameters ----------- reason: Optional[str] @@ -217,6 +219,8 @@ class Emoji(Hashable): You must have :attr:`~Permissions.manage_emojis` permission to do this. + Note that bot accounts can only edit custom emojis they own. + Parameters ----------- name: str diff --git a/discord/guild.py b/discord/guild.py index 1db1d39b1..0ad15cf42 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -971,6 +971,8 @@ class Guild(Hashable): There is currently a limit of 50 local emotes per guild. + Note that bot accounts can only edit and delete emojis they have created. + Parameters ----------- name: str