$user
Multiple options to retrive informations from user.
Usage
$user[userID;option]
- userID - (Optional) default value:
$authorID
. The ID of user you want to retrive informations from. - option - What data to retrive from user.
Can be:
name
- Returns username of the user. (user)id
- Returns ID of the user. (123456789123456789)tag
- Returns tag of the user. (User#1234)discrim
- Returns discriminator of the user. (1234)mention
- Returns mention of the user.avatar
- Returns avatar URL of the user.isbot
- Returnstrue
if the user is a bot,false
if the user is not a bot.banner
- Returns banner URL of the user.created
- Returns accounts creation time. (Wednesday, January 1, 2025 08:30 PM)timestamp
- Returns accounts age inX days, Y hours, Z minutes
format.ms
- Returns accounts creation time in miliseconds. (1735763400000)lastmessagechannelid
- Returns users last messages channel ID.lastmessageid
- Returns users last messages ID.
Example
Using $user
How to show user account creation date
Note
The option tag
and discrim
is deprecated because Discord switched to usernames. The option tag
will return only username and option discrim
0 as of the username update. This still works on bots.