$channelType

Returns the type of a channel.

Syntax

$channelType[Channel ID]

The different channel types that the bot will return are: text, voice, category, thread, dm, stage, announcement and forum.

Parameters

  • Channel ID (Type: Snowflake || Flag: Required): The channel which type will be returned.

Example

$nomention
$channelType[$channelID]

Text Channel

!channelType text

DM Channel

!channelType dm