Beispiel #1
0
        public ValueTask ExecuteAsync(IConsole console)
        {
            Log.Info($"Starting {nameof(PurgeOldPlayers)}...");

            if (Months < 13)
            {
                Months = 13;
            }

            Log.Debug($"Purging players inactives for more than {Months} lunar months...");

            _recorder.PurgeOldPlayers(Months);

            Log.Info("Done.");
            return(default);