Method HandleVoiceStateUpdated
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.dll
HandleVoiceStateUpdated(Func<DiscordClient, VoiceStateUpdatedEventArgs, Task>)
Fired when someone joins, leaves or moves voice channels. For this event to fire you need the GuildVoiceStates intent.
public EventHandlingBuilder HandleVoiceStateUpdated(Func<DiscordClient, VoiceStateUpdatedEventArgs, Task> handler)
Parameters
handler
Func<DiscordClient, VoiceStateUpdatedEventArgs, Task>