diff options
| author | 8cy <[email protected]> | 2020-04-10 11:20:43 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-04-10 11:20:43 -0700 |
| commit | 705c8c784f5e1a458a2701e221adb4347bf2901d (patch) | |
| tree | 3a63a06e8ebe69bada04d7e3bb422d9ec40025a4 | |
| parent | port to commando/ v12, 2.0.0 (diff) | |
| download | s5nical-705c8c784f5e1a458a2701e221adb4347bf2901d.tar.xz s5nical-705c8c784f5e1a458a2701e221adb4347bf2901d.zip | |
set default vol to 10%, 2.0.1
| -rw-r--r-- | commands/voice/play.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/commands/voice/play.js b/commands/voice/play.js index f4e9779..5fb5c7a 100644 --- a/commands/voice/play.js +++ b/commands/voice/play.js @@ -223,6 +223,8 @@ module.exports = class PlayVoice extends Command { ) .on('start', function () { msg.guild.musicData.songDispatcher = dispatcher; + const volume = 10 / 100; + msg.guild.musicData.volume = volume; dispatcher.setVolume(msg.guild.musicData.volume); const videoEmbed = new MessageEmbed() .setThumbnail(queue[0].thumbnail) |