T
T
TanderOFF2021-07-09 09:59:23
Bots
TanderOFF, 2021-07-09 09:59:23

How to get the total number of participants in Discord voice chats?

How to get the number of participants in all voice channels on 1 server?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
AS1 -, 2021-07-09
@AS1AW

ms = 0
for i in serv.members:
    if i.voice != None:
        ms += 1

A
Alexey, 2021-07-09
@AlekseyZz

# guild экземпляр типа discord.Guild
sum(voice.members for voice in guild.voice_channels)

anyway, read the documentation

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question