private async Task DiscordShardedClientOnUserVoiceStateUpdated(SocketUser arg1, SocketVoiceState arg2, SocketVoiceState arg3) { if (UserVoiceStateUpdated != null) { await UserVoiceStateUpdated.Invoke(this, arg1, arg2, arg3).ConfigureAwait(false); } }
internal async Task OnUserVoiceStateUpdated(SocketUser user, SocketVoiceState before, SocketVoiceState after) => await(UserVoiceStateUpdated?.Invoke(user, before, after) ?? Task.CompletedTask);