Closed BohnSeb closed 2 years ago
If I understand you right, you can check which user have spoken, like this:
client.on("speech", (msg) => {
console.log(msg.author.username); // it will print the username of user
})
Here you have documentation of VoiceMessage object (msg in the example above) if you want to learn more: https://discordsr.netlify.app/classes/voicemessage
Tell me if I solved your problem
Yeah thanks alot, I haven't thought of that. It works totally fine, thank you.
It would be great for the bot to throw speech events filtered by the user who spoke