$getChannelVar

Returns the value of the provided channel variable.

Syntax

$getChannelVar[Variable name;(Channel ID)]

Parameters

  • Variable name (Type: String || Flag: Required): The name of the variable to get.
  • Channel ID (Type: Snowflake || Flag: Optional): The channel to get the value for. If no “Channel ID” is present, then the current channel will be used.

Example

$nomention
Command used `$getChannelVar[Uses]` times in this channel
!example Command used 1 times in this channel

For more info, see the Variables Guide.