Skip to content

Commit

Permalink
fix: fix issue with adding moderator
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-737 committed Dec 16, 2024
1 parent a32e418 commit 1a75107
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/commands/slash/Main/hub/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { HubSettingsBits } from '#main/modules/BitFields.js';
import { HubService } from '#main/services/HubService.js';
import db from '#utils/Db.js';
import { escapeRegexChars, handleError, toTitleCase } from '#utils/Utils.js';
import { Role } from '@prisma/client';
import {
APIApplicationCommandBasicOption,
ApplicationCommandOptionType,
Expand Down Expand Up @@ -158,9 +159,9 @@ export default class HubCommand extends BaseCommand {
description: 'Determines what hub permissions they have.',
required: false,
choices: [
{ name: 'Network Moderator', value: 'network_mod' },
{ name: 'Hub Manager', value: 'manager' },
],
{ name: 'Network Moderator', value: 'MODERATOR' },
{ name: 'Hub Manager', value: 'MANAGER' },
] as { name: string; value: Role }[],
},
],
},
Expand Down

0 comments on commit 1a75107

Please sign in to comment.