From c48fd41afddb7ecf2aa39df877827e7c53fc0e8f Mon Sep 17 00:00:00 2001 From: LunaUrsa <1836049+LunaUrsa@users.noreply.github.com> Date: Wed, 17 Jan 2024 07:37:02 -0600 Subject: [PATCH] Update exp level for vip --- src/discord/commands/{guild => global}/d.drug_checking.ts | 0 src/global/utils/experience.ts | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename src/discord/commands/{guild => global}/d.drug_checking.ts (100%) diff --git a/src/discord/commands/guild/d.drug_checking.ts b/src/discord/commands/global/d.drug_checking.ts similarity index 100% rename from src/discord/commands/guild/d.drug_checking.ts rename to src/discord/commands/global/d.drug_checking.ts diff --git a/src/global/utils/experience.ts b/src/global/utils/experience.ts index dffd78e14..92a41e6f5 100644 --- a/src/global/utils/experience.ts +++ b/src/global/utils/experience.ts @@ -177,7 +177,7 @@ async function giveMilestone( if (!member.roles.cache.has(role.id)) { // log.debug(F, `Giving ${member.displayName} role ${role.name} (${role.id})`); await member.roles.add(role); - if (levelTier >= 1) { + if (levelTier >= 2) { const channel = await member.guild?.channels.fetch(env.CHANNEL_VIPLOUNGE) as TextChannel; await channel.send(`${emojis} **${member} has reached Total level ${levelTier}0!** ${emojis}`); }