mirror of
https://github.com/uowuo/abaddon.git
synced 2026-08-15 05:19:58 +00:00
add MESSAGE_DELETE handling
This commit is contained in:
1 parent
4e7ae1af1d
commit
299ecc71d9
12 files changed
+73
No files matched your search
@@ -155,6 +155,12 @@ void from_json(const nlohmann::json &j, MessageData &m) {
|
||||
JS_O("flags", m.Flags);
|
||||
}
|
||||
|
||||
void from_json(const nlohmann::json &j, MessageDeleteData &m) {
|
||||
JS_D("id", m.ID);
|
||||
JS_D("channel_id", m.ChannelID);
|
||||
JS_O("guild_id", m.GuildID);
|
||||
}
|
||||
|
||||
void from_json(const nlohmann::json &j, ReadyEventData &m) {
|
||||
JS_D("v", m.GatewayVersion);
|
||||
JS_D("user", m.User);
|
||||
|
||||
Reference in new issue
Block a user