manage emojis

This commit is contained in:
ouwou
2021-03-17 23:55:41 -04:00
parent 65943b4bd7
commit 60404783bd
15 changed files with 565 additions and 8 deletions

View File

@@ -386,3 +386,11 @@ void to_json(nlohmann::json &j, const ModifyGuildRolePositionsObject::PositionPa
void to_json(nlohmann::json &j, const ModifyGuildRolePositionsObject &m) {
j = m.Positions;
}
void from_json(const nlohmann::json &j, GuildEmojisUpdateObject &m) {
JS_D("guild_id", m.GuildID);
}
void to_json(nlohmann::json &j, const ModifyGuildEmojiObject &m) {
JS_IF("name", m.Name);
}