Compare commits

..

No commits in common. "master" and "20250522-284" have entirely different histories.

3 changed files with 1360 additions and 6 deletions

File diff suppressed because it is too large Load diff

View file

@ -346,6 +346,7 @@ 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

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