add 'added' to the end of sendText string

This commit is contained in:
SileNce5k 2021-07-10 17:37:37 +02:00
parent 263576c671
commit a442c5cbe8
No known key found for this signature in database
GPG key ID: C507260E7F2583AD

View file

@ -18,7 +18,7 @@ module.exports = function(customName, customMessage, author){
"customName": customName, "customMessage": customMessage, "author": author
}
customCommands.push(newCustomCommand)
sendText = `New custom command with the name "${customName}"`
sendText = `New custom command with the name "${customName}" added`
}
fs.writeFileSync(customPath, JSON.stringify(customCommands, null, 4))
return sendText;