Added the Web Socket Chat Bot.

This commit is contained in:
Milutinke 2022-10-20 19:29:35 +02:00
parent 0e7423d1d9
commit ed910aa9c7
9 changed files with 1272 additions and 3 deletions

View file

@ -567,7 +567,7 @@ namespace MinecraftClient
public enum ForgeConfigType { no, auto, force };
public enum TerminalColorDepthType { bit_4, bit_8, bit_24};
public enum TerminalColorDepthType { bit_4, bit_8, bit_24 };
}
public struct AccountInfoConfig
@ -1152,6 +1152,13 @@ namespace MinecraftClient
get { return ChatBots.ScriptScheduler.Config; }
set { ChatBots.ScriptScheduler.Config = value; ChatBots.ScriptScheduler.Config.OnSettingUpdate(); }
}
[TomlPrecedingComment("$config.ChatBot.WebSocketBot$")]
public ChatBots.WebSocketBot.Configs WebSocketBot
{
get { return ChatBots.WebSocketBot.Config!; }
set { ChatBots.WebSocketBot.Config = value; }
}
}
}