aboutsummaryrefslogtreecommitdiff
path: root/src/commands/config/features.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/config/features.ts')
-rw-r--r--src/commands/config/features.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands/config/features.ts b/src/commands/config/features.ts
index 04c0425..2e7d623 100644
--- a/src/commands/config/features.ts
+++ b/src/commands/config/features.ts
@@ -10,7 +10,7 @@ import {
ActionRow,
ComponentType,
Embed,
- Permissions,
+ PermissionFlagsBits,
SelectMenuComponent,
SelectMenuOption,
type Message,
@@ -27,8 +27,8 @@ export default class FeaturesCommand extends BushCommand {
examples: ['features'],
slash: true,
channel: 'guild',
- clientPermissions: (m) => util.clientSendAndPermCheck(m, [Permissions.FLAGS.EMBED_LINKS], true),
- userPermissions: [Permissions.FLAGS.MANAGE_GUILD]
+ clientPermissions: (m) => util.clientSendAndPermCheck(m, [PermissionFlagsBits.EmbedLinks], true),
+ userPermissions: [PermissionFlagsBits.ManageGuild]
});
}