From 91ce594279c18ce8c685bd6b1d2709188e4db847 Mon Sep 17 00:00:00 2001 From: cherryblossom <31467609+cherryblossom000@users.noreply.github.com> Date: Mon, 21 Feb 2022 09:23:09 +1100 Subject: [PATCH] fix(bot/colour): create role with no permissions --- packages/bot/src/commands/slash/colour.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/bot/src/commands/slash/colour.ts b/packages/bot/src/commands/slash/colour.ts index 7d1566d..ee9fe5b 100644 --- a/packages/bot/src/commands/slash/colour.ts +++ b/packages/bot/src/commands/slash/colour.ts @@ -79,6 +79,7 @@ const set = async ( (await guild.roles.create({ name: hexColour, color: colour, + permissions: 0n, position: newPosition === undefined ? guild.me?.roles.highest.position