Document that PartialEmoji.name can be None

This commit is contained in:
Rapptz 2019-11-18 20:00:06 -05:00
parent d8e47b08a2
commit cb21159589

View File

@ -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`]