Piecewise

Build chat bots with blocks

find server with name (name)

In Discord → Servers

Jump to block

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

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

Parameters

Parameter name Parameter type Required? Description
name String The name of the server to find.

Output

guild - The server if found, or null.