Discord Speech Recognition
    Preparing search index...

    Interface SpeechRecognition

    Speech recognition function, you can create your own and specify it in addSpeechEvent

    It receives PCM mono 16-bit audio with 48kHz sample rate. All options that you pass to addSpeechEvent function, will be later passed to this function. The third parameter tells who spoke and on which voice connection, so the function can behave differently for each guild.