LogoAntiRaid

@antiraid-ext/events/discord/VoiceStateUpdate

API reference for @antiraid-ext/events/discord/VoiceStateUpdate

@antiraid-ext/events/discord/VoiceStateUpdate

Functions

onVoiceStateUpdate

VoiceStateUpdate

Dispatched when a user joins, leaves or moves to a voice channel.

Function Signature
--- VoiceStateUpdate
---
--- Dispatched when a user joins, leaves or moves to a voice channel.
function onVoiceStateUpdate(event: Primitives.Event, callback: (new: discord.VoiceStateObject) -> ()) end

Arguments

event

Primitives.Event

callback

Function Signature
callback: (new: discord.VoiceStateObject) -> ()

Arguments

new

discord.VoiceStateObject

Last updated on