Temporarily removed WebSocket bot because of a false positive virus detection. I will make it in to a standalone bot later.

This commit is contained in:
Anon 2025-05-22 13:56:27 +02:00
parent ef7aa04e47
commit 8b20973b02
3 changed files with 6 additions and 1360 deletions

File diff suppressed because it is too large Load diff

View file

@ -346,7 +346,6 @@ namespace MinecraftClient
if (Config.ChatBot.ScriptScheduler.Enabled) { BotLoad(new ScriptScheduler()); } if (Config.ChatBot.ScriptScheduler.Enabled) { BotLoad(new ScriptScheduler()); }
if (Config.ChatBot.TelegramBridge.Enabled) { BotLoad(new TelegramBridge()); } if (Config.ChatBot.TelegramBridge.Enabled) { BotLoad(new TelegramBridge()); }
if (Config.ChatBot.ItemsCollector.Enabled) { BotLoad(new ItemsCollector()); } if (Config.ChatBot.ItemsCollector.Enabled) { BotLoad(new ItemsCollector()); }
if (Config.ChatBot.WebSocketBot.Enabled) { BotLoad(new WebSocketBot()); }
//Add your ChatBot here by uncommenting and adapting //Add your ChatBot here by uncommenting and adapting
//BotLoad(new ChatBots.YourBot()); //BotLoad(new ChatBots.YourBot());
} }

View file

@ -1429,19 +1429,16 @@ namespace MinecraftClient
get { return ChatBots.TelegramBridge.Config; } get { return ChatBots.TelegramBridge.Config; }
set { ChatBots.TelegramBridge.Config = value; ChatBots.TelegramBridge.Config.OnSettingUpdate(); } set { ChatBots.TelegramBridge.Config = value; ChatBots.TelegramBridge.Config.OnSettingUpdate(); }
} }
[TomlPrecedingComment("$ChatBot.ItemsCollector$")] [TomlPrecedingComment("$ChatBot.ItemsCollector$")]
public ChatBots.ItemsCollector.Configs ItemsCollector public ChatBots.ItemsCollector.Configs ItemsCollector
{ {
get { return ChatBots.ItemsCollector.Config; } get { return ChatBots.ItemsCollector.Config; }
set { ChatBots.ItemsCollector.Config = value; ChatBots.ItemsCollector.Config.OnSettingUpdate(); } set
} {
ChatBots.ItemsCollector.Config = value;
[TomlPrecedingComment("$ChatBot.WebSocketBot$")] ChatBots.ItemsCollector.Config.OnSettingUpdate();
public ChatBots.WebSocketBot.Configs WebSocketBot }
{
get { return ChatBots.WebSocketBot.Config!; }
set { ChatBots.WebSocketBot.Config = value; }
} }
} }
} }