mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 20:43:30 +01:00
Update User.js (#1351)
This commit is contained in:
@@ -132,6 +132,15 @@ class User {
|
|||||||
return this.avatarURL || this.defaultAvatarURL;
|
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
|
* The note that is set for the user
|
||||||
* <warn>This is only available when using a user account.</warn>
|
* <warn>This is only available when using a user account.</warn>
|
||||||
|
|||||||
Reference in New Issue
Block a user