Esempio n. 1
0
 public void Start()
 {
     _log.LogInformation("Service is starting");
     _log.LogInformation("Connecting to discord");
     _discord.StartAsync().Wait();
     _log.LogInformation("Connected to discord!");
     _log.LogInformation("Connecting to twitch");
     _twitch.ConnectAsync().Wait();
     _log.LogInformation("Connected to twitch!");
     _log.LogInformation("Connecting to mixer");
     _mixer.Start();
     _log.LogInformation("Connected to mixer!");
 }