Triggers

Voice Channel Join/Leave

Warning

This trigger relies on synthetic events which may make them unreliable.

Voice Channel Join

Parameters

  • {channel}: The channel the user joined.
  • {user}: The user who joined a channel.
  • {$isSwitching}: Whether the user is switching from one channel to another.
  • {$previousChannel}: The ID of the channel the user was previously in.

Fires when a user joins a voice channel or switches to a new voice channel.

Voice Channel Leave

Parameters

  • {channel}: The channel the user left.
  • {user}: The user who left a channel.
  • {$isSwitching}: Whether the user is switching from one channel to another.
  • {$newChannel}: The ID of the channel the user is joining, if they are switching.

Fires when a user leaves a voice channel or switches to a new voice channel.