18 lines
482 B
JavaScript
18 lines
482 B
JavaScript
const { MESSAGES } = require("../../util/constants");
|
|
|
|
module.exports.run = async (client, message, args, settings) => {
|
|
const { channel } = message.member.voice;
|
|
|
|
const queueConstruct = {
|
|
textChannel: message.channel,
|
|
channel,
|
|
connection: null,
|
|
songs: [],
|
|
loop: false,
|
|
playing: true
|
|
};
|
|
|
|
queueConstruct.connection = await channel.join();
|
|
};
|
|
|
|
module.exports.help = MESSAGES.COMMANDS.MUSIQUE.JOIN; |