Skip to content

Commit

Permalink
Fix volume command dividing by 10
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi authored Mar 7, 2024
1 parent f1f07bc commit 926095d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion music/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
subprojects {
version = "3.5.9-SNAPSHOT"
version = "3.5.10-SNAPSHOT"
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ suspend fun MusicModule.volumeCommand() = ephemeralControlSlashCommand(::VolumeA

respond { content = translate("commands.volume.set", arrayOf(volume.toString())) }
} else {
respond { content = translate("commands.volume.current", arrayOf((player.volume / 10).toString())) }
respond { content = translate("commands.volume.current", arrayOf(player.volume.toString())) }
}
}
}

0 comments on commit 926095d

Please sign in to comment.