Renamed TwitchWs to Twitch as I intend to add a non-WS related helper function for checking if a stream is live using Graph QL

This commit is contained in:
barelyprofessional
2024-06-19 10:46:17 +08:00
parent 1c08231e7c
commit 980a2b1c98
2 changed files with 6 additions and 6 deletions

View File

@@ -6,7 +6,7 @@ using Websocket.Client;
namespace KfChatDotNetKickBot.Services;
public class TwitchWs
public class Twitch
{
private Logger _logger = LogManager.GetCurrentClassLogger();
private WebsocketClient _wsClient;
@@ -18,7 +18,7 @@ public class TwitchWs
public event OnStreamStateUpdateEventHandler OnStreamStateUpdated;
private CancellationToken _cancellationToken = CancellationToken.None;
public TwitchWs(List<int> channels, string? proxy = null, CancellationToken? cancellationToken = null)
public Twitch(List<int> channels, string? proxy = null, CancellationToken? cancellationToken = null)
{
_proxy = proxy;
_channels = channels;