Skip to content

Commit

Permalink
allow more people to use blunder command
Browse files Browse the repository at this point in the history
  • Loading branch information
XboxBedrock committed Jul 16, 2024
1 parent 93c4528 commit 40aac61
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/commands/blunder.command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default new Command({
name: "blunder",
aliases: [],
description: "Count the low amount of days since the staff team last made a blunder",
permission: globalThis.client.roles.STAFF,
permission: [globalThis.client.roles.STAFF, globalThis.client.roles.BUILD_TEAM_STAFF, globalThis.client.roles.TEAM_OWNER_STAFF],
subcommands: [
{
name: "commit",
Expand Down Expand Up @@ -88,11 +88,11 @@ export default new Command({
const canManage = message.member
? GuildMember.hasRole(
staffMember,
//Broadly widening permissions for blunder command
[
globalThis.client.roles.MANAGER,
globalThis.client.roles.LEAD_DEVELOPER,
globalThis.client.roles.PR_SUBTEAM_LEAD,
globalThis.client.roles.COMMUNITY_SUBTEAM_LEAD
globalThis.client.roles.STAFF,
globalThis.client.roles.BUILD_TEAM_STAFF,
globalThis.client.roles.TEAM_OWNER_STAFF
],
client
)
Expand Down

0 comments on commit 40aac61

Please sign in to comment.