Enumeration SpeechEvents

Events

audioStreamError: "audioStreamError"

Emitted when error occurs during processing audio stream. Usually when someone tries to talk using web version of discord. See https://github.com/discordjs/opus/issues/49

Param

speech: "speech"

Emitted when someone ends talking in channel


Example usage:

client.on("speech", (msg) => {
msg.author.send(msg.content);
});
voiceJoin: "voiceJoin"

Emitted when bot joins a voice channel and has not started speech recognition in it

Generated using TypeDoc