protected override async Task ExecuteAsync(CancellationToken stoppingToken) { _logger.LogInformation($"Worker started at: {DateTime.UtcNow} UTC."); _twitchService.MessageReceived += _msgHandler.Handler; _twitchService.MessageReceived += IncomingMessages; await _twitchService.ConnectAsync("itshafu"); while (!stoppingToken.IsCancellationRequested) { _logger.LogInformation("Worker running at: {time}", DateTimeOffset.Now); } }