$guildChannels
$guildChannels
will return all channels of a specific guild.
Usage
$guildChannels[guildID?;option?;sep?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
guildID? | number | The ID of the guild. | false |
option? | string | The option on how to return the channel 1. name (default) 2. id 3. mention | false |
sep? | string | Separator to separate multiple returned values. | false |
Example(s)
This will return all channels of your guild:
1client.command({2 name: "guildChannels",3 code: `4 $guildChannels[$guildID;mention;, ]5 `6});