List[:class:`VoiceChannel`]: A list of voice channels that belongs to this guild.

        This is sorted by the position and are in UI order from top to bottom.
772873
def voice_channels(self):
        
        r = [ch for ch in self._channels.values() if isinstance(ch, VoiceChannel)]
        r.sort(key=lambda c: (c.position, c.id))
        return r
697753
def list_connection_channels(self, name):
        
        return self._api_get('/api/connections/{0}/channels'.format(
            urllib.parse.quote_plus(name)
        ))
341215
def Channels(module):
    '''
    

    '''

    nums = {2: 1, 3: 5, 4: 9, 6: 13, 7: 17, 8: 21, 9: 25,
            10: 29, 11: 33, 12: 37, 13: 41, 14: 45, 15: 49,
            16: 53, 17: 57, 18: 61, 19: 65, 20: 69, 22: 73,
            23: 77, 24: 81}

    if module in nums:
        return [nums[module], nums[module] + 1,
                nums[module] + 2, nums[module] + 3]
    else:
        return None
1142480
def members(self):
        
        if self._members is None:
            self._members = MemberList(
                self._version,
                service_sid=self._solution['service_sid'],
                channel_sid=self._solution['sid'],
            )
        return self._members
989687
def invites(self):
        
        if self._invites is None:
            self._invites = InviteList(
                self._version,
                service_sid=self._solution['service_sid'],
                channel_sid=self._solution['sid'],
            )
        return self._invites
7638
def listChannels(self, **kwargs):
        
        data = yield self.call('listChannels', **kwargs)
        channels = []
        for cdata in data:
            channel = Channel.fromDict(cdata)
            channel.connection = self
            channels.append(channel)
        defer.returnValue(channels)
1038805
def list_hierarchy(class_name, bases):
    

    class_list = [Uri(class_name)]
    for base in bases:
        if base.__name__ not in IGNORE_CLASSES:
            class_list.append(Uri(base.__name__))
    return list([i for i in set(class_list)])
976331
def roles(self):
        
        guild = self.guild
        if guild is None:
            return []

        return [role for role in guild.roles if self._roles.has(role.id)]
692057
async def join_voice(guild_id: int, channel_id: int):
    
    node = get_node(guild_id)
    voice_ws = node.get_voice_ws(guild_id)
    await voice_ws.voice_state(guild_id, channel_id)
478682
def list_broadcasts():
    
    casts = [{'cast': b[0], 'onto': b[1]} for b in orca.list_broadcasts()]
    return jsonify(broadcasts=casts)
627446
async def create_voice_channel(self, name, *, overwrites=None, reason=None, **options):
        
        return await self.guild.create_voice_channel(name, overwrites=overwrites, category=self, reason=reason, **options)
1043775
def channels(self):
        
        resp = self._rtm_client.get('v1/current_team.channels')
        if resp.is_fail():
            raise RTMServiceError(
                'Failed to get channels of current team',
                resp
            )
        return resp.data['result']
406894
private void handleServerVoiceChannel(JsonNode channelJson) {
        long serverId = channelJson.get("guild_id").asLong();
        long channelId = channelJson.get("id").asLong();
        api.getPossiblyUnreadyServerById(serverId)
                .ifPresent(server -> server.getVoiceChannelById(channelId).ifPresent(channel -> {
                    dispatchServerChannelDeleteEvent(channel);
                    ((ServerImpl) server).removeChannelFromCache(channel.getId());
                }));
        api.removeObjectListeners(ServerVoiceChannel.class, channelId);
        api.removeObjectListeners(ServerChannel.class, channelId);
        api.removeObjectListeners(VoiceChannel.class, channelId);
        api.removeObjectListeners(Channel.class, channelId);
    }
828824
async def join_voice_channel(self, guild_id, channel_id):
        
        voice_ws = self.get_voice_ws(guild_id)
        await voice_ws.voice_state(guild_id, channel_id)
1046309
public static void listAllVoices() {
        System.out.println();
        System.out.println("All voices available:");
        VoiceManager voiceManager = VoiceManager.getInstance();
        Voice[] voices = voiceManager.getVoices();
        for (int i = 0; i < voices.length; i++) {
            System.out.println("    " + voices[i].getName()
                    + " (" + voices[i].getDomain() + " domain)");
        }
    }
1261359
def ranks(self) -> List[str]:
        """"""
        return list(OrderedDict.fromkeys((m.rank for m in self.members)))
110993
@Override
    public List<Channel> getChannels()
    {
        List<Channel> channels = new LinkedList<>();
        if (_acceptingParty != null)
            channels.add(_acceptingParty);
        if (_originatingParty != null)
            channels.add(_originatingParty);
        if (_transferTargetParty != null)
            channels.add(_transferTargetParty);
        return channels;
    }