$channelID

Returns the ID of the current channel.

Syntax

$channelID

Example

$nomention
Channel ID: $channelID

example

It will return none if you use it in a DM.

example