Skip to content
Lists & Helpers mentionUser

$mentionUser — Builds the mention of a user from their ID (<@ID>)

Builds the mention of a user from their ID (`<@ID>`).

Syntax

$mentionUser[userID]

Parameters

  • userID (ID, required) — A user ID. An empty value gives an empty result.

Return Value

  • string: <@userID>, or empty.

Usage

$mentionUser[123456789] → "<@123456789>"

Example

$sendMessage[$mentionUser[123456789]]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.