From f5070e96582bf2ed277e8c18644d9566f8130de3 Mon Sep 17 00:00:00 2001 From: Taken Date: Thu, 25 Jan 2024 23:49:33 +0100 Subject: [PATCH] Updating some perms --- src/commands/ban.ts | 2 +- src/commands/botinfo.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/ban.ts b/src/commands/ban.ts index 8fcab83..686ea4d 100644 --- a/src/commands/ban.ts +++ b/src/commands/ban.ts @@ -38,7 +38,7 @@ export = { { name: "7 days", value: 7 }, ) ) - .setDefaultMemberPermissions(PermissionFlagsBits.Administrator) + .setDefaultMemberPermissions(PermissionFlagsBits.BanMembers) .setDMPermission(false), async execute(interaction) { diff --git a/src/commands/botinfo.ts b/src/commands/botinfo.ts index 6433a36..c6f8aa1 100644 --- a/src/commands/botinfo.ts +++ b/src/commands/botinfo.ts @@ -14,7 +14,7 @@ export = { data: new SlashCommandBuilder() .setName("botinfo") .setDescription("Get information about the bot") - .setDMPermission(true), + .setDMPermission(false), async execute(interaction, client) { const embedColor = Number(color.replace("#", "0x"))