Skip to content

$findGuildChannel

$findGuildChannel will search a guild channel within a guild.

Usage

$findGuildChannel[channelResolver;returnSelf?;guildID?]

Parameters

FieldTypeDescriptionRequired
channelResolverstringName of the channel you are trying to find.true
returnSelf?booleanReturn the channel where the command got executed in when nothing found.false
guildID?numberID of the guild where the channel is present in.false

Example(s)

This will return the channel ID of an channel called #rules

1
client.command({
2
name: "findGuildChannel",
3
code: `
4
$findGuildChannel[rules;false;$guildID]
5
`
6
});