From 21309c2d72376f2a62c1ceaf78bb53e7b0b893df Mon Sep 17 00:00:00 2001 From: Tarek1337 Date: Tue, 11 Sep 2018 07:05:34 +0200 Subject: [PATCH] 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. --- discord/emoji.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/discord/emoji.py b/discord/emoji.py index f4b1054bd..626b6e21e 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