Releases: Rei-x/discord-speech-recognition
Releases · Rei-x/discord-speech-recognition
v3.4.0
Fix for short words, like 'hi'
Now you can specify minimal voice message duration in speechOptions, example:
addSpeechEvent(client, {
minimalVoiceMessageDuration: 1,
});
v3.1.0
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
v3.0.2
Discord.js v14 support
Huge thanks to @CodedMint and @eliangerard for forking this repository and adding support for discord.js v14
v2.0.0 - official discord.js v13 support
Discord v13 update!
Now discord speech recognition supports discord.js v13.
Breaking changes:
- instead of using DiscordSR class, just call
addSpeechEvent(client)
to add speech recognition to your client, check examples in examples directory