added colours to list of commands
This commit is contained in:
parent
f00bedaecb
commit
cb96837678
@ -158,7 +158,7 @@ namespace NadekoBot.Extensions
|
||||
public static Task<IUserMessage> SendTableAsync<T>(this IMessageChannel ch, string seed, IEnumerable<T> items, Func<T, string> 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)))))}
|
||||
```");
|
||||
|
Loading…
Reference in New Issue
Block a user