Stop checking admin commands for sanity, theyre ment to do stupid shit

This commit is contained in:
Christopher Cookman 2023-07-30 22:38:50 -06:00
parent d832313af9
commit fdbf586284
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -138,15 +138,6 @@ client.on("interactionCreate", async interaction => {
content: "You do not have permission to use this command.", content: "You do not have permission to use this command.",
ephemeral: true 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); let outputStatus = await checkAndModifyPoints(interaction.options.getMember("user").user, interaction.options.getNumber("amount"), interaction.options.getBoolean("override") || false);
if (outputStatus !== false) { if (outputStatus !== false) {
interaction.reply({ interaction.reply({