aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moulberry-bush
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/moulberry-bush')
-rw-r--r--src/commands/moulberry-bush/giveawayPing.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/moulberry-bush/giveawayPing.ts b/src/commands/moulberry-bush/giveawayPing.ts
index 4caaf0c..4b96e07 100644
--- a/src/commands/moulberry-bush/giveawayPing.ts
+++ b/src/commands/moulberry-bush/giveawayPing.ts
@@ -24,8 +24,8 @@ export default class GiveawayPingCommand extends BushCommand {
}
public override async exec(message: BushMessage): Promise<unknown> {
- if (!message.member!.permissions.has('MANAGE_GUILD'))
- await message.util.reply(`${util.emojis.error} You are missing the \`manage server\` permission.`);
+ if (!message.member!.permissions.has('MANAGE_GUILD') && !message.member!.user.isOwner())
+ await message.util.reply(`${util.emojis.error} You are missing the **MANAGE_GUILD** permission.`);
await message.delete().catch(() => {});