description |
---|
Get the Channel Value. |
This function gets the given variable value for the current or specified channel
This function has 1 required field
- Variable (Required)
- Channel ID (Optional)
Raw Usage: $getChannelVar[variable;channelID (optional)]
- Variable - The variable value we're getting for the <channel>
- Channel ID - The channel's variable value we're getting
Current Channel's Variable Value
bot.command({
name: "get",
code: `
$getChannelVar[variable]`
})
Mentioned Channel's Variable Value
bot.command({
name: "get",
code: `
$getChannelVar[variable;$mentionedChannels[1]]`
})