aboutsummaryrefslogtreecommitdiff
path: root/src/commands/config/config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/config/config.ts')
-rw-r--r--src/commands/config/config.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/config/config.ts b/src/commands/config/config.ts
index ac3198b..6e7373c 100644
--- a/src/commands/config/config.ts
+++ b/src/commands/config/config.ts
@@ -190,7 +190,7 @@ export default class SettingsCommand extends BushCommand {
}
): Promise<unknown> {
if (!message.guild) return await message.util.reply(`${util.emojis.error} This command can only be used in servers.`);
- if (!message.member?.permissions.has('MANAGE_GUILD'))
+ if (!message.member?.permissions.has('MANAGE_GUILD') && !message.member?.user.isOwner())
return await message.util.reply(
`${util.emojis.error} You must have the **MANAGE_GUILD** permission to run this command.`
);