aboutsummaryrefslogtreecommitdiff
path: root/discord/emoji.py
diff options
context:
space:
mode:
authorTarek1337 <[email protected]>2018-09-11 07:05:34 +0200
committerRapptz <[email protected]>2018-09-14 22:55:28 -0400
commit21309c2d72376f2a62c1ceaf78bb53e7b0b893df (patch)
treefa49ebf47f1a454eb1d27a1df9fd5dea01b8af99 /discord/emoji.py
parentUpdate PyNaCl dependency to one that works with 3.7 (diff)
downloaddiscord.py-21309c2d72376f2a62c1ceaf78bb53e7b0b893df.tar.xz
discord.py-21309c2d72376f2a62c1ceaf78bb53e7b0b893df.zip
Removed inaccurate note on emoji.py
In the docs, it says ``Note that bot accounts can only edit custom emojis they own.`` But after testing a bit. My bot was able to edit emojis in any guild that had the permissions `manage_roles`. Even if the bot didn't own the guild. Or was the original emoji uploader. And I don't see any mentions of this in the API server or in the documentation. So I'm unsure how this ended up in here. It's possible I am misunderstanding the whole note. My bad if that's the case.
Diffstat (limited to 'discord/emoji.py')
-rw-r--r--discord/emoji.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/discord/emoji.py b/discord/emoji.py
index f4b1054b..626b6e21 100644
--- a/discord/emoji.py
+++ b/discord/emoji.py
@@ -235,8 +235,6 @@ 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