Exemple #1
0
        private async Task SleepPC(Message message)
        {
            await SendSimpleMessage(message, "Your PC will go to sleep, Master");

            var result = PCManager.Sleep(_logger);

            if (!result)
            {
                await SendSimpleMessage(message, "We have some problems, Master...");
            }
        }