Piecewise

Build chat bots with blocks

find channel in server (guild) with name (name)

In Discord → Channels

Jump to block

Find a channel in a server with a particular name. (Note: you should be using IDs instead. Enable developer mode and right click the channel to get its ID.)

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

Parameters

Parameter name Parameter type Required? Description
guild guild The server to look for the channel in.
name String The name of the channel to look for.

Output

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