mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 05:04:58 +05:00
fix
This commit is contained in:
parent
50fc315d38
commit
4ddd5f48d8
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ class Volume extends BaseCommand {
|
|||
if (!queue) return interaction.error("music/play:NOT_PLAYING", null, { ephemeral: true });
|
||||
|
||||
const volume = interaction.options.getInteger("int");
|
||||
if (volume <= 0 || volume > 100) return interaction.error("common:INVALID_NUMBER_RANGE", { min: 1, max: 100 });
|
||||
if (volume <= 0 || volume > 100) return interaction.error("misc:INVALID_NUMBER_RANGE", { min: 1, max: 100 });
|
||||
|
||||
queue.node.setVolume(volume);
|
||||
interaction.success("music/volume:SUCCESS", {
|
||||
|
|
Loading…
Reference in a new issue