.lcr all now shows ids and text of the reaction
This commit is contained in:
parent
8421ba8247
commit
342f3e1579
@ -172,7 +172,7 @@ namespace NadekoBot.Modules.CustomReactions
|
||||
{
|
||||
var txtStream = await customReactions.GroupBy(cr => cr.Trigger)
|
||||
.OrderBy(cr => cr.Key)
|
||||
.Select(cr => new { Trigger = cr.Key, Responses = cr.Select(y => y.Response).ToList() })
|
||||
.Select(cr => new { Trigger = cr.Key, Responses = cr.Select(y => new { id = y.Response, text = y.Response }).ToList() })
|
||||
.ToJson()
|
||||
.ToStream()
|
||||
.ConfigureAwait(false);
|
||||
|
Loading…
Reference in New Issue
Block a user