From 53ab2631252bf0977446d762f07b3821edb151ee Mon Sep 17 00:00:00 2001 From: Rapptz Date: Mon, 17 Oct 2016 01:10:22 -0400 Subject: Split channel types. This splits them into the following: * DMChannel * GroupChannel * VoiceChannel * TextChannel This also makes the channels "stateful". --- discord/calls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'discord/calls.py') diff --git a/discord/calls.py b/discord/calls.py index 94c55a14..0925f713 100644 --- a/discord/calls.py +++ b/discord/calls.py @@ -57,7 +57,7 @@ class CallMessage: @property def channel(self): - """:class:`PrivateChannel`\: The private channel associated with this message.""" + """:class:`GroupChannel`\: The private channel associated with this message.""" return self.message.channel @property @@ -131,7 +131,7 @@ class GroupCall: @property def channel(self): - """:class:`PrivateChannel`\: Returns the channel the group call is in.""" + """:class:`GroupChannel`\: Returns the channel the group call is in.""" return self.call.channel def voice_state_for(self, user): -- cgit v1.2.3