Piecewise

Build chat bots with blocks

(property) of channel (channel)

In Discord → Channels

Jump to block

Find a property of a channel.

Requires the following blocks to be present in the project: discord login

Parameters

Parameter name Parameter type Required? Description
property any The property to get.
channel channel The channel to get a property of.

Output

String - The requested property, as a string, or empty string if undefined or not applicable