handle MESSAGE_DELETE_BULK

This commit is contained in:
ouwou committed 2020-10-01 19:13:42 -04:00
1 parent 9cb0eefa56
commit dddcef117c
4 files changed
+30 -1

No files matched your search

+6
View File
@@ -18,6 +18,12 @@ void from_json(const nlohmann::json &j, MessageDeleteData &m) {
JS_O("guild_id", m.GuildID);
}
void from_json(const nlohmann::json &j, MessageDeleteBulkData &m) {
JS_D("ids", m.IDs);
JS_D("channel_id", m.ChannelID);
JS_O("guild_id", m.GuildID);
}
void from_json(const nlohmann::json &j, GuildMemberListUpdateMessage::GroupItem &m) {
m.Type = "group";
JS_D("id", m.ID);