Skip to content
Channel Exists Ai

$channelExists

Checks if a channel with the provided ID exists. Returns true if the channel exists, and false if it doesn’t.

Usage:

$channelExists[channelID]

Parameters:

  • channelID: The ID of the channel to check. This should be a numerical value.

Example:

!!exec $channelExists[889102524727058463]
true

::: tip Example Breakdown This example checks if a channel with the ID 889102524727058463 exists. Since a channel with that ID exists, the function returns true. :::

::: tip Useful Tip You can use the $channelID function to retrieve the ID of a channel based on its name. This is helpful if you don’t already know the channel’s ID. :::

::: tip Related Functions

Function Difficulty:
Tags: