Piecewise

Build chat bots with blocks

find channel with ID (channel)

In Discord → Channels

Jump to block

Find a channel by their ID. You can find a channels’s ID by right-clicking on it while in Discord’s developer mode. IDs are 18 digit-long snowflakes.

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

Parameters

Parameter name Parameter type Required? Description
channel String The ID to locate the channel by.

Output

channel - The channel, if found (otherwise null).