Skip to content
Find Channel

$findChannel

Searches for a channel, by ID or name.

Usage:

$findChannel[ID/mention/name;returnCurrentChannel (yes/no) (optional)]

If channel is found:
!!exec $findChannel[bot-commands;no] 869243919697846379

If channel is not found and the second argument is "no":
!!exec $findChannel[bot-cmnds;no] undefined

::: tip Related Functions $channelExists is used to tell if a channel ID exists. :::

Function Difficulty:
Tags: