mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-22 08:44:10 +00:00
Fix documentation typo in CategoryChannel
This commit is contained in:
parent
79f172cf80
commit
4ebe02ab1f
@ -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)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user