$mentioned

Returns the ID of the mentioned user.

Usage

$mentioned[mentionNumber;(optional) returnAuthor (yes/no)]

Breakdown

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

Example

$nomention
$mentioned[1]

example