From d206b34a33571afaad71f7825564da0065622714 Mon Sep 17 00:00:00 2001 From: GoodOne Date: Sat, 20 Apr 2024 14:19:37 +0300 Subject: [PATCH] Fix play_music_MOD.js --- actions/play_music_MOD.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/play_music_MOD.js b/actions/play_music_MOD.js index 0ee0a5fb..74919287 100644 --- a/actions/play_music_MOD.js +++ b/actions/play_music_MOD.js @@ -80,7 +80,7 @@ module.exports = { const Mods = this.getMods(); const playdl = Mods.require('play-dl'); const player = Bot.bot.player; - const voiceChannel = await this.getVoiceChannelFromData(data.voiceChannel, data.varName2, cache); + const voiceChannel = await this.getVoiceChannelFromData(data.voiceChannel, data.varName, cache); let volume = 80; if (data.volume) volume = parseInt(this.evalMessage(data.volume, cache), 10) || 80;