$mentioned

Returns the ID of the mentioned user.

Usage

$mentioned[mentionNumber;(returnAuthor)]

Parameters

  • mentionNumber (Type: HowMany || Flag: Required): The user-mention to get from the author's message (1 = first user-mention, 2 = second, etc).
  • returnAuthor (Type: Bool || Flag: Optional): Whether to return the author's ID if no user is mentioned or not.

Example

$nomention
$mentioned[1]

example