manage emojis

This commit is contained in:
ouwou committed 2021-03-17 23:55:41 -04:00
1 parent 65943b4bd7
commit 60404783bd
15 files changed
+565 -8

No files matched your search

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