diff options
| author | Rapptz <[email protected]> | 2016-12-24 05:11:06 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-01-03 09:52:02 -0500 |
| commit | 79a49f91458159564ae5a7696797829c6a848a5d (patch) | |
| tree | 0b588b8c3ef275f47061e8da47e6ca8a88403080 /discord/emoji.py | |
| parent | Rename MessageChannel.send_message to send and unify interface. (diff) | |
| download | discord.py-79a49f91458159564ae5a7696797829c6a848a5d.tar.xz discord.py-79a49f91458159564ae5a7696797829c6a848a5d.zip | |
Absolute import some circular dependencies to appease Python 3.4.
Diffstat (limited to 'discord/emoji.py')
| -rw-r--r-- | discord/emoji.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/emoji.py b/discord/emoji.py index 55d0ab73..7b966c3d 100644 --- a/discord/emoji.py +++ b/discord/emoji.py @@ -27,7 +27,7 @@ DEALINGS IN THE SOFTWARE. import asyncio from collections import namedtuple -from . import utils +import discord.utils from .mixins import Hashable PartialEmoji = namedtuple('PartialEmoji', 'id name') @@ -106,7 +106,7 @@ class Emoji(Hashable): @property def created_at(self): """Returns the emoji's creation time in UTC.""" - return utils.snowflake_time(self.id) + return discord.utils.snowflake_time(self.id) @property def url(self): |