From 51dcdc7406fee36f5e104225ec334e24f5b7a894 Mon Sep 17 00:00:00 2001 From: Ayden Jahola Date: Fri, 28 Feb 2025 19:47:28 +0000 Subject: [PATCH] make whitelist command available to everyone --- commands/minecraft/whitelist.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/commands/minecraft/whitelist.js b/commands/minecraft/whitelist.js index d5d9ffe..5a4f17f 100644 --- a/commands/minecraft/whitelist.js +++ b/commands/minecraft/whitelist.js @@ -14,17 +14,6 @@ module.exports = { isModOnly: true, async execute(interaction) { - // Check if the user has the Manage Server permission - if ( - !interaction.member.permissions.has(PermissionsBitField.Flags.ManageGuild) - ) { - await interaction.reply({ - content: "You do not have permission to use this command!", - ephemeral: false, - }); - return; - } - const username = interaction.options.getString("username"); await interaction.deferReply();