add 'added' to the end of sendText string
This commit is contained in:
parent
263576c671
commit
a442c5cbe8
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ module.exports = function(customName, customMessage, author){
|
||||||
"customName": customName, "customMessage": customMessage, "author": author
|
"customName": customName, "customMessage": customMessage, "author": author
|
||||||
}
|
}
|
||||||
customCommands.push(newCustomCommand)
|
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))
|
fs.writeFileSync(customPath, JSON.stringify(customCommands, null, 4))
|
||||||
return sendText;
|
return sendText;
|
||||||
|
|
Loading…
Add table
Reference in a new issue