mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Voice States in READY packet now processed
Now there is full watching and coverage of voice states
This commit is contained in:
@@ -34,6 +34,12 @@ client.on("message", msg => {
|
||||
client.destroy();
|
||||
}
|
||||
|
||||
if (msg.content === "who tf is speaking") {
|
||||
for (var chan of msg.channel.server.channels.getAll("type", "voice")) {
|
||||
msg.channel.send(`${chan} : ${chan.speaking}`);
|
||||
}
|
||||
}
|
||||
|
||||
if(msg.content === "replyme"){
|
||||
msg.reply("hi");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user