I am trying to make a similar game as the known game Mafia/werewolf and I only need the bot to send a specific text (mafia) to a specific number of users in the VC and the rest I want them to get the same message (good). However, I don't want the (killers) to receive the (good) message again.
client.on("message", (msg) => {
if (msg.content.startsWith(prefix + "Game")) {
if (!msg.channel.guild) return;
let channel = msg.member.voiceChannel;
let toCheck = channel.members;
let random1 = toCheck.random();
let randomE = toCheck.random();
random1.send("killer");
msg.channel.send(`${random1} killer`);
randomE.send("good");
msg.channel.send(`${randomE} good`);
}
});