$username[]

Returns the username for the provided user ID.

Syntax

$username[User ID]

Parameters

  • User ID (Type: Snowflake || Flag: Required): The user to get the username for.

Example

$nomention
You just hugged $username[$mentioned[1]]
!example Kuba You just hugged kubastick

What is this?

How $mentioned[] works?