aboutsummaryrefslogtreecommitdiff
path: root/discord/calls.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-10-17 01:10:22 -0400
committerRapptz <[email protected]>2017-01-03 09:51:52 -0500
commit53ab2631252bf0977446d762f07b3821edb151ee (patch)
treeabb8a2e7a966aadb22df8a3ca2220b646eae3765 /discord/calls.py
parent[commands] Bot skip check now works with the new __eq__ changes. (diff)
downloaddiscord.py-53ab2631252bf0977446d762f07b3821edb151ee.tar.xz
discord.py-53ab2631252bf0977446d762f07b3821edb151ee.zip
Split channel types.
This splits them into the following: * DMChannel * GroupChannel * VoiceChannel * TextChannel This also makes the channels "stateful".
Diffstat (limited to 'discord/calls.py')
-rw-r--r--discord/calls.py4
1 files changed, 2 insertions, 2 deletions
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):