Skip to content

Commit 7c9d339

Browse files
committed
Fixed uptime section
1 parent 16c74c1 commit 7c9d339

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Commands/Status.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default class extends AbstractCommand {
3232
},
3333
{
3434
name: "Uptime",
35-
value: `<t:${Env.client.readyTimestamp! - ((new Date().getTime() / 1000) - Env.client.readyTimestamp!)}:R>`
35+
value: `<t:${Math.round((Env.client.readyAt?.getTime()! - (new Date().getTime() - Env.client.readyAt?.getTime()!)) / 1000)}:R>`
3636
}
3737
)
3838
],

0 commit comments

Comments
 (0)