discord-speech-recognition

Speech to text extension for discord.js

MIT License

Downloads
338
Stars
56
Committers
4

Bot releases are hidden (Show)

discord-speech-recognition - v3.4.0 Latest Release

Published by Rei-x over 1 year ago

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.

discord-speech-recognition - Fix for short words, like 'hi'

Published by Rei-x over 1 year ago

Now you can specify minimal voice message duration in speechOptions, example:

addSpeechEvent(client, {
  minimalVoiceMessageDuration: 1,
});
discord-speech-recognition - v3.1.0

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

discord-speech-recognition - v3.0.2

Published by Rei-x about 2 years ago

Fix firing multiple speech events
Update simpleBot example

discord-speech-recognition - Discord.js v14 support

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

discord-speech-recognition - v2.0.0 - official discord.js v13 support

Published by Rei-x about 3 years ago

discord-speech-recognition - Discord v13 update!

Published by Rei-x about 3 years ago

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
discord-speech-recognition - 1.0.6

Published by Rei-x over 3 years ago

  • fully automated testing
  • automatic publishing to github packages and npm
discord-speech-recognition - 1.0.5

Published by Rei-x over 3 years ago

  • automatic tests when publishing
  • save to wav file method on VoiceMessage
Package Rankings
Top 8.79% on Npmjs.org
Related Projects