aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Cunha <[email protected]>2019-02-07 00:25:31 +0000
committerRapptz <[email protected]>2019-02-12 19:15:21 -0500
commit4ebe02ab1f261bd1ccf7f0d87962693bb31b89ae (patch)
tree9fcdbd181cbe3e42343fcc3d04e1925cc4b8eecd
parentAdd PremiumType enumeration and ClientUser.premium_type (diff)
downloaddiscord.py-4ebe02ab1f261bd1ccf7f0d87962693bb31b89ae.tar.xz
discord.py-4ebe02ab1f261bd1ccf7f0d87962693bb31b89ae.zip
Fix documentation typo in CategoryChannel
-rw-r--r--discord/channel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/channel.py b/discord/channel.py
index 045d1624..06b1dbf8 100644
--- a/discord/channel.py
+++ b/discord/channel.py
@@ -635,7 +635,7 @@ class CategoryChannel(discord.abc.GuildChannel, Hashable):
@property
def voice_channels(self):
- """List[:class:`VoiceChannel`]: Returns the text channels that are under this category."""
+ """List[:class:`VoiceChannel`]: Returns the voice channels that are under this category."""
ret = [c for c in self.guild.channels
if c.category_id == self.id
and isinstance(c, VoiceChannel)]