mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Initial commit
This commit is contained in:
24
KfChatDotNetKickBot/Models.cs
Normal file
24
KfChatDotNetKickBot/Models.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user