mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 11:03:30 +01:00
Added websocket voice state watching
Now emits voiceJoin(user, voice_channel) or voiceLeave(user, voice_channel) and adds/removes from voice_channel.speaking when a user joins or leaves a voice channel.
This commit is contained in:
@@ -125,6 +125,7 @@ var PacketType = {
|
||||
PRESENCE_UPDATE: "PRESENCE_UPDATE",
|
||||
TYPING: "TYPING_START",
|
||||
SERVER_BAN_ADD: "GUILD_BAN_ADD",
|
||||
SERVER_BAN_REMOVE: "GUILD_BAN_REMOVE"
|
||||
SERVER_BAN_REMOVE: "GUILD_BAN_REMOVE",
|
||||
VOICE_STATE_UPDATE: "VOICE_STATE_UPDATE"
|
||||
};
|
||||
exports.PacketType = PacketType;
|
||||
|
||||
Reference in New Issue
Block a user