mirror of
https://github.com/Expand-sys/mcbot
synced 2025-12-17 07:12:13 +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
|
* @param {CommandInteraction} interaction
|
||||||
*/
|
*/
|
||||||
async execute(interaction) {
|
async execute(interaction) {
|
||||||
|
|
||||||
let mcusr = interaction.options.getString("mcusername")
|
let mcusr = interaction.options.getString("mcusername")
|
||||||
let collection = await dbclient.db("ntcmcbot").collection("users");
|
let collection = await dbclient.db("ntcmcbot").collection("users");
|
||||||
let userdb = await collection.findOne({DISCORDID: interaction.member.id})
|
let userdb = await collection.findOne({DISCORDID: interaction.member.id})
|
||||||
|
|
||||||
interaction.deferReply()
|
|
||||||
let highest = "default";
|
let highest = "default";
|
||||||
switch(true) {
|
switch(true) {
|
||||||
case interaction.member.roles.cache.has(process.env.MCSTAFF_ROLE):
|
case interaction.member.roles.cache.has(process.env.MCSTAFF_ROLE):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue