Build chat bots with blocks

parent server of channel (channel)

In Discord → Channels

Jump to block

Find the parent server of the provided channel.

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


Parameter name Parameter type Required? Description
channel channel The channel to get the parent server of.


guild - The parent server of the channel, or null if this is a DM.