aboutsummaryrefslogtreecommitdiff
path: root/src/commands/config/log.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/config/log.ts')
-rw-r--r--src/commands/config/log.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/config/log.ts b/src/commands/config/log.ts
index 4c9a20b..79f9258 100644
--- a/src/commands/config/log.ts
+++ b/src/commands/config/log.ts
@@ -1,6 +1,6 @@
import { BushCommand, guildLogsArr, type ArgType, type BushMessage, type BushSlashMessage, type GuildLogType } from '#lib';
import { ArgumentGeneratorReturn } from 'discord-akairo';
-import { ApplicationCommandOptionType, ChannelType, Permissions } from 'discord.js';
+import { ApplicationCommandOptionType, ChannelType, PermissionFlagsBits } from 'discord.js';
export default class LogCommand extends BushCommand {
public constructor() {
@@ -38,7 +38,7 @@ export default class LogCommand extends BushCommand {
],
channel: 'guild',
clientPermissions: (m) => util.clientSendAndPermCheck(m),
- userPermissions: [Permissions.FLAGS.MANAGE_GUILD]
+ userPermissions: [PermissionFlagsBits.ManageGuild]
});
}