mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 00:53:31 +01:00
Update User.js (#1351)
This commit is contained in:
@@ -132,6 +132,15 @@ class User {
|
||||
return this.avatarURL || this.defaultAvatarURL;
|
||||
}
|
||||
|
||||
/**
|
||||
* The discord "tag" for this user
|
||||
* @type {string}
|
||||
* @readonly
|
||||
*/
|
||||
get tag() {
|
||||
return `${this.username}#${this.discriminator}`;
|
||||
}
|
||||
|
||||
/**
|
||||
* The note that is set for the user
|
||||
* <warn>This is only available when using a user account.</warn>
|
||||
|
||||
Reference in New Issue
Block a user