diff options
| author | Pandentia <[email protected]> | 2017-10-03 00:22:06 +0200 |
|---|---|---|
| committer | Pandentia <[email protected]> | 2017-10-03 00:22:06 +0200 |
| commit | b22f7c76c513e7ef7b8e6bfae9d66c8aa20c3b8e (patch) | |
| tree | 3bb86c14d20542c483d5e6043ef6bf0c7b76aa33 | |
| parent | Remove reference to "whitelisted" bots for emoji endpoints (diff) | |
| download | discord.py-b22f7c76c513e7ef7b8e6bfae9d66c8aa20c3b8e.tar.xz discord.py-b22f7c76c513e7ef7b8e6bfae9d66c8aa20c3b8e.zip | |
Further clarify how bots can interact with emoji endpoints
Clarifies that bot accounts can only interact with emoji they have
created.
| -rw-r--r-- | discord/emoji.py | 4 | ||||
| -rw-r--r-- | discord/guild.py | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/discord/emoji.py b/discord/emoji.py index e2e7bf3a..869b4384 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 1db1d39b..0ad15cf4 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 |