diff --git a/NadekoBot/Classes/NadekoStats.cs b/NadekoBot/Classes/NadekoStats.cs index f5f7766f..66ef0984 100644 --- a/NadekoBot/Classes/NadekoStats.cs +++ b/NadekoBot/Classes/NadekoStats.cs @@ -206,7 +206,7 @@ namespace NadekoBot private async void StatsCollector_RanCommand(object sender, CommandEventArgs e) { - Console.WriteLine($">>Command {e.Command.Text}"); + Console.WriteLine($">> Cmd: {e.Command.Text}\nMsg: {e.Message.Text}\nUsr: {e.User.Name} [{e.User.Id}]\nSrvr: {e.Server?.Name ?? "PRIVATE"} [{e.Server?.Id}]\n-----"); await Task.Run(() => { try diff --git a/NadekoBot/Modules/Administration/AdministrationModule.cs b/NadekoBot/Modules/Administration/AdministrationModule.cs index f88c24b3..eb2ae46d 100644 --- a/NadekoBot/Modules/Administration/AdministrationModule.cs +++ b/NadekoBot/Modules/Administration/AdministrationModule.cs @@ -987,14 +987,15 @@ namespace NadekoBot.Modules.Administration return; var en = e.Server.Users .Where(u => u.CurrentGame?.Name?.ToUpperInvariant() == game) - .Select(u => $"{u.Name}"); + .Select(u => u.Name); var arr = en as string[] ?? en.ToArray(); + int i = 0; if (arr.Length == 0) await e.Channel.SendMessage("Nobody. (not 100% sure)"); else - await e.Channel.SendMessage("• " + string.Join("\n• ", arr)); + await e.Channel.SendMessage("```xl\n" + string.Join("\n", arr.GroupBy(item => (i++) / 3).Select(ig => string.Join("", ig.Select(el => $"• {el,-35}")))) + "\n```"); }); }); diff --git a/NadekoBot/Modules/Help/Commands/HelpCommand.cs b/NadekoBot/Modules/Help/Commands/HelpCommand.cs index 444cbeab..706dac39 100644 --- a/NadekoBot/Modules/Help/Commands/HelpCommand.cs +++ b/NadekoBot/Modules/Help/Commands/HelpCommand.cs @@ -29,13 +29,14 @@ namespace NadekoBot.Classes.Help.Commands }).ConfigureAwait(false); }; public static string HelpString => (NadekoBot.IsBot - ? $"To add me to your server, use this link** -> \n" + ? $"To add me to your server, use this link -> \n" : $"To invite me to your server, just send me an invite link here.") + $"You can use `{NadekoBot.Config.CommandPrefixes.Help}modules` command to see a list of all modules.\n" + $"You can use `{NadekoBot.Config.CommandPrefixes.Help}commands ModuleName`" + $" (for example `{NadekoBot.Config.CommandPrefixes.Help}commands Administration`) to see a list of all of the commands in that module.\n" + - $"For a specific command help, use `{NadekoBot.Config.CommandPrefixes.Help}h \"Command name\"` (for example `-h \"!m q\"`)\n" + - "**LIST OF COMMANDS CAN BE FOUND ON THIS LINK**\n\n "; + $"For a specific command help, use `{NadekoBot.Config.CommandPrefixes.Help}h \"Command name\"` (for example `-h \"!m q\"`)\n\n" + + "**LIST OF COMMANDS CAN BE FOUND ON THIS LINK**\n\n \n\n" + + "Nadeko Support Server: "; public static string DMHelpString => NadekoBot.Config.DMHelpString;