dm- a DM channel
text- a guild text channel
voice- a guild voice channel
category- a guild category channel
news- a guild news channel
store- a guild store channel
unknown- a generic channel of unknown type
undefined- If the channel type is invalid or channel does not exist.
- Returns the channel type of the channel the command is executed in. Same as no brackets.
channelID- Returns the channel type of the channel of the supplied channel ID