Edit update text if bot needs to be restarted
This commit is contained in:
parent
792569455e
commit
b29cfa5ed4
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ module.exports = {
|
||||||
reloadCommands(client)
|
reloadCommands(client)
|
||||||
let sendText = `${stdout}\nBot updated, and\n${calculateReloaded(beforeSize, client)}`
|
let sendText = `${stdout}\nBot updated, and\n${calculateReloaded(beforeSize, client)}`
|
||||||
if(stdout.includes("server.js") || stdout.includes("server/")){
|
if(stdout.includes("server.js") || stdout.includes("server/")){
|
||||||
sendText = sendText + "\nServer.js OR message.js OR ready.js has been updated.\nThis requires the bot to be restarted."
|
sendText = sendText + "\nServer.js OR a file the server/ directory has been updated.\nThis requires the bot to be restarted."
|
||||||
}
|
}
|
||||||
message.channel.send(sendText).then(function(msg){
|
message.channel.send(sendText).then(function(msg){
|
||||||
let regex = /([^\s]+)\.\.([^\s]+)/
|
let regex = /([^\s]+)\.\.([^\s]+)/
|
||||||
|
|
Loading…
Add table
Reference in a new issue