From e5e80f5522a3d61e25b2d1f237780eda75bbdc89 Mon Sep 17 00:00:00 2001 From: Expand-sys Date: Wed, 22 Feb 2023 00:34:31 +1100 Subject: [PATCH] changed to use default role --- commands/slashcommands/utility/linkmc.js | 2 +- events/client/ready.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/slashcommands/utility/linkmc.js b/commands/slashcommands/utility/linkmc.js index 05ee0e6..e971f18 100644 --- a/commands/slashcommands/utility/linkmc.js +++ b/commands/slashcommands/utility/linkmc.js @@ -24,7 +24,7 @@ module.exports = { async execute(interaction) { let mcusr = interaction.options.getString("mcusername") interaction.deferReply() - let highest = "stdusr"; + let highest = "default"; switch(true) { case interaction.member.roles.cache.has(process.env.DISCORDSTAFF_ROLE): highest = "discordstaff"; diff --git a/events/client/ready.js b/events/client/ready.js index 53cf322..711685d 100644 --- a/events/client/ready.js +++ b/events/client/ready.js @@ -24,7 +24,7 @@ module.exports = { let member = guild.members.cache.get(`${user.DISCORDID}`) console.log(`updating ${member.name}`) - let highest = "stdusr"; + let highest = "default"; switch(true) { case interaction.member.roles.cache.has(process.env.DISCORDSTAFF_ROLE): highest = "discordstaff";