vikram
vikram
DIAdiscord.js - Imagine an app
Created by vikram on 3/23/2023 in #djs-voice
SpeakingMap stops triggering 'start' events after some time
6 replies
DIAdiscord.js - Imagine an app
Created by vikram on 3/23/2023 in #djs-voice
SpeakingMap stops triggering 'start' events after some time
Nevermind, just needed to update discordjs/voice
6 replies
DIAdiscord.js - Imagine an app
Created by vikram on 3/23/2023 in #djs-voice
SpeakingMap stops triggering 'start' events after some time
let channel = client.channels.cache.get(channelId);

const connection = joinVoiceChannel({
channelId: channel.id,
guildId: channel.guild.id,
adapterCreator: channel.guild.voiceAdapterCreator,
selfDeaf: false,
});

const rec = connection.receiver;
rec.speaking.on('start', (userId) => {
console.log('SPEAKING');

});
let channel = client.channels.cache.get(channelId);

const connection = joinVoiceChannel({
channelId: channel.id,
guildId: channel.guild.id,
adapterCreator: channel.guild.voiceAdapterCreator,
selfDeaf: false,
});

const rec = connection.receiver;
rec.speaking.on('start', (userId) => {
console.log('SPEAKING');

});
6 replies
DIAdiscord.js - Imagine an app
Created by vikram on 3/23/2023 in #djs-voice
SpeakingMap stops triggering 'start' events after some time
[email protected], discordjs/[email protected], node v16.15.1
6 replies