mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-14 18:12:43 -04:00
Ported over Cloudflare stuff from the old Rainbet client due to 403s
This commit is contained in:
@@ -128,6 +128,7 @@ public class BotServices
|
||||
var settings = await SettingsProvider.GetMultipleValuesAsync([BuiltIn.Keys.Proxy, BuiltIn.Keys.RainbetEnabled]);
|
||||
_rainbet = new RainbetWs(settings[BuiltIn.Keys.Proxy].Value, _cancellationToken);
|
||||
_rainbet.OnRainbetBet += OnRainbetBet;
|
||||
await _rainbet.RefreshCookies();
|
||||
await _rainbet.StartWsClient();
|
||||
_logger.Info("Built Rainbet Websocket");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user