aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moderation/ban.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/moderation/ban.ts')
-rw-r--r--src/commands/moderation/ban.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands/moderation/ban.ts b/src/commands/moderation/ban.ts
index fdb8033..aee8805 100644
--- a/src/commands/moderation/ban.ts
+++ b/src/commands/moderation/ban.ts
@@ -14,7 +14,7 @@ import {
type SlashMessage
} from '#lib';
import assert from 'assert/strict';
-import { ApplicationCommandOptionType, PermissionFlagsBits, type User } from 'discord.js';
+import { ApplicationCommandOptionType, type User } from 'discord.js';
export default class BanCommand extends BotCommand {
public constructor() {
@@ -70,8 +70,8 @@ export default class BanCommand extends BotCommand {
],
slash: true,
channel: 'guild',
- clientPermissions: [PermissionFlagsBits.BanMembers],
- userPermissions: [PermissionFlagsBits.BanMembers]
+ clientPermissions: ['BanMembers'],
+ userPermissions: ['BanMembers']
});
}