summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author8cy <[email protected]>2020-04-10 11:20:43 -0700
committer8cy <[email protected]>2020-04-10 11:20:43 -0700
commit705c8c784f5e1a458a2701e221adb4347bf2901d (patch)
tree3a63a06e8ebe69bada04d7e3bb422d9ec40025a4
parentport to commando/ v12, 2.0.0 (diff)
downloads5nical-705c8c784f5e1a458a2701e221adb4347bf2901d.tar.xz
s5nical-705c8c784f5e1a458a2701e221adb4347bf2901d.zip
set default vol to 10%, 2.0.1
-rw-r--r--commands/voice/play.js2
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)