Adds role specific channels.

This commit is contained in:
Karolis2011
2019-06-20 11:19:39 +03:00
parent 8058bffba5
commit b74c666d05
13 changed files with 555 additions and 18 deletions

View File

@@ -88,7 +88,7 @@ namespace EventBot.Modules
.Aggregate(true, (a, r) => a && r))
.SelectMany(c => c.Aliases.Select(a => new { CI = c, MA = (c.Aliases[0] == a), A = a }).Reverse())
.Select((e, i) => new { Command = e, Index = i })
.GroupBy(o => o.Index / 20)
.GroupBy(o => o.Index / 30)
.Select(g => g.Select(o => o.Command));
var pager = new PaginatedMessage()