From a8e294d7923e78466d5ac6192c41d3d35970284d Mon Sep 17 00:00:00 2001 From: Expand-sys Date: Thu, 14 Oct 2021 10:21:07 +1100 Subject: [PATCH] fix --- commands/moderation/mc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/moderation/mc.js b/commands/moderation/mc.js index 7e8e0dd..36c6800 100644 --- a/commands/moderation/mc.js +++ b/commands/moderation/mc.js @@ -22,7 +22,7 @@ module.exports = { await rcon.connect(); let content = message.content.substring(message.content.indexOf(" ") + 1); console.log(content); - let fuck; + let fuck = content.split("say "); if (args[0] == "say") { fuck = content.split("say "); fuck[1] = `say ${message.author.username}: ${fuck[1]} `;