Further clarify how bots can interact with emoji endpoints
Clarifies that bot accounts can only interact with emoji they have created.
This commit is contained in:
parent
51a696e674
commit
b22f7c76c5
@ -193,6 +193,8 @@ class Emoji(Hashable):
|
|||||||
You must have :attr:`~Permissions.manage_emojis` permission to
|
You must have :attr:`~Permissions.manage_emojis` permission to
|
||||||
do this.
|
do this.
|
||||||
|
|
||||||
|
Note that bot accounts can only delete custom emojis they own.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
-----------
|
-----------
|
||||||
reason: Optional[str]
|
reason: Optional[str]
|
||||||
@ -217,6 +219,8 @@ class Emoji(Hashable):
|
|||||||
You must have :attr:`~Permissions.manage_emojis` permission to
|
You must have :attr:`~Permissions.manage_emojis` permission to
|
||||||
do this.
|
do this.
|
||||||
|
|
||||||
|
Note that bot accounts can only edit custom emojis they own.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
-----------
|
-----------
|
||||||
name: str
|
name: str
|
||||||
|
@ -971,6 +971,8 @@ class Guild(Hashable):
|
|||||||
|
|
||||||
There is currently a limit of 50 local emotes per guild.
|
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
|
Parameters
|
||||||
-----------
|
-----------
|
||||||
name: str
|
name: str
|
||||||
|
Loading…
x
Reference in New Issue
Block a user