$findGuildChannel
$findGuildChannel will search a guild channel within a guild.
Usage
$findGuildChannel[channelResolver;returnSelf?;guildID?]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| channelResolver | string | Name of the channel you are trying to find. | true |
| returnSelf? | boolean | Return the channel where the command got executed in when nothing found. | false |
| guildID? | number | ID of the guild where the channel is present in. | false |
Example(s)
This will return the channel ID of an channel called #rules
1client.command({2 name: "findGuildChannel",3 code: `4 $findGuildChannel[rules;false;$guildID]5 `6});