Skip to content

Commit

Permalink
Fix play_music_MOD.js (#1035)
Browse files Browse the repository at this point in the history
  • Loading branch information
GoodOne120 authored Apr 20, 2024
1 parent effeebb commit fbf4bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions/play_music_MOD.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fbf4bb9

Please sign in to comment.