Skip to content

Commit

Permalink
docs(User): update
Browse files Browse the repository at this point in the history
Co-authored-by: Rodrigo Leitão <38259440+ImRodry@users.noreply.github.com>
  • Loading branch information
Syjalo and ImRodry committed Jun 7, 2023
1 parent 6ddc31b commit e82edd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/discord.js/src/structures/User.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class User extends Base {
if ('discriminator' in data) {
/**
* The discriminator of this user
* <info>`'0'`, or a 4-digits stringified number if they're using the legacy username system</info>
* <info>`'0'`, or a 4-digit stringified number if they're using the legacy username system</info>
* @type {?string}
*/
this.discriminator = data.discriminator;
Expand Down Expand Up @@ -205,7 +205,7 @@ class User extends Base {

/**
* The tag of this user
* <info>This user's username, or `hydrabolt#0001` if they're using the legacy username system</info>
* <info>This user's username, or their legacy tag (e.g. `hydrabolt#0001`) if they're using the legacy username system</info>
* @type {?string}
* @readonly
* @deprecated Use {@link User#username} instead.
Expand Down

0 comments on commit e82edd1

Please sign in to comment.