Пример #1
0
 public override void OnBotCommand(string command)
 {
     Log.Debug("Received command via console: " + command);
     if (command == "craft")
     {
         AutoCraftAll();
     }
     if (command == "stop")
     {
         Bot.StopBot();
     }
     if (command == "start")
     {
         Bot.RestartBot();
     }
 }