From cbc65bf766c1241980961bcca999adf69c80dba0 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Thu, 1 Jul 2021 02:03:41 -0400 Subject: re-add suppport for static (a)png stickers --- discord/message.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'discord/message.cpp') diff --git a/discord/message.cpp b/discord/message.cpp index b072ba8..70c557d 100644 --- a/discord/message.cpp +++ b/discord/message.cpp @@ -218,6 +218,7 @@ void from_json(const nlohmann::json &j, Message &m) { m.ReferencedMessage = nullptr; } JS_O("interaction", m.Interaction); + JS_O("sticker_items", m.StickerItems); } void Message::from_json_edited(const nlohmann::json &j) { @@ -244,6 +245,7 @@ void Message::from_json_edited(const nlohmann::json &j) { JS_O("flags", Flags); JS_O("stickers", Stickers); JS_O("interaction", Interaction); + JS_O("sticker_items", StickerItems); } void Message::SetDeleted() { -- cgit v1.2.3