diff --git a/BetterSecondbot/WikiMake/wikimake.cs b/BetterSecondbot/WikiMake/wikimake.cs index a3ea493..0f14c1f 100644 --- a/BetterSecondbot/WikiMake/wikimake.cs +++ b/BetterSecondbot/WikiMake/wikimake.cs @@ -304,6 +304,13 @@ namespace BetterSecondBot.WikiMake protected void HTTPWiki() { + mdWiki.AppendLine("View as [HTML](https://wiki.blackatom.live/files/Commands.html)"); + mdWiki.AppendLine(" "); + mdWiki.AppendLine("Host it yourself: [+Docker image](https://hub.docker.com/r/madpeter/secondbot_wiki)"); + mdWiki.AppendLine(" "); + mdWiki.AppendLine("---"); + mdWiki.AppendLine("# Commands list"); + LogFormater.Info("[WIKI] Starting area HTTP endpoint"); HTTPendpoint HTTP = new HTTPendpoint(); @@ -315,13 +322,6 @@ namespace BetterSecondBot.WikiMake // create commands HTTPCommands("Commands", HTTP); - mdWiki.AppendLine("View as [HTML](https://wiki.blackatom.live/files/Commands.html)"); - mdWiki.AppendLine(" "); - mdWiki.AppendLine("Host it yourself: [+Docker image](https://hub.docker.com/r/madpeter/secondbot_wiki)"); - mdWiki.AppendLine(" "); - mdWiki.AppendLine("---"); - mdWiki.AppendLine("# Commands list"); - io.WriteFile("../commands.md", mdWiki.ToString()); HTTP = null; diff --git a/commands.md b/commands.md index ea8504f..a823630 100644 --- a/commands.md +++ b/commands.md @@ -1,3 +1,9 @@ +View as [HTML](https://wiki.blackatom.live/files/Commands.html) + +Host it yourself: [+Docker image](https://hub.docker.com/r/madpeter/secondbot_wiki) + +--- +# Commands list ## animation ### AddToAllowAnimations @@ -3676,9 +3682,3 @@ A streamadin command - [:x:] Token not accepted -View as [HTML](https://wiki.blackatom.live/files/Commands.html) - -Host it yourself: [+Docker image](https://hub.docker.com/r/madpeter/secondbot_wiki) - ---- -# Commands list