OptionalgroupOptionalignoreDon't listen to other bots. Defaults to true
OptionalmaximalMaximal length of a single voice message, in seconds. Longer speech is split into multiple voice messages.
Defaults to 19, because Google Speech and wit.ai reject longer audio. Raise it if your speech recognition function can handle more.
OptionalminimalMinimal length of voice message that will be processed, in seconds. Defaults to 1
OptionalshouldCustom handler to decide whether to recognize speech. It is called when the user starts speaking: if it returns false, the audio isn't recorded or sent anywhere.
The user who spoke
Voice connection the user spoke on, connection.joinConfig has ids of the guild and the channel
OptionalsilenceHow long the user has to be silent before the voice message ends, in milliseconds. Defaults to 300
Group identifier, use it if you pass
grouptojoinVoiceChannelhttps://discord.js.org/docs/packages/voice/main/JoinVoiceChannelOptions:Interface#group