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"))