BuildcordDocs

Look up a member

Read someone's roles, join date, nickname and more.

member.fetch looks up anyone, not just whoever set the flow off, and makes what Discord knows about them available as tokens.

Settings

SettingWhat it does
MemberWho to look up. See Members.

Ways out

Way outWhen
foundThey're in the server.
missingThey aren't. {lookup.id} and {lookup.createdAt} are still set.

Turn on If it fails for a red way out for anything else.

Tokens

TokenValue
{lookup.name}, {lookup.username}, {lookup.mention}, {lookup.id}Who they are
{lookup.nickname}Their nickname here, or empty
{lookup.roles}Their roles' IDs, separated by commas
{lookup.roleMentions}Their roles as mentions
{lookup.joinedAt}When they joined, in seconds since 1970
{lookup.createdAt}When their account was made
{lookup.bot}, {lookup.boosting}, {lookup.timedOut}, {lookup.inServer}true or false
{lookup.timeoutUntil}When their timeout ends, if they have one
{lookup.avatar}Their profile picture's address

Example

A /whois command: look up {option.member}, then reply with an embed showing <t:{lookup.joinedAt}:R> and {lookup.roleMentions}.

On this page