Häufig verwendete Methoden
Häufig verwendete Methoden
Häufig verwendete Methoden
Häufig verwendete Methoden
private async void OnPlayerCountUpdateCheck(object state) { try { var(playersCount, serversCount) = _statsService.GetSampPlayerServerCount(); _discord.SetGameAsync($"Grand Theft Auto San Andreas - Players Online: {playersCount} - Servers Online: {serversCount}"); } catch (Exception e) { Logger.Write($"[OnPlayerCountUpdateCheck] Failed: {e.Message}"); } }