Skip to content

$findChannel

$findChannel will search a given channel by its name.

Usage

$findChannel[channelResolver;returnSelf?]

Parameters

FieldTypeDescriptionRequired
channelResolverstringName of the channel you want to search for.true
returnSelf?booleanWill 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:

1
client.command({
2
name: "findChannel",
3
code: `
4
$findChannel[⊂・⊃﹐aoi_v5;false]
5
`
6
});