From a51e2f1907ced2c6f9f9d1e37b8d7bda10c9f005 Mon Sep 17 00:00:00 2001 From: Madpeter Date: Thu, 23 Apr 2020 20:03:52 +0100 Subject: [PATCH] removes the old CLI stuff that was replaced with json config --- CLI/Cli.cs | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/CLI/Cli.cs b/CLI/Cli.cs index d3d41b8..18ff026 100644 --- a/CLI/Cli.cs +++ b/CLI/Cli.cs @@ -46,35 +46,6 @@ namespace BetterSecondBot } } } - class Options : API_supported_interface - { - [Option('j', "json", Required = false, HelpText = "see api")] - public string Json { get; set; } - - public override int ApiCommandsCount { get { return 1; } } - - public override string[] GetCommandsList() - { - return new string[] { "j"}; - } - public override string[] GetCommandArgTypes(string cmd) - { - return new string[] { "Text" }; - } - public override string[] GetCommandArgHints(string cmd) - { - return new string[] { "\"Bot4.json\"" }; - } - - public override string GetCommandHelp(string cmd) - { - return "json config file [Defaults to: mybot.json]
Example: \"BetterSecondBot.exe -j=otherbot.json\""; - } - public override int GetCommandArgs(string cmd) - { - return 1; - } - } }