mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-12 00:39:56 +00:00
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.
This commit is contained in:
parent
134bc21fda
commit
21309c2d72
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user