docsTriggersEventsonVoiceStateUpdate

onVoiceStateUpdate

Fires when a user joins, leaves, or moves voice channels.

When it fires

Voice state changes

Available Context Variables

VariableDescription
author_idUser ID
usernameEmpty
channel_idVoice channel ID (if joined)
guild_idGuild ID
messageEmpty