$channelID

Returns the ID of the current channel.

Syntax

$channelID

Example

$nomention
Channel ID: $channelID
!example Channel ID: 566370477967147018

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

!example Channel ID: none