diff --git a/src/api/structures/member.ts b/src/api/structures/member.ts index 8b4d397bf..e0340f3a3 100644 --- a/src/api/structures/member.ts +++ b/src/api/structures/member.ts @@ -29,6 +29,9 @@ const baseMember: Partial = { get mention() { return `<@!${this.id!}>`; }, + get tag() { + return `${this.username!}#${this.discriminator1}`; + }, // METHODS makeAvatarURL(size, format) { @@ -160,6 +163,8 @@ export interface Member { avatarURL: string; /** The mention string for this member */ mention: string; + /** The username#discriminator tag for this member */ + tag: string; // METHODS