Example #1
0
        public async Task StartupAsync()
        {
            await Delete.DelayDeleteMessageAsync(await channel.SendMessageAsync("GTA5PoliceV2 startup procedure.", false, null), 5);

            Cooldowns.SetStartupTime(DateTime.Now.TimeOfDay);
            Cooldowns.SetStartupDate(DateTime.Now.Date);
            Statistics.ResetIncomingMessages();
            Statistics.ResetOutgoingMessages();
            Statistics.ResetCommandRequests();
            Statistics.ResetTimerMessages();
            Statistics.ResetStatusChanges();
            Statistics.ResetErrorsDetected();
            Statistics.ResetProfanityDetected();
            Statistics.ResetAdmenRequests();
        }