Skip to content
Entity Info channelIsChildrenOf

$channelIsChildrenOf — Checks whether given channel is a children of a category.

Checks whether given channel is a children of a category.

Syntax

$channelIsChildrenOf[channelID;categoryID]

Parameters

  • channelID (id, required) — The channel to know if is children of category
  • categoryID (id, required) — The category to check against

Return Value

  • Boolean.

Usage

$channelIsChildrenOf[channelID;categoryID] → result

Example

$sendMessage[$channelIsChildrenOf[30;40]]

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.