diff --git a/events/CommandHandler.js b/events/CommandHandler.js index 43ac6b89..7c1329d9 100644 --- a/events/CommandHandler.js +++ b/events/CommandHandler.js @@ -33,10 +33,8 @@ class CommandHandler extends BaseEvent { if (interaction.isButton() && interaction.customId === "quote_delete" && interaction.message.deletable) return interaction.message.delete(); if (interaction.type !== InteractionType.ApplicationCommand && !interaction.isCommand()) return; - if (command.ownerOnly && interaction.user.id !== client.config.owner.id) return interaction.error("misc:OWNER_ONLY", null, { ephemeral: true }); - if (!interaction.guildId === "1039187019957555252") return interaction.error({ content: "IAT Only", ephemeral: true }); - if (!interaction.guildId === "600970971410857996") return interaction.error({ content: "SC Only", ephemeral: true }); + if (command.ownerOnly && interaction.user.id !== client.config.owner.id) return interaction.error("misc:OWNER_ONLY", null, { ephemeral: true }); if (!userData.achievements.firstCommand.achieved) { const args = {