public void AddStreamProvider(IStreamProvider streamProvider) { _streamProviders.Add(streamProvider); streamProvider.StreamStarted += (sender, args) => { if (StreamStarted != null) StreamStarted(sender, args); }; streamProvider.StreamStopped += (sender, args) => { if (StreamStopped != null) StreamStopped(sender, args); }; streamProvider.StreamGlobalNotification += (sender, args) => { if (StreamGlobalNotification != null) { StreamGlobalNotification(sender, args); } }; if (streamProvider.ToString() == "DeathmicChatbot.StreamInfo.Hitbox.HitboxProvider") { streamProvider.StartTimer(); } }