$findChannel

Searches for a channel, by ID or name.

Usage:

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

If channel is found:

Member05/28/2024
!!exec $findChannel[bot-commands;no]
Custom Command Bot 05/28/2024
869243919697846379

If channel is not found and the second argument is "no":

Member05/28/2024
!!exec $findChannel[bot-cmnds;no]
Custom Command Bot 05/28/2024
undefined

Related Functions

$channelExists is used to tell if a channel ID exists.

Function Difficulty: Medium
Tags: channel find find Channel search Channel