mirror of
https://github.com/uowuo/abaddon.git
synced 2026-08-15 05:19:58 +00:00
CHANNEL_RECIPIENT_ADD, CHANNEL_RECIPIENT_REMOVE
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user