mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-01 16:30:08 +00:00
add member.tag
This commit is contained in:
@@ -29,6 +29,9 @@ const baseMember: Partial<Member> = {
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user