How do I check who in the VC is talking?

How do I check who in the VC is talking. I need this for my own private bot (for reasons I won't get into). I am running d.js v14.11.0, d.js (v) v0.16.0 and node v18.10.0
6 Replies
d.js toolkit
d.js toolkit2y ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
notvexi
notvexi2y ago
can I use that to check if my bot itself is speaking?
Sulphur
SulphurOP2y ago
would this also return who's muted, deafened, etc?
d.js docs
d.js docs2y ago
class VoiceState (extends Base) Represents the voice state for a Guild Member.
Sulphur
SulphurOP2y ago
thanks and does the users map return the usernames of who's speaking? or the id? alr thanks
angor_de_redjak
Hello there! I had a bot (deprecated now) who used the event guildMemberSpeaking to detect when a user starts or stops speaking. Is there anything equivalent now in discord.js 14? (Now this event only seems to be triggered when a user join a voice channel) I have trouble finding a replacement... Thank you, I'll look into that!
Want results from more Discord servers?
Add your server