diff options
Diffstat (limited to 'discord/channel.py')
| -rw-r--r-- | discord/channel.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/discord/channel.py b/discord/channel.py index 74d74001..ee276f58 100644 --- a/discord/channel.py +++ b/discord/channel.py @@ -56,10 +56,15 @@ class Channel(object): An array of :class:`Roles` that have been overridden from their default values in the :attr:`Server.roles` attribute. + .. attribute:: voice_members + + An array of :class:`Members` that are currently inside this voice channel. + If :attr:`type` is not ``'voice'`` then this is always an empty array. """ def __init__(self, **kwargs): self.update(**kwargs) + self.voice_members = [] def update(self, **kwargs): self.name = kwargs.get('name') |