$channelExists

$channelExists

Checks whether or not the given channelID exists. Return true if it exists, returns false if it doesn't.

Usage

$channelExists[channelID]

Breakdown

channelID - The channel to check for.

Example

bot.command({
    type: "command",
    name: "channel-exists",
    code: `Channel Exists? $channelExists[$message]`
})

Last updated

Was this helpful?