Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/tripsit/TripBot into knex-r…
Browse files Browse the repository at this point in the history
…emoval
  • Loading branch information
LunaUrsa committed Nov 11, 2023
2 parents a69be8a + d0724ee commit cf5f2f6
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 cf5f2f6

Please sign in to comment.