Deleted User d4342210#4970
DIAdiscord.js - Imagine an app
•Created by Deleted User d4342210#4970 on 6/6/2023 in #djs-voice
How do I make an event listener for when someone speaks?
I want to make an event listener similar to how the make events in the discord.js guide
const { Events } = require('discord.js');
module.exports = {
name: Events.ClientReady,
once: true,
execute(client) {
console.log(
Ready! Logged in as ${client.user.tag}
);
},
};
Similar to this but with an event for when someone speaks voiceConn.receiver.speaking.on("start",...
I can do this, but only in my index file and in a slash command7 replies