mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Add UnLoadBot to ChatBot API (#1164)
Add UnloadBot Add BotList Update VkMessager Remove debug info
This commit is contained in:
parent
55f8988bbc
commit
712875251e
2 changed files with 32 additions and 0 deletions
|
|
@ -35,6 +35,8 @@ namespace MinecraftClient
|
|||
public void SetHandler(McClient handler) { this._handler = handler; }
|
||||
protected void SetMaster(ChatBot master) { this.master = master; }
|
||||
protected void LoadBot(ChatBot bot) { Handler.BotUnLoad(bot); Handler.BotLoad(bot); }
|
||||
protected List<ChatBot> GetLoadedChatBots() { return Handler.GetLoadedChatBots(); }
|
||||
protected void UnLoadBot(ChatBot bot) { Handler.BotUnLoad(bot); }
|
||||
private McClient _handler = null;
|
||||
private ChatBot master = null;
|
||||
private List<string> registeredPluginChannels = new List<String>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue