$creationDate
$creationDate will return the creation date of anything what was created within Discord.
Usage
$creationDate[resolver;format?]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| resolver | number | User Id, message Id, channel Id, guild Id or role Id of who or what you want to get the creation date to be returned of. | true |
| format? | string | The format of the creation date (listed below). | false |
Format Input
| Format | Output |
|---|---|
| ms | 1522158545409 |
| date | 3/27/2018, 1:49:05 PM |
| time | 4 years, 9 months, 6 days, 2 hours, 17 minutes, 33 seconds |
| time-full | 4 years, 9 months, 6 days, 2 hours, 17 minutes, 33 seconds |
| time-humanize | 4y 9mon 6d 2h 24m 30s |
Example(s)
This will return your account create date:
1client.command({2 name: "creationDate",3 code: `4 Your account was created: $creationDate[$authorID;date]5 `6});