Change sendtext when adding custom command
This commit is contained in:
parent
0627e2323f
commit
263576c671
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
|
||||
}
|
||||
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;
|
||||
|
|
Loading…
Add table
Reference in a new issue