mirror of
https://github.com/spacebarchat/server.git
synced 2026-07-18 08:26:14 +00:00
Fix oauth2 not setting role colors
This commit is contained in:
@@ -221,6 +221,8 @@ router.post(
|
||||
name: app.name,
|
||||
permissions: body.permissions,
|
||||
guild_id: body.guild_id,
|
||||
color: 0,
|
||||
colors: { primary_color: 0 },
|
||||
});
|
||||
await role.save();
|
||||
await Member.addRole(body.guild_id, req.user_id, role.id);
|
||||
|
||||
Reference in New Issue
Block a user