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