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/object.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/object.py')
| -rw-r--r-- | discord/object.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/object.py b/discord/object.py index ad201d04..6398ac8e 100644 --- a/discord/object.py +++ b/discord/object.py @@ -23,7 +23,7 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ -from . import utils +import discord.utils class Object: """Represents a generic Discord object. @@ -51,4 +51,4 @@ class Object: @property def created_at(self): """Returns the snowflake's creation time in UTC.""" - return utils.snowflake_time(self.id) + return discord.utils.snowflake_time(self.id) |