Entity Info
authorTag
$authorTag
Returns the complete tag of the author of the message (format "username#discriminator" or simple username for new accounts).
Syntax
$authorTag
$authorTag
The variable $authorTag returns the complete tag of the author of the message. This is the equivalent of $userTag but explicitly linked to the author of the message.
Syntax
$authorTag
Return value
- Type: Character string
- Old format:
username#discriminatorfor legacy accounts - New format: simply the username for new accounts
Behavior
$authorTagtakes no arguments.- Equivalent to
$userTagin the context of a text command. - For new accounts, the tag is identical to the username.
Examples
Profile of the author
$title[Profile of $authorTag]
$author[$authorUsername;$authorAvatar]
$description[
**Name:** $authorUsername
**Tag:** $authorTag
**ID:** $authorID
]
$color[#5865F2]
$sendMessage[]
Notes
- The
username#discriminatorformat is obsolete for new Discord accounts. - For reliable identification, use
$authorID. $authorTagand$userTagare generally identical in text commands.