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