$uptime
$uptime
will return the bot’s uptime.
Usage
$uptime[option?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
option? | string | How the uptime will be returned (listed below). | false |
Option | Output |
---|---|
full (default) | 19 minutes, 21 seconds |
humanize | 19m 21s |
ms | 1165980 |
Example(s)
This will return the time of how long your bot is online for:
1client.command({2 name: "uptime",3 code: `4 I've been up for $uptime[full]!5 `6});