From 263576c6716ae18581d8faaa1ab282de49932c72 Mon Sep 17 00:00:00 2001 From: SileNce5k Date: Sat, 10 Jul 2021 17:34:25 +0200 Subject: [PATCH] Change sendtext when adding custom command --- util/addCustomCommand.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/addCustomCommand.js b/util/addCustomCommand.js index c25bd7c..1ed9f21 100644 --- a/util/addCustomCommand.js +++ b/util/addCustomCommand.js @@ -18,7 +18,7 @@ module.exports = function(customName, customMessage, author){ "customName": customName, "customMessage": customMessage, "author": author } customCommands.push(newCustomCommand) - sendText = "New custom command has been added." + sendText = `New custom command with the name "${customName}"` } fs.writeFileSync(customPath, JSON.stringify(customCommands, null, 4)) return sendText;