Added Twitch PubSub support. Heavily ripped off code from GambaSesh though rewrote it to use Websocket.Client and will refactor the JSON parsing once I know exactly what the payload looks like. Presently untested. Also added a new config option to suppress messages, so one can run a local copy of the bot without disturbing anyone and made the Proxy a single config rather than having one for KF and one for Pusher.

This commit is contained in:
barelyprofessional
2024-06-17 19:10:52 +08:00
parent f7278c6d3f
commit ec6c050e23
5 changed files with 209 additions and 37 deletions

View File

@@ -1,6 +1,6 @@
{
"PusherChannels": ["chatrooms.2507974.v2", "channel.2515504"],
"KfProxy": "socks5://us-lax-wg-socks5-203.relays.mullvad.net:1080",
"Proxy": "socks5://us-lax-wg-socks5-203.relays.mullvad.net:1080",
"KfChatRoomId": 15,
"XfTokenValue": "fill this in with the value from xf_session"
"BossmanJackTwitchId": 114122847
}