Rei-x / discord-speech-recognition

Speech to text extension for discord.js
https://npmjs.com/package/discord-speech-recognition
MIT License
57 stars 22 forks source link

Suggestion: Disable and recognition when the bot is selfDeaf or server-wide deafened #20

Closed lmmfranco closed 2 years ago

lmmfranco commented 2 years ago

Use case: Some people may want to programatically disable SR for various reasons like: running out of free quota on google or discussing sensitive information that they wouldn't like being recorded

It would be nice if there was a check to ignore incoming voice data if the bot was selfDeaf or server-deafened by mods

Rei-x commented 2 years ago

Actually, when the bot is deafened it doesn't receive any voice data (it's how discord works). I can add function to manually disable speech recognition, if that's what you want.