CHANNEL_RECIPIENT_ADD, CHANNEL_RECIPIENT_REMOVE

This commit is contained in:
ouwou
2020-12-22 23:52:41 -05:00
parent cb18543c50
commit dbd8564af7
4 changed files with 55 additions and 0 deletions

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);
}