summaryrefslogtreecommitdiff
path: root/discord/objects.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'discord/objects.cpp')
-rw-r--r--discord/objects.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/discord/objects.cpp b/discord/objects.cpp
index 6eb6ca6..5d451f6 100644
--- a/discord/objects.cpp
+++ b/discord/objects.cpp
@@ -189,6 +189,7 @@ void to_json(nlohmann::json &j, const HeartbeatMessage &m) {
void to_json(nlohmann::json &j, const CreateMessageObject &m) {
j["content"] = m.Content;
+ JS_IF("message_reference", m.MessageReference);
}
void to_json(nlohmann::json &j, const MessageEditObject &m) {