Piecewise

Build chat bots with blocks

find user with ID (userid)

In Discord → Users

Jump to block

Find a user by their ID. You can find a user’s ID by right-clicking on them 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
userid String The ID of the user to find.

Output

user - The user - if one was found with that ID - or null