mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Absolute import some circular dependencies to appease Python 3.4.
This commit is contained in:
1 parent
a1c81419b7
commit
79a49f9145
14 files changed
+108
-88
No files matched your search
+2
-2
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user