From fd3fa79fa4966edb9d7387a87c990fab61522453 Mon Sep 17 00:00:00 2001 From: MotiCAT Date: Thu, 7 Dec 2023 11:25:40 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9Fixed=20a=20bug=20with=20different?= =?UTF-8?q?=20display=20volume.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/interactions/changeVolume.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interactions/changeVolume.ts b/src/interactions/changeVolume.ts index 1092916..d6f3621 100644 --- a/src/interactions/changeVolume.ts +++ b/src/interactions/changeVolume.ts @@ -7,7 +7,7 @@ export async function changeVolumeCommand(interaction: ChatInputCommandInteracti if (!player) return interaction.reply(embeds.videoNotPlaying); const vol = interaction.options.getInteger('volume'); - if (!vol) return interaction.reply({ content: `現在の音量は${player.volume}です。` }); + if (!vol) return interaction.reply({ content: `現在の音量は${player.volume * 10}です。` }); if (vol >= 100) { player.changeVolume(100 / 10); return interaction.reply({ content: 'ボリュームを最大に設定しました。' });