mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 20:28:38 +00:00
Document that PartialEmoji.name can be None
This commit is contained in:
parent
d8e47b08a2
commit
cb21159589
@ -56,9 +56,10 @@ class PartialEmoji:
|
|||||||
|
|
||||||
Attributes
|
Attributes
|
||||||
-----------
|
-----------
|
||||||
name: :class:`str`
|
name: Optional[:class:`str`]
|
||||||
The custom emoji name, if applicable, or the unicode codepoint
|
The custom emoji name, if applicable, or the unicode codepoint
|
||||||
of the non-custom emoji.
|
of the non-custom emoji. This can be ``None`` if the emoji
|
||||||
|
got deleted (e.g. removing a reaction with a deleted emoji).
|
||||||
animated: :class:`bool`
|
animated: :class:`bool`
|
||||||
Whether the emoji is animated or not.
|
Whether the emoji is animated or not.
|
||||||
id: Optional[:class:`int`]
|
id: Optional[:class:`int`]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user