From ab6c6de9c1ae286e1d1a853b34a62a62b19e2f16 Mon Sep 17 00:00:00 2001 From: AnxietyisReal <96593068+AnxietyisReal@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); })); });