From 470506866bbb0eb0937f0ee793e169d8cdcadf9b Mon Sep 17 00:00:00 2001 From: Expand-sys Date: Fri, 24 Feb 2023 21:55:06 +1100 Subject: [PATCH] aaa --- 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 3d0249c..5581228 100644 --- a/commands/slashcommands/utility/linkmc.js +++ b/commands/slashcommands/utility/linkmc.js @@ -26,7 +26,7 @@ module.exports = { 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() + await interaction.deferReply() let highest = "default"; switch(true) { case interaction.member.roles.cache.has(process.env.MCSTAFF_ROLE):