Skip to content

Releases: Rei-x/discord-speech-recognition

v3.4.0

30 May 14:58
Compare
Choose a tag to compare

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.

Fix for short words, like 'hi'

12 Mar 20:35
Compare
Choose a tag to compare

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

addSpeechEvent(client, {
  minimalVoiceMessageDuration: 1,
});

v3.1.0

02 Sep 18:01
Compare
Choose a tag to compare

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

02 Sep 17:31
Compare
Choose a tag to compare

Fix firing multiple speech events
Update simpleBot example

Discord.js v14 support

13 Aug 11:55
Compare
Choose a tag to compare

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

06 Oct 17:40
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.0-beta.0...v2.0.0

Discord v13 update!

02 Oct 14:25
Compare
Choose a tag to compare
Discord v13 update! Pre-release
Pre-release

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

1.0.6

20 May 11:23
Compare
Choose a tag to compare
  • fully automated testing
  • automatic publishing to github packages and npm

1.0.5

16 May 19:08
ef27b79
Compare
Choose a tag to compare
  • automatic tests when publishing
  • save to wav file method on VoiceMessage