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:
parent
31d811790d
commit
860d68162d
@ -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.contains("-force")) {
|
if (msg.content.includes("-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