App Logo
discord.com

Find Discord member ID by name

Resolves a Discord member's userId from their name, through a channel's mention autocomplete (@name). Useful to build a <@id> ping. Requires being logged in.

Input

name required

Name (or start of the name) of the member to resolve. Throws when no member matches.

channelUrl required

URL of a channel in the server to search, e.g. https://discord.com/channels/<guildId>/<channelId>. Must be a channel the signed-in account can type in (the lookup runs through that channel's message box).

Output

userId required

userId of the first result (best match), or null.

matches required

All members offered by the autocomplete, best first.

Start building not clicking