Example #1
0
 private void Monitor_OnServiceStarted(object sender, OnServiceStartedArgs e)
 {
     Console.WriteLine("Twitch service has been injected and listening for events.");
     Console.WriteLine(_api.Helix.Users
                       .GetUsersAsync(logins: new List <string> {
         "dyannatv"
     })
                       .Result
                       .Users
                       .FirstOrDefault()
                       .Id);
     // throw new NotImplementedException();
 }
 private static void OnServiceStartedEvent(object sender, OnServiceStartedArgs e)
 {
     Console.Out.WriteLine($"{DateTime.UtcNow.ToString("hh:mm:ss")} [StreamMonoService]: Live Stream Monitor Service started successfully.");
 }
Example #3
0
 private void Monitor_OnServiceStarted(object sender, OnServiceStartedArgs e)
 {
 }
Example #4
0
 public static void OnServiceStarted(object sender, OnServiceStartedArgs e)
 {
     Console.WriteLine("Monitor Service is UP!");
 }
Example #5
0
 // Let the record say that the service IS on
 public void OnServiceStarted(object sender, OnServiceStartedArgs e)
 {
     Console.WriteLine("Currently monitoring all creator livestreams!");
 }
Example #6
0
 private void Monitor_OnServiceStarted(object sender, OnServiceStartedArgs e)
 {
     throw new NotImplementedException();
 }
Example #7
0
 private void OnStreamMonitorStarted(object sender, OnServiceStartedArgs e)
 {
     _logger.LogInformation($"Stream Monitor Started - Monitoring Channels: {e}");
 }
Example #8
0
 private void OnServiceStarted(object sender, OnServiceStartedArgs e)
 {
     MessageBox.Show($"Follower service started with settings:\nChannel: {e.Channel}\nCheck Interval Seconds: {e.CheckIntervalSeconds}\nQuery Count: {e.QueryCount}");
 }
Example #9
0
 private void OnServiceStarted(object sender, OnServiceStartedArgs e)
 {
     MessageBox.Show($"Follower service started with settings:\nChannel: {e.Channel}\nCheck Interval Seconds: {e.CheckIntervalSeconds}\nQuery Count: {e.QueryCount}");
 }
 private void Monitor_OnServiceStarted(object sender, OnServiceStartedArgs e)
 {
     Console.WriteLine(">> Starting the monitor service");
 }
Example #11
0
 private void OnServiceStarted(object sender, OnServiceStartedArgs e)
 {
     _logger.LogInformation($"Connected to service.");
 }
 private void Monitor_OnServiceStarted(object sender, OnServiceStartedArgs e)
 {
     Console.WriteLine("OnMonitorService Started");
 }