Skip to content

Commit 6c0a90e

Browse files
committed
Improved update process
1 parent d3a2af4 commit 6c0a90e

File tree

6 files changed

+16
-1
lines changed

6 files changed

+16
-1
lines changed

lib/menus/update.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,4 +422,4 @@ export default async (beforeError, forceUpdate) => {
422422
// Runs this menu again, passing the error
423423
await client.functions.menus[menuName](error);
424424
};
425-
};
425+
};

locales/en-US.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1368,6 +1368,9 @@
13681368
},
13691369
"alreadyUpdated": "The bot is already updated to the latest version",
13701370
"downloadingNewVersion": "Downloading {{targetVersion}} from {{repositoryURL}}",
1371+
"newVersionDownloaded": "{{targetVersion}} has been downloaded correctly",
1372+
"installingDependencies": "Installing dependencies",
1373+
"dependenciesInstalled": "Dependencies have been installed correctly",
13711374
"needsRestart": "The bot must be restarted to apply the changes.\nIf you don't do it now, the process will automatically abort after 30 seconds.\nIf you are using a process manager like PM2 or Docker, the bot will automatically start again.\nOtherwise, you will have to restart it manually",
13721375
"restartConfirmationPrompt": {
13731376
"message": "Would you like to restart now?",

locales/es-ES.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1351,6 +1351,9 @@
13511351
},
13521352
"alreadyUpdated": "The bot is already updated to the latest version",
13531353
"downloadingNewVersion": "Downloading {{targetVersion}} from {{repositoryURL}}",
1354+
"newVersionDownloaded": "{{targetVersion}} has been downloaded correctly",
1355+
"installingDependencies": "Installing dependencies",
1356+
"dependenciesInstalled": "Dependencies have been installed correctly",
13541357
"needsRestart": "The bot must be restarted to apply the changes.\nIf you don't do it now, the process will automatically abort after 30 seconds.\nIf you are using a process manager like PM2 or Docker, the bot will automatically start again.\nOtherwise, you will have to restart it manually",
13551358
"restartConfirmationPrompt": {
13561359
"message": "Would you like to restart now?",

locales/it.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1352,6 +1352,9 @@
13521352
},
13531353
"alreadyUpdated": "The bot is already updated to the latest version",
13541354
"downloadingNewVersion": "Downloading {{targetVersion}} from {{repositoryURL}}",
1355+
"newVersionDownloaded": "{{targetVersion}} has been downloaded correctly",
1356+
"installingDependencies": "Installing dependencies",
1357+
"dependenciesInstalled": "Dependencies have been installed correctly",
13551358
"needsRestart": "The bot must be restarted to apply the changes.\nIf you don't do it now, the process will automatically abort after 30 seconds.\nIf you are using a process manager like PM2 or Docker, the bot will automatically start again.\nOtherwise, you will have to restart it manually",
13561359
"restartConfirmationPrompt": {
13571360
"message": "Would you like to restart now?",

locales/ro.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1352,6 +1352,9 @@
13521352
},
13531353
"alreadyUpdated": "The bot is already updated to the latest version",
13541354
"downloadingNewVersion": "Downloading {{targetVersion}} from {{repositoryURL}}",
1355+
"newVersionDownloaded": "{{targetVersion}} has been downloaded correctly",
1356+
"installingDependencies": "Installing dependencies",
1357+
"dependenciesInstalled": "Dependencies have been installed correctly",
13551358
"needsRestart": "The bot must be restarted to apply the changes.\nIf you don't do it now, the process will automatically abort after 30 seconds.\nIf you are using a process manager like PM2 or Docker, the bot will automatically start again.\nOtherwise, you will have to restart it manually",
13561359
"restartConfirmationPrompt": {
13571360
"message": "Would you like to restart now?",

locales/zh-CN.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1352,6 +1352,9 @@
13521352
},
13531353
"alreadyUpdated": "The bot is already updated to the latest version",
13541354
"downloadingNewVersion": "Downloading {{targetVersion}} from {{repositoryURL}}",
1355+
"newVersionDownloaded": "{{targetVersion}} has been downloaded correctly",
1356+
"installingDependencies": "Installing dependencies",
1357+
"dependenciesInstalled": "Dependencies have been installed correctly",
13551358
"needsRestart": "The bot must be restarted to apply the changes.\nIf you don't do it now, the process will automatically abort after 30 seconds.\nIf you are using a process manager like PM2 or Docker, the bot will automatically start again.\nOtherwise, you will have to restart it manually",
13561359
"restartConfirmationPrompt": {
13571360
"message": "Would you like to restart now?",

0 commit comments

Comments
 (0)