aboutsummaryrefslogtreecommitdiff
path: root/discord/calls.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-12-24 05:11:06 -0500
committerRapptz <[email protected]>2017-01-03 09:52:02 -0500
commit79a49f91458159564ae5a7696797829c6a848a5d (patch)
tree0b588b8c3ef275f47061e8da47e6ca8a88403080 /discord/calls.py
parentRename MessageChannel.send_message to send and unify interface. (diff)
downloaddiscord.py-79a49f91458159564ae5a7696797829c6a848a5d.tar.xz
discord.py-79a49f91458159564ae5a7696797829c6a848a5d.zip
Absolute import some circular dependencies to appease Python 3.4.
Diffstat (limited to 'discord/calls.py')
-rw-r--r--discord/calls.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/discord/calls.py b/discord/calls.py
index 334f1d75..d4ec4367 100644
--- a/discord/calls.py
+++ b/discord/calls.py
@@ -24,8 +24,9 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
"""
-from . import utils
import datetime
+import discord.utils
+
from .enums import GuildRegion, try_enum
from .member import VoiceState
@@ -47,7 +48,7 @@ class CallMessage:
def __init__(self, message, **kwargs):
self.message = message
- self.ended_timestamp = utils.parse_time(kwargs.get('ended_timestamp'))
+ self.ended_timestamp = discord.utils.parse_time(kwargs.get('ended_timestamp'))
self.participants = kwargs.get('participants')
@property