diff options
| author | Allan Galarza <[email protected]> | 2019-05-12 21:07:46 -0700 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-05-13 22:12:33 -0400 |
| commit | 5473cec6ac2c405064a76af08df1b33e612bd70e (patch) | |
| tree | 12bb8ff7235f1e6796df119adf539978f7454d19 | |
| parent | [tasks] Add indicator for internal task failure (diff) | |
| download | discord.py-5473cec6ac2c405064a76af08df1b33e612bd70e.tar.xz discord.py-5473cec6ac2c405064a76af08df1b33e612bd70e.zip | |
Added note to Emoji.user
| -rw-r--r-- | discord/emoji.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/discord/emoji.py b/discord/emoji.py index ff43d1b5..bad4a4fc 100644 --- a/discord/emoji.py +++ b/discord/emoji.py @@ -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') |