From 668cf9b78d9133cde172bbd84d0832d670c2ba27 Mon Sep 17 00:00:00 2001 From: Expand-sys Date: Wed, 20 Oct 2021 21:02:19 +1100 Subject: [PATCH] fix for whitelist v2 --- commands/moderation/whitelist.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/moderation/whitelist.js b/commands/moderation/whitelist.js index 431865e..fdfbac1 100644 --- a/commands/moderation/whitelist.js +++ b/commands/moderation/whitelist.js @@ -24,9 +24,10 @@ module.exports = { await rcon.connect(); let content = message.content.split("!whitelist ")[1]; + console.log(content); let res = await rcon.send(`whitelist add ${content}`); - message.reply(`whitelisted `); + message.reply(`whitelisted ${content}`); rcon.end(); } },