From 3bad28aa182daab7cab6a8205b0461b65f15fbb1 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Mon, 26 Dec 2016 06:20:35 +0100 Subject: [PATCH] I'm a monkey --- src/NadekoBot/Modules/CustomReactions/CustomReactions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NadekoBot/Modules/CustomReactions/CustomReactions.cs b/src/NadekoBot/Modules/CustomReactions/CustomReactions.cs index f2475af5..ed1224e3 100644 --- a/src/NadekoBot/Modules/CustomReactions/CustomReactions.cs +++ b/src/NadekoBot/Modules/CustomReactions/CustomReactions.cs @@ -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 => new { id = y.Response, text = y.Response }).ToList() }) + .Select(cr => new { Trigger = cr.Key, Responses = cr.Select(y => new { id = y.Id, text = y.Response }).ToList() }) .ToJson() .ToStream() .ConfigureAwait(false);