mirror of
https://github.com/uowuo/abaddon.git
synced 2026-08-15 05:19:58 +00:00
manage emojis
This commit is contained in:
1 parent
65943b4bd7
commit
60404783bd
15 files changed
+565
-8
No files matched your search
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user