Skip to content
Entity Info findGuildChannel

$findGuildChannel — Finds a channel of a guild

Finds a channel of a guild

Syntax

$findGuildChannel[guildID;query;(returnchannel)]

Parameters

  • guildID (id, required) — The guild to find the channel on
  • query (text, required) — The id, mention or channel name to find
  • returnchannel (boolean, optional) — Returns the current channel id if none found

Return Value

  • Channel.

Usage

$findGuildChannel[guildID;query;(returnchannel)] → result

Example

$sendMessage[$findGuildChannel[10;gen]]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.