mirror of
https://github.com/celisej567/abaddon.git
synced 2026-09-13 20:18:50 +03:00
bump gateway version to 8
This commit is contained in:
@@ -6,9 +6,8 @@ void from_json(const nlohmann::json &j, Role &m) {
|
||||
JS_D("color", m.Color);
|
||||
JS_D("hoist", m.IsHoisted);
|
||||
JS_D("position", m.Position);
|
||||
JS_D("permissions", m.PermissionsLegacy);
|
||||
std::string tmp;
|
||||
JS_D("permissions_new", tmp);
|
||||
JS_D("permissions", tmp);
|
||||
m.Permissions = static_cast<Permission>(std::stoull(tmp));
|
||||
JS_D("managed", m.IsManaged);
|
||||
JS_D("mentionable", m.IsMentionable);
|
||||
|
||||
Reference in New Issue
Block a user