$findChannel

Searches for a channel, by ID or name

Usage:

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

If channel is found:

Member01/27/2023
!!exec $findChannel[bot-commands;no]
Custom Command Bot 01/27/2023
869243919697846379

If channel is not found & second parameter is "no":

Member01/27/2023
!!exec $findChannel[bot-cmnds;no]
Custom Command Bot 01/27/2023
undefined

Related Functions

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

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