diff --git a/src/NadekoBot/Modules/Help/Help.cs b/src/NadekoBot/Modules/Help/Help.cs index e24c3677..c026e996 100644 --- a/src/NadekoBot/Modules/Help/Help.cs +++ b/src/NadekoBot/Modules/Help/Help.cs @@ -38,7 +38,7 @@ namespace NadekoBot.Modules.Help public async Task Modules(IUserMessage umsg) { - await umsg.Channel.SendMessageAsync("šŸ“œ **List of modules:** ```xl\nā€¢ " + string.Join("\nā€¢ ", _commands.Modules.Select(m => m.Name)) + $"\n``` ā„¹ļø **Type** `-commands module_name` **to get a list of commands in that module.** ***e.g.*** `-commands games`") + await umsg.Channel.SendMessageAsync("šŸ“œ **List of modules:** ```css\nā€¢ " + string.Join("\nā€¢ ", _commands.Modules.Select(m => m.Name)) + $"\n``` ā„¹ļø **Type** `-commands module_name` **to get a list of commands in that module.** ***e.g.*** `-commands games`") .ConfigureAwait(false); } diff --git a/src/NadekoBot/Modules/Utility/Commands/InfoCommands.cs b/src/NadekoBot/Modules/Utility/Commands/InfoCommands.cs index 00df0f9c..dbceb1a2 100644 --- a/src/NadekoBot/Modules/Utility/Commands/InfoCommands.cs +++ b/src/NadekoBot/Modules/Utility/Commands/InfoCommands.cs @@ -51,7 +51,7 @@ __`Owner:`__ **{await server.GetUserAsync(server.OwnerId)}** __`ID:`__ **{server.Id}** __`Icon URL:`__ { server.IconUrl} __`TextChannels:`__ **{(await server.GetTextChannelsAsync()).Count()}** `VoiceChannels:` **{(await server.GetVoiceChannelsAsync()).Count()}** -__`Members:`__ **{users.Count}** `-` {users.Count(u => u.Status == UserStatus.Online)}:green_heart: {users.Count(u => u.Status == UserStatus.Idle)}:yellow_heart: {users.Count(u => u.Status == UserStatus.DoNotDisturb)}:heart: {users.Count(u=> u.Status == UserStatus.Offline || u.Status == UserStatus.Unknown)}:black_heart: +__`Members:`__ **{users.Count}** `-` {users.Count(u => u.Status == UserStatus.Online)}šŸ’š {users.Count(u => u.Status == UserStatus.Idle)}šŸ”¶ {users.Count(u => u.Status == UserStatus.DoNotDisturb)}šŸ”“ {users.Count(u=> u.Status == UserStatus.Offline || u.Status == UserStatus.Unknown)}ā¬›ļø __`Roles:`__ **{server.Roles.Count()}** __`Created At:`__ **{createdAt.ToString("dd.MM.yyyy HH:mm")}** "); diff --git a/src/NadekoBot/Services/Impl/StatsService.cs b/src/NadekoBot/Services/Impl/StatsService.cs index 9e07d12b..1c1cb367 100644 --- a/src/NadekoBot/Services/Impl/StatsService.cs +++ b/src/NadekoBot/Services/Impl/StatsService.cs @@ -64,8 +64,8 @@ namespace NadekoBot.Services.Impl return $@"```css Author: [Kwoth#2560] | Library: [Discord.Net] Bot Version: [{BotVersion}] -Bot id: {curUser.Id} -Owners Ids: {string.Join(", ", NadekoBot.Credentials.OwnerIds)} +Bot ID: {curUser.Id} +Owner ID(s): {string.Join(", ", NadekoBot.Credentials.OwnerIds)} Uptime: {GetUptimeString()} Servers: {client.GetGuilds().Count} | TextChannels: {client.GetGuilds().SelectMany(g => g.GetChannels().Where(c => c is ITextChannel)).Count()} | VoiceChannels: {client.GetGuilds().SelectMany(g => g.GetChannels().Where(c => c is IVoiceChannel)).Count()} Commands Ran this session: {commandsRan} diff --git a/src/NadekoBot/_Extensions/Extensions.cs b/src/NadekoBot/_Extensions/Extensions.cs index d2917856..04159315 100644 --- a/src/NadekoBot/_Extensions/Extensions.cs +++ b/src/NadekoBot/_Extensions/Extensions.cs @@ -158,7 +158,7 @@ namespace NadekoBot.Extensions public static Task SendTableAsync(this IMessageChannel ch, string seed, IEnumerable items, Func howToPrint, int columns = 3) { var i = 0; - return ch.SendMessageAsync($@"{seed}```xl + return ch.SendMessageAsync($@"{seed}```css {string.Join("\n", items.GroupBy(item => (i++) / columns) .Select(ig => string.Concat(ig.Select(el => howToPrint(el)))))} ```"); @@ -346,4 +346,4 @@ namespace NadekoBot.Extensions public static bool IsDiscordInvite(this string str) => filterRegex.IsMatch(str); } -} \ No newline at end of file +}