From 860d68162d1b59a7f82a2d76e7be868e644b8685 Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Tue, 9 Jun 2020 22:51:22 +0300 Subject: [PATCH] Update stop.js --- src/commands/stop.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/stop.js b/src/commands/stop.js index 357cd035..b8232a42 100644 --- a/src/commands/stop.js +++ b/src/commands/stop.js @@ -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;