summaryrefslogtreecommitdiff
path: root/discord/message.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'discord/message.hpp')
-rw-r--r--discord/message.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/message.hpp b/discord/message.hpp
index f88ae6e..7b2a051 100644
--- a/discord/message.hpp
+++ b/discord/message.hpp
@@ -202,6 +202,8 @@ struct Message {
void from_json_edited(const nlohmann::json &j); // for MESSAGE_UPDATE
// custom fields to track changes
+ bool IsPending = false; // for user-sent messages yet to be received in a MESSAGE_CREATE
+
void SetDeleted();
void SetEdited();
bool IsDeleted() const;