diff options
Diffstat (limited to 'discord/objects.cpp')
-rw-r--r-- | discord/objects.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/discord/objects.cpp b/discord/objects.cpp index 7d44ece..c96ae67 100644 --- a/discord/objects.cpp +++ b/discord/objects.cpp @@ -191,6 +191,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); + JS_IF("nonce", m.Nonce); } void to_json(nlohmann::json &j, const MessageEditObject &m) { |