From 3c9bcc285147154a2980f6e661efdfa676672b6a Mon Sep 17 00:00:00 2001 From: NCPlayz Date: Sat, 18 May 2019 06:04:54 -0400 Subject: Improve documentation --- discord/calls.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'discord/calls.py') diff --git a/discord/calls.py b/discord/calls.py index 596ac90a..8ab04145 100644 --- a/discord/calls.py +++ b/discord/calls.py @@ -38,7 +38,7 @@ class CallMessage: Attributes ----------- - ended_timestamp: Optional[datetime.datetime] + ended_timestamp: Optional[:class:`datetime.datetime`] A naive UTC datetime object that represents the time that the call has ended. participants: List[:class:`User`] The list of users that are participating in this call. @@ -70,7 +70,7 @@ class CallMessage: Returns --------- - datetime.timedelta + :class:`datetime.timedelta` The timedelta object representing the duration. """ if self.ended_timestamp is None: @@ -122,7 +122,7 @@ class GroupCall: @property def connected(self): - """A property that returns the :class:`list` of :class:`User` that are currently in this call.""" + """List[:class:`User`]: A property that returns all users that are currently in this call.""" ret = [u for u in self.channel.recipients if self.voice_state_for(u) is not None] me = self.channel.me if self.voice_state_for(me) is not None: -- cgit v1.2.3