Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
fix(bot/colour): create role with no permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
cherryblossom000 committed Feb 20, 2022
1 parent a375309 commit 91ce594
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/bot/src/commands/slash/colour.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 91ce594

Please sign in to comment.