$fetch
$fetch will fetch information about a given method using Discord’s API.
Usage
$fetch[method;query;...properties]Parameters
| Field | Type | Description | Required | 
|---|---|---|---|
| method | string | Method to fetch (listed below). | true | 
| query | string | Input for the used method. | true | 
| …properties | string | Sub properties of query to return. | false | 
Methods
| Methods | 
|---|
| message | 
| channel | 
| user | 
| invite | 
| webhook | 
| application | 
| command | 
| guildPreview | 
| guildTemplate | 
| premiumStickerPacks | 
| sticker | 
| guildCommand | 
| default | 
Example(s)
This will display information about the initial command message using the fetch function (returns message.id):
1client.command({2    name: "fetch",3    code: `4  \`\`\`5  $fetch[message;$messageID;id]6  \`\`\`7  `8});