private void Update() { if (_pinger != null) { _pinger.Ping(); } }
private void Login() { Plugin.Log.Info("Login Requested"); _homeView.SetModal(true, true, true, "Check Discord"); _pinger = new DiscordPinger { allowPing = true }; _pinger.Ping(); _pinger.RequestLogin(LoginResults); }