Skip to content

Commit

Permalink
Merge branch 'hipperooni-branch' of https://github.com/tripsit/TripBot
Browse files Browse the repository at this point in the history
…into hipperooni-branch
  • Loading branch information
LunaUrsa committed Nov 11, 2023
2 parents 1951767 + 2cec8e3 commit 518b5bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/discord/commands/guild/d.levels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ export const dLevels: SlashCommand = {
}[];

// Check if user has voice xp, if so add it to the list to be assigned a xp bar slot
if (levelData.VOICE.TOTAL) {
if (levelData.VOICE.TOTAL.level > 0) {
const progressVoice = levelData.VOICE.TOTAL
? levelData.VOICE.TOTAL.level_exp / levelData.VOICE.TOTAL.nextLevel
: 0;
Expand Down

0 comments on commit 518b5bb

Please sign in to comment.