Cole
Cole
DIAdiscord.js - Imagine an app
Created by RazR on 2/16/2024 in #djs-questions
Is it possible to run through message history since the start of a channel?
:thumbsup:
19 replies
DIAdiscord.js - Imagine an app
Created by GhostFilms on 2/16/2024 in #djs-questions
is it possible to detect when someone starts speaking in a voice channel
client.on('voiceStateUpdate', (oldState, newState) => {
// Check if the user started speaking
if (newState.streaming || newState.selfVideo || newState.selfMute || newState.selfDeaf || newState.suppress) {
console.log(`${newState.member.displayName} started speaking in the voice channel ${newState.channel.name}`);
}
});
client.on('voiceStateUpdate', (oldState, newState) => {
// Check if the user started speaking
if (newState.streaming || newState.selfVideo || newState.selfMute || newState.selfDeaf || newState.suppress) {
console.log(`${newState.member.displayName} started speaking in the voice channel ${newState.channel.name}`);
}
});
10 replies
DIAdiscord.js - Imagine an app
Created by GhostFilms on 2/16/2024 in #djs-questions
is it possible to detect when someone starts speaking in a voice channel
Yeah, you can.
10 replies
DIAdiscord.js - Imagine an app
Created by RazR on 2/16/2024 in #djs-questions
Is it possible to run through message history since the start of a channel?
oh yeah
19 replies
DIAdiscord.js - Imagine an app
Created by RazR on 2/16/2024 in #djs-questions
Is it possible to run through message history since the start of a channel?
discord-html-transcripts
19 replies
DIAdiscord.js - Imagine an app
Created by RazR on 2/16/2024 in #djs-questions
Is it possible to run through message history since the start of a channel?
You could use transcripts?
19 replies