$guildChannelExists
$guildChannelExists
will check if a given guild channel exists.
Usage
$guildChannelExists[guildID;channelResolver]
Parameters
Field | Type | Description | Required |
---|---|---|---|
guildID | number | ID of the guild where the guild channel exists in. | true |
channelResolver | number, string | ID or name of the channel. | true |
Example(s)
This will check if a guild channel with the name rules
exists, alternatively, you could use the channel ID instead:
1client.command({2 name: "guildChannelExists",3 code: `4 $guildChannelExists[$guildID;rules]5 `6});