This commit is contained in:
Expand-sys 2023-02-24 21:55:06 +11:00
parent 7bf97425a6
commit 470506866b

View file

@ -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):