1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-22 21:13:18 +00:00

Update stop.js

This commit is contained in:
MatteZ02 2020-06-09 22:51:22 +03:00
parent 31d811790d
commit 860d68162d

View File

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