From b29cfa5ed4ba92c1892f97f9b470f350f868911d Mon Sep 17 00:00:00 2001 From: SileNce5k Date: Thu, 15 Jul 2021 14:04:02 +0200 Subject: [PATCH] Edit update text if bot needs to be restarted --- commands/update.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/update.js b/commands/update.js index 6f2f450..36e7819 100644 --- a/commands/update.js +++ b/commands/update.js @@ -17,7 +17,7 @@ module.exports = { reloadCommands(client) let sendText = `${stdout}\nBot updated, and\n${calculateReloaded(beforeSize, client)}` 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){ let regex = /([^\s]+)\.\.([^\s]+)/