<user>
Allows you to get any of a user’s Discord account information.
Context
Event | Context |
---|---|
Welcome message | user is assigned to the user who joined the server. |
Farewell message | user is assigned to the user who left the server. |
Custom command | user is assigned to the user who triggered the command. (not available) |
Syntax
- Input
- Output
<user.mention> left the server... They were a member since <user.joined>.
Properties
Property | Description | Example |
---|---|---|
name | Get the username | Clembs |
discrim | Get the four-digit discriminator | 3548 |
tag | Get the Discord tag | Clembs#3548 |
id | Get the Discord user ID | 327690719085068289 |
avatar | Get a link to the user’s avatar | Discord avatar URL |
banner | Get a link to the user’s banner, or “null” if the user doesn’t have any | Discord banner URL |
nickname | Get the user’s server nickname, or its username if none was set | Clembs |
created | Get the date when the user created their account | 2017-06-23T08:05:00Z |
joined | Get the date when the user joined the current server | 2021-05-06T09:10:00Z |
mention | Mention the user using their ID | Clembs |
isBot | Returns true if the user is a bot, and false otherwise | false |
roles | Get the names of the user’s roles | Developer, Designer, Streamer |