mirror of
https://github.com/Expand-sys/mcbot
synced 2025-12-16 23:12:12 +11:00
butts
This commit is contained in:
parent
61d1b837e2
commit
4e9d3e4cdd
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue