$findChannel

Searches for a channel, by ID or name

Usage:

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

If channel is found:

Member02/03/2022
!!exec $findChannel[bot-commands;no]
Custom Command Bot 02/03/2022
869243919697846379

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

Member02/03/2022
!!exec $findChannel[bot-cmnds;no]
Custom Command Bot 02/03/2022
undefined

Related Functions

$channelExists, to check if a channel does exists

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