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/embeds.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/embeds.py')
| -rw-r--r-- | discord/embeds.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/discord/embeds.py b/discord/embeds.py index e47b814e..cd36600e 100644 --- a/discord/embeds.py +++ b/discord/embeds.py @@ -26,8 +26,9 @@ DEALINGS IN THE SOFTWARE. import datetime +import discord.utils + from .colour import Colour -from . import utils class _EmptyEmbed: def __bool__(self): @@ -128,7 +129,7 @@ class Embed: pass try: - self._timestamp = utils.parse_time(data['timestamp']) + self._timestamp = discord.utils.parse_time(data['timestamp']) except KeyError: pass |