$parentID

Returns the current channel’s parent category ID.

Syntax

$parentID

Example

$nomention
Current category: $parentID
!example Current category: 567445224989786132

Example

Returns empty if no parent (category) was found:

!example Current category: