$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

Example Breakdown

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

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.

Related Functions

Function Difficulty: Easy
Tags: Channel exists check is real server channel