From fdbf586284673583105d67f3a1728c11019b8e9f Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Sun, 30 Jul 2023 22:38:50 -0600 Subject: [PATCH] Stop checking admin commands for sanity, theyre ment to do stupid shit --- index.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/index.js b/index.js index 4155e2f..fdef08a 100644 --- a/index.js +++ b/index.js @@ -138,15 +138,6 @@ client.on("interactionCreate", async interaction => { content: "You do not have permission to use this command.", ephemeral: true }); - // check if the arguments are there - if (!interaction.options.getMember("user")) return interaction.reply({ - content: "You must specify a user.", - ephemeral: true - }); - if (!interaction.options.getNumber("amount")) return interaction.reply({ - content: "You must specify an amount.", - ephemeral: true - }); let outputStatus = await checkAndModifyPoints(interaction.options.getMember("user").user, interaction.options.getNumber("amount"), interaction.options.getBoolean("override") || false); if (outputStatus !== false) { interaction.reply({