From cb96837678ce0aef1ca0cced7e199259976e28da Mon Sep 17 00:00:00 2001 From: samvaio Date: Sat, 19 Nov 2016 23:51:45 +0530 Subject: [PATCH] added colours to list of commands --- src/NadekoBot/_Extensions/Extensions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}