@@ -154,11 +154,8 @@ export default async (beforeError, forceUpdate) => {
154154 process . stdout . write ( '\u001b[2J\u001b[0;0H' ) ;
155155 await splashLogo ( client . locale . lib . loaders . splashLogo ) ;
156156
157- // Shows a message indicating that the bot is checking for updates
158- console . log ( `🔄 ${ await client . functions . utils . parseLocale ( locale . updatingFromTo , { originVersion : `v${ latestLocalTag } ` , targetVersion : `v${ latestRemoteTag } ` } ) } ...` ) ;
159-
160- // Simulates a loading time
161- await new Promise ( resolve => setTimeout ( resolve , 3000 ) ) ; // Espera de 3 segundos
157+ // Shows a message indicating that the bot is downloading the new version
158+ console . log ( `⬇️ ${ await client . functions . utils . parseLocale ( locale . downloadingNewVersion , { targetVersion : `v${ latestRemoteTag } ` , repositoryURL : packageConfig . repository . url } ) } ...` ) ;
162159
163160 // Ignores the config.json file
164161 await git . raw ( [ 'update-index' , '--skip-worktree' , 'config.json' ] ) ;
@@ -169,12 +166,21 @@ export default async (beforeError, forceUpdate) => {
169166 // Makes a checkout to the latest tag
170167 //await git.checkout(latestTag);
171168
169+ // Simulates a loading time
170+ await new Promise ( resolve => setTimeout ( resolve , 3000 ) ) ;
171+
172+ // Shows a message indicating that the bot is migrating the database and the configuration files
173+ console . log ( `🔄 ${ locale . migrating } ...` ) ;
174+
175+ // Simulates a loading time
176+ await new Promise ( resolve => setTimeout ( resolve , 3000 ) ) ;
177+
172178 // Cleans the console and shows the logo
173179 process . stdout . write ( '\u001b[2J\u001b[0;0H' ) ;
174180 await splashLogo ( client . locale . lib . loaders . splashLogo ) ;
175181
176182 // Shows a message indicating that the bot has been updated
177- console . log ( `✅ ${ await client . functions . utils . parseLocale ( locale . updatedCorrectly , { targetVersion : `v${ latestRemoteTag } ` } ) } \n` ) ;
183+ console . log ( `🎉 ${ await client . functions . utils . parseLocale ( locale . updatedCorrectly , { targetVersion : `v${ latestRemoteTag } ` } ) } \n` ) ;
178184 } ;
179185
180186 // Shows a message indicating that there are new updates
@@ -250,7 +256,7 @@ export default async (beforeError, forceUpdate) => {
250256 await splashLogo ( client . locale . lib . loaders . splashLogo ) ;
251257
252258 // Shows a message indicating that there are new updates
253- console . log ( `⬇️ ${ await client . functions . utils . parseLocale ( locale . newVersionAvailable , { targetVersion : latestRemoteTag } ) } \n` ) ;
259+ console . log ( `🆕 ${ await client . functions . utils . parseLocale ( locale . newVersionAvailable , { targetVersion : latestRemoteTag } ) } \n` ) ;
254260
255261 // Uses a regular expression to obtain the owner and repository name from the URL
256262 const repositoryMetadata = packageConfig . repository . url . match ( / g i t h u b \. c o m \/ ( [ ^ \/ ] + ) \/ ( [ ^ \/ ] + ) \. g i t / ) ;
0 commit comments