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