Added note to Emoji.user

This commit is contained in:
Allan Galarza 2019-05-12 21:07:46 -07:00 committed by Rapptz
parent 6bc9d7c01a
commit 5473cec6ac

View File

@ -169,7 +169,8 @@ class Emoji:
guild_id: :class:`int`
The guild ID the emoji belongs to.
user: Optional[:class:`User`]
The user that created the emoji. This can only be retrieved using :meth:`Guild.fetch_emoji`.
The user that created the emoji. This can only be retrieved using :meth:`Guild.fetch_emoji` and
having the :attr:`~Permissions.manage_emojis` permission.
"""
__slots__ = ('require_colons', 'animated', 'managed', 'id', 'name', '_roles', 'guild_id',
'_state', 'user')