CHANNEL_RECIPIENT_ADD, CHANNEL_RECIPIENT_REMOVE

This commit is contained in:
ouwou committed 2020-12-22 23:52:41 -05:00
1 parent cb18543c50
commit dbd8564af7
4 files changed
+55

No files matched your search

+10
View File
@@ -229,3 +229,13 @@ void from_json(const nlohmann::json &j, MessageReactionRemoveObject &m) {
JS_O("guild_id", m.GuildID);
JS_D("emoji", m.Emoji);
}
void from_json(const nlohmann::json &j, ChannelRecipientAdd &m) {
JS_D("user", m.User);
JS_D("channel_id", m.ChannelID);
}
void from_json(const nlohmann::json &j, ChannelRecipientRemove &m) {
JS_D("user", m.User);
JS_D("channel_id", m.ChannelID);
}