summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-06-28 01:06:20 +0200
committerRory& <root@rory.gay>2026-06-28 01:06:20 +0200
commitc81cc8ae9dcfa5d7ce6d89a29e11ae3d7b446d56 (patch)
tree516d719c882006bf55c93049b07e2bb7d1274827
parentGuard embedless messages when checking for poll results, add reply tests (diff)
downloadserver-ts-c81cc8ae9dcfa5d7ce6d89a29e11ae3d7b446d56.tar.xz
Fix oauth2 not setting role colors
-rw-r--r--src/api/routes/oauth2/authorize.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/api/routes/oauth2/authorize.ts b/src/api/routes/oauth2/authorize.ts

index f4c27f99..72351042 100644 --- a/src/api/routes/oauth2/authorize.ts +++ b/src/api/routes/oauth2/authorize.ts
@@ -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);