$findChannel
$findChannel will search a given channel by its name.
Usage
$findChannel[channelResolver;returnSelf?]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| channelResolver | string | Name of the channel you want to search for. | true |
| returnSelf? | boolean | Will return the channel where the command is executed in by default if the given channel was not found. | false |
Example(s)
This will return 882360051640193054 as it was able to find the #⊂・⊃﹐aoi_v5 channel:
1client.command({2 name: "findChannel",3 code: `4 $findChannel[⊂・⊃﹐aoi_v5;false]5 `6});