aboutsummaryrefslogtreecommitdiff
path: root/src/commands/config/muteRole.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/config/muteRole.ts')
-rw-r--r--src/commands/config/muteRole.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/commands/config/muteRole.ts b/src/commands/config/muteRole.ts
index a354bcc..2dc34c3 100644
--- a/src/commands/config/muteRole.ts
+++ b/src/commands/config/muteRole.ts
@@ -1,4 +1,3 @@
-import { ApplicationCommandOptionType } from 'discord-api-types';
import { Role } from 'discord.js';
import { BushCommand } from '../../lib/extensions/BushCommand';
import { BushMessage } from '../../lib/extensions/BushMessage';
@@ -31,7 +30,7 @@ export default class MuteRoleCommand extends BushCommand {
slash: true,
slashOptions: [
{
- type: ApplicationCommandOptionType.ROLE,
+ type: 'ROLE',
name: 'role',
description: "What would you like to set the server's mute role to?",
required: true