public async Task OnUserJoined(SocketGuildUser user) { var method = new UserJoined(Client, Config); await method.ProcessAsync(user).ConfigureAwait(false); IncrementEventHandle("UserJoined"); }
public async Task OnUserJoined(SocketGuildUser user) { if (!CanProcessEvent("UserJoined")) { return; } var method = new UserJoined(Client, Config); await method.ProcessAsync(user).ConfigureAwait(false); EventPostProcess("UserJoined"); }