Skip to content

Commit

Permalink
🩹Fixed a bug with different display volume.
Browse files Browse the repository at this point in the history
  • Loading branch information
MotiCAT committed Dec 7, 2023
1 parent 3f2c5d8 commit fd3fa79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interactions/changeVolume.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: 'ボリュームを最大に設定しました。' });
Expand Down

0 comments on commit fd3fa79

Please sign in to comment.