You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
module.exports = {
|
|
name: 'stop',
|
|
description: 'Stop all songs in the queue!',
|
|
roles: ['732550362199752764', '732345527143759943'],
|
|
execute(message) {
|
|
const serverQueue = message.client.queue.get(message.guild.id);
|
|
if (!message.member.voice.channel) return message.channel.send('You have to be in a voice channel to stop the music!');
|
|
serverQueue.songs = [];
|
|
serverQueue.connection.dispatcher.end();
|
|
},
|
|
};
|