Closed Rei-x closed 1 year ago
New option in addSpeechEvent function that allows custom check if speech should be processed. Example usage:
addSpeechEvent(client, { shouldProcessSpeech: (user) => { if (user.username === "awesomeNickname") { return true; } return false; } })
Speech will be processed only when someone with "awesomeNickname" said something
Kudos, SonarCloud Quality Gate passed!
0 Bugs 0 Vulnerabilities 0 Security Hotspots 0 Code Smells
No Coverage information 0.0% Duplication
New option in addSpeechEvent function that allows custom check if speech should be processed. Example usage:
Speech will be processed only when someone with "awesomeNickname" said something