1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-23 00:23:17 +00:00

Update stop.js

This commit is contained in:
MatteZ02 2020-06-30 21:15:55 +03:00
parent 3842f30bff
commit c898827d81

View File

@ -9,7 +9,7 @@ module.exports = {
execute(msg, args, client, Discord, command) { execute(msg, args, client, Discord, command) {
const queue = client.queue.get(msg.guild.id); const queue = client.queue.get(msg.guild.id);
if (client.funcs.check(client, msg, command)) { if (client.funcs.check(client, msg, command)) {
if (msg.content.includes("-force")) { if (msg.content.contains("-force")) {
if (queue) { if (queue) {
queue.voiceChannel.leave(); queue.voiceChannel.leave();
queue.exists = false; queue.exists = false;