Speech to text extension for discord.js
MIT License
Bot releases are hidden (Show)
Now you can modify speech options after addSpeechEvent!
Example here:
const speechOptions = addSpeechEvent(client, { lang: "pl-PL" });
speechOptions.lang = "en";
Also, now events are exported in SpeechEvents
object.
Published by Rei-x over 1 year ago
Now you can specify minimal voice message duration in speechOptions, example:
addSpeechEvent(client, {
minimalVoiceMessageDuration: 1,
});
Published by Rei-x about 2 years 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
Published by Rei-x about 2 years ago
Fix firing multiple speech events
Update simpleBot example
Published by Rei-x about 2 years ago
Huge thanks to @CodedMint and @eliangerard for forking this repository and adding support for discord.js v14
Published by Rei-x about 3 years ago
Full Changelog: https://github.com/Rei-x/discord-speech-recognition/compare/v2.0.0-beta.0...v2.0.0
Published by Rei-x about 3 years ago
Now discord speech recognition supports discord.js v13.
Breaking changes:
addSpeechEvent(client)
to add speech recognition to your client, check examples in examples directoryPublished by Rei-x over 3 years ago
Published by Rei-x over 3 years ago