$useChannel
$useChannel
will use the specified channel and execute all function inside of it instead.
Usage
$useChannel[channelID]
Parameters
Field | Type | Description | Required |
---|---|---|---|
channelID | number | Where to execute the functions. | true |
Example(s)
This will send an embed in the current channel:
1client.command({2 name: "useChannel",3 code: `4 $description[Hello!]5 $useChannel[$channelID]6 `7});