More oauth2 role thingies

This commit is contained in:
Rory&
2026-06-28 01:25:07 +02:00
parent c81cc8ae9d
commit e088421b21
+3
View File
@@ -223,6 +223,9 @@ router.post(
guild_id: body.guild_id,
color: 0,
colors: { primary_color: 0 },
hoist: false,
mentionable: false,
position: 1, // TODO: calculate actual position and move stuff around
});
await role.save();
await Member.addRole(body.guild_id, req.user_id, role.id);