mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-04-30 03:22:04 -04:00
24 lines
955 B
C#
24 lines
955 B
C#
namespace KfChatDotNetKickBot;
|
|
|
|
public class Models
|
|
{
|
|
public class ConfigModel
|
|
{
|
|
public Uri PusherEndpoint { get; set; } =
|
|
new("wss://ws-us2.pusher.com/app/eb1d5f283081a78b932c?protocol=7&client=js&version=7.6.0&flash=false");
|
|
|
|
public Uri KfWsEndpoint { get; set; } = new("wss://kiwifarms.st:9443/chat.ws");
|
|
|
|
public List<string> PusherChannels { get; set; } = [];
|
|
public int KfChatRoomId { get; set; }
|
|
// Proxy to use for connecting to Sneedchat
|
|
public string? KfProxy { get; set; }
|
|
// Proxy to use for the Pusher websocket
|
|
// e.g. socks5://blahblah:1080
|
|
public string? PusherProxy { get; set; }
|
|
public int KfReconnectTimeout { get; set; } = 30;
|
|
public int PusherReconnectTimeout { get; set; } = 30;
|
|
// Todo: Find a way to extract this from the browser as it's not valid forever
|
|
public string? XfTokenValue { get; set; }
|
|
}
|
|
} |