From 4e9d3e4cdddefc3946abb61fb65830e8a7f549be Mon Sep 17 00:00:00 2001 From: Expand-sys Date: Fri, 24 Feb 2023 21:52:31 +1100 Subject: [PATCH] butts --- commands/slashcommands/utility/linkmc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/slashcommands/utility/linkmc.js b/commands/slashcommands/utility/linkmc.js index 44acad7..3400149 100644 --- a/commands/slashcommands/utility/linkmc.js +++ b/commands/slashcommands/utility/linkmc.js @@ -22,11 +22,11 @@ module.exports = { * @param {CommandInteraction} interaction */ async execute(interaction) { + let mcusr = interaction.options.getString("mcusername") let collection = await dbclient.db("ntcmcbot").collection("users"); let userdb = await collection.findOne({DISCORDID: interaction.member.id}) - interaction.deferReply() let highest = "default"; switch(true) { case interaction.member.roles.cache.has(process.env.MCSTAFF_ROLE):