Files
KfChatDotNet/KfChatDotNetKickBot/Models.cs
barelyprofessional 9f92fc8e27 Initial commit
2024-03-25 20:11:49 +08:00

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; }
}
}