Skip to content

$uptime

$uptime will return the bot’s uptime.

Usage

$uptime[option?]

Parameters

FieldTypeDescriptionRequired
option?stringHow the uptime will be returned (listed below).false
OptionOutput
full (default)19 minutes, 21 seconds
humanize19m 21s
ms1165980

Example(s)

This will return the time of how long your bot is online for:

1
client.command({
2
name: "uptime",
3
code: `
4
I've been up for $uptime[full]!
5
`
6
});