From 51353d464f403933bd59f0c38eff4393f619e294 Mon Sep 17 00:00:00 2001 From: toast-ts <96593068+toast-ts@users.noreply.github.com> Date: Tue, 16 Jan 2024 22:30:23 +1100 Subject: [PATCH] Add bold formatting to uptime text --- src/commands/dev.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/dev.ts b/src/commands/dev.ts index 93bbc9e..fd0226b 100644 --- a/src/commands/dev.ts +++ b/src/commands/dev.ts @@ -76,7 +76,7 @@ export default class Developer { else if (stdout.includes('Already up to date')) hammondYouIdiot.edit('Repository is currently up to date.'); else hammondYouIdiot.edit('Running `yarn tsc`...').then(()=>exec('yarn tsc', {windowsHide:true}, (err:Error)=>{ if (err) hammondYouIdiot.edit(`\`\`\`${UsernameHelper(err.message)}\`\`\``); - else if (interaction.options.getBoolean('restart')) hammondYouIdiot.edit(msgBody + `\nUptime: ${Formatters.timeFormat(process.uptime()*1000, 4, {longNames:true, commas:true})}`).then(()=>process.exit(0)); + else if (interaction.options.getBoolean('restart')) hammondYouIdiot.edit(msgBody + `\nUptime: **${Formatters.timeFormat(process.uptime()*1000, 4, {longNames:true, commas:true})}**`).then(()=>process.exit(0)); else hammondYouIdiot.edit(msgBody); })); });