$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
andforum
.
Parameters
Channel ID
(Type: Snowflake || Flag: Required)
: The channel which type will be returned.
Example
$nomention
$channelType[$channelID]
Text Channel
DM Channel