From b97722e93775d8778400d42f30299d55682906f1 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Mon, 2 Nov 2020 17:36:10 -0500 Subject: show non-lottie stickers statically --- 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 6deb63a..66b806f 100644 --- a/discord/message.cpp +++ b/discord/message.cpp @@ -109,6 +109,7 @@ void from_json(const nlohmann::json &j, Message &m) { // JS_O("application", m.Application); // JS_O("message_reference", m.MessageReference); JS_O("flags", m.Flags); + JS_O("stickers", m.Stickers); } void Message::from_json_edited(const nlohmann::json &j) { @@ -130,6 +131,7 @@ void Message::from_json_edited(const nlohmann::json &j) { JS_O("webhook_id", WebhookID); JS_O("type", Type); JS_O("flags", Flags); + JS_O("stickers", Stickers); } void Message::SetDeleted() { -- cgit v1.2.3