$findChannel

Searches for a channel, by ID or name.

Usage:

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

If channel is found:

Member04/02/2024
!!exec $findChannel[bot-commands;no]
Custom Command Bot 04/02/2024
869243919697846379

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

Member04/02/2024
!!exec $findChannel[bot-cmnds;no]
Custom Command Bot 04/02/2024
undefined

Related Functions

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

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