LogoAntiRaid

@antiraid-ext/events/discord/VoiceServerUpdate

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

@antiraid-ext/events/discord/VoiceServerUpdate

Functions

onVoiceServerUpdate

VoiceServerUpdate

Dispatched when a guild’s voice server was updated (or changed to another one).

Note that you usually won't get this event from AntiRaid unless you're self-hosting or unusual circumstances.

Function Signature
--- VoiceServerUpdate
---
--- Dispatched when a guild’s voice server was updated (or changed to another one).
---
--- Note that you usually won't get this event from AntiRaid unless you're self-hosting or unusual circumstances.
function onVoiceServerUpdate(event: Primitives.Event, callback: (data: discordGateway.VoiceServerUpdatePayload) -> ()) end

Arguments

event

Primitives.Event

callback

Function Signature
callback: (data: discordGateway.VoiceServerUpdatePayload) -> ()

Arguments

data

discordGateway.VoiceServerUpdatePayload

Last updated on