Skip to content

Commit

Permalink
Update exp level for vip
Browse files Browse the repository at this point in the history
  • Loading branch information
LunaUrsa committed Jan 17, 2024
1 parent 6b4a093 commit c48fd41
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/global/utils/experience.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
}
Expand Down

0 comments on commit c48fd41

Please sign in to comment.