Skip to main content

DiscordUserPrimaryGuild

Documentation


Documentation / @discordeno/types / DiscordUserPrimaryGuild

Interface: DiscordUserPrimaryGuild

Defined in: discord/user.ts:75

https://docs.discord.com/developers/resources/user#user-object-user-primary-guild

Properties

badge

badge: string | null

Defined in: discord/user.ts:89

The server tag badge hash


identity_enabled

identity_enabled: boolean | null

Defined in: discord/user.ts:85

Whether the user is displaying the primary guild's server tag.

Remarks

This can be null if the system clears the identity, e.g. because the server no longer supports tags. This will be false if the user manually removes their tag.


identity_guild_id

identity_guild_id: string | null

Defined in: discord/user.ts:77

The id of the primary guild


tag

tag: string | null

Defined in: discord/user.ts:87

The text of the user's server tag. Limited to 4 characters