mirror of
				https://github.com/musix-org/musix-oss
				synced 2025-11-04 09:49:32 +00:00 
			
		
		
		
	Update handleVideo.ts
This commit is contained in:
		@@ -5,6 +5,7 @@ module.exports = async function (
 | 
				
			|||||||
  client,
 | 
					  client,
 | 
				
			||||||
  playlist = false
 | 
					  playlist = false
 | 
				
			||||||
) {
 | 
					) {
 | 
				
			||||||
 | 
					  const queueConfig = require("../config/queueConfig.ts");
 | 
				
			||||||
  const Discord = require("discord.js");
 | 
					  const Discord = require("discord.js");
 | 
				
			||||||
  const song = {
 | 
					  const song = {
 | 
				
			||||||
    title: Discord.Util.escapeMarkdown(video.title),
 | 
					    title: Discord.Util.escapeMarkdown(video.title),
 | 
				
			||||||
@@ -22,7 +23,7 @@ module.exports = async function (
 | 
				
			|||||||
    return msg.channel.send(message);
 | 
					    return msg.channel.send(message);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  const construct = { ...require("../config/queueConfig.ts") };
 | 
					  const construct = { ...queueConfig };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  construct.textChannel = msg.channel;
 | 
					  construct.textChannel = msg.channel;
 | 
				
			||||||
  construct.voiceChannel = voiceChannel;
 | 
					  construct.voiceChannel = voiceChannel;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user