diff --git a/BrackeysBot/Plugins/SimplePluginManager.cs b/BrackeysBot/Plugins/SimplePluginManager.cs index 6255bd9..29801d1 100644 --- a/BrackeysBot/Plugins/SimplePluginManager.cs +++ b/BrackeysBot/Plugins/SimplePluginManager.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.IO; using System.Linq; @@ -292,7 +292,7 @@ public IPlugin LoadPlugin(string name) commandsNext.UnregisterConverter(); commandsNext.RegisterConverter(new TimeSpanArgumentConverter()); - string[] commandNames = commandsNext.RegisteredCommands.Keys.ToArray(); + string[] commandNames = commandsNext.RegisteredCommands.Keys.OrderBy(c => c).ToArray(); Logger.Info(string.Format(LoggerMessages.PluginRegisteredCommands, pluginInfo.Name, commandNames.Length, string.Join(", ", commandNames)));