aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moderation/unlockdown.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/moderation/unlockdown.ts')
-rw-r--r--src/commands/moderation/unlockdown.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/commands/moderation/unlockdown.ts b/src/commands/moderation/unlockdown.ts
index 38d2fe6..09b78a0 100644
--- a/src/commands/moderation/unlockdown.ts
+++ b/src/commands/moderation/unlockdown.ts
@@ -1,6 +1,6 @@
import { LockdownCommand } from '#commands';
-import { BotCommand, clientSendAndPermCheck, type ArgType, type CommandMessage, type OptArgType, type SlashMessage } from '#lib';
-import { ApplicationCommandOptionType, Constants, PermissionFlagsBits } from 'discord.js';
+import { BotCommand, type ArgType, type CommandMessage, type OptArgType, type SlashMessage } from '#lib';
+import { ApplicationCommandOptionType, Constants } from 'discord.js';
export default class UnlockdownCommand extends BotCommand {
public constructor() {
@@ -41,8 +41,8 @@ export default class UnlockdownCommand extends BotCommand {
],
slash: true,
channel: 'guild',
- clientPermissions: (m) => clientSendAndPermCheck(m, [PermissionFlagsBits.ManageChannels]),
- userPermissions: [PermissionFlagsBits.ManageChannels]
+ clientPermissions: ['ManageChannels'],
+ userPermissions: ['ManageChannels']
});
}