From 4ddd5f48d80142689c42075f65a97fcb7ae7dfde Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Mon, 27 Mar 2023 19:27:48 +0500 Subject: [PATCH] fix --- commands/Music/volume.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/Music/volume.js b/commands/Music/volume.js index 8d452ffe..8e9d1c7b 100644 --- a/commands/Music/volume.js +++ b/commands/Music/volume.js @@ -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", {