You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

logging.cs 359 B

12345678910111213141516171819202122
  1. using Discord;
  2. using System;
  3. using System.Threading.Tasks;
  4. namespace MyBot
  5. {
  6. public class Program
  7. {
  8. public static void Main(string[] args)
  9. => new Program().MainAsync().GetAwaiter().GetResult();
  10. public async Task MainAsync()
  11. {
  12. }
  13. private Task Log(LogMessage msg)
  14. {
  15. Console.WriteLine(msg.ToString());
  16. return Task.CompletedTask;
  17. }
  18. }
  19. }