add members panel/change member roles

This commit is contained in:
ouwou
2021-02-28 02:00:15 -05:00
parent 11358da24e
commit d6a8b8c333
16 changed files with 619 additions and 2 deletions

View File

@@ -363,3 +363,7 @@ void from_json(const nlohmann::json &j, UserNoteUpdateMessage &m) {
void from_json(const nlohmann::json &j, RelationshipsData &m) {
j.get_to(m.Users);
}
void to_json(nlohmann::json &j, const ModifyGuildMemberObject &m) {
JS_IF("roles", m.Roles);
}