mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-10 05:10:17 +00:00
Update stop.js
This commit is contained in:
parent
3842f30bff
commit
c898827d81
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user