Skip to content

Commit

Permalink
Update User.js (#1351)
Browse files Browse the repository at this point in the history
  • Loading branch information
devsnek authored and amishshah committed Apr 10, 2017
1 parent 6d4fe89 commit 8436cbe
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/structures/User.js
Expand Up @@ -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>
Expand Down

1 comment on commit 8436cbe

@gavwin
Copy link
Contributor

@gavwin gavwin commented on 8436cbe May 1, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<3

Please sign in to comment.