$mentioned
Returns the ID of the mentioned user.
You can’t use this function in slash command! Instead of this use $message[]
.
Syntax
$mentioned[Mention number;(Return author?)]
Parameters
Mention number
(Type: HowMany || Flag: Required)
: The user-mention to get from the author’s message (1
= first user-mention,2
= second, etc).Return author?
(Type: Bool || Flag: Optional)
: Whether to return the author’s ID if no user is mentioned or not. Default isyes
.
Example
$nomention
$mentioned[1;no]