mirror of
https://github.com/danbulant/discord.js
synced 2026-05-26 05:22:15 +00:00
Update User.js (#1351)
This commit is contained in:
parent
6d4fe89212
commit
8436cbe8b1
1 changed files with 9 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue