Skip to content

v3.1.0

Compare
Choose a tag to compare
@Rei-x Rei-x released this 02 Sep 18:01
· 24 commits to main since this release

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