Skip to content

$useChannel

$useChannel will use the specified channel and execute all function inside of it instead.

Usage

$useChannel[channelID]

Parameters

FieldTypeDescriptionRequired
channelIDnumberWhere to execute the functions.true

Example(s)

This will send an embed in the current channel:

1
client.command({
2
name: "useChannel",
3
code: `
4
$description[Hello!]
5
$useChannel[$channelID]
6
`
7
});