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