Skip to main content

UserPrimaryGuild

Documentation


Documentation / @discordeno/bot / UserPrimaryGuild

Interface: UserPrimaryGuild

Defined in: bot/src/transformers/types.ts:1816

Properties

badge?

optional badge: bigint

Defined in: bot/src/transformers/types.ts:1830

The server tag badge hash


identityEnabled?

optional identityEnabled: boolean

Defined in: bot/src/transformers/types.ts:1826

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

Remarks

This can be undefined 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.


identityGuildId?

optional identityGuildId: bigint

Defined in: bot/src/transformers/types.ts:1818

The id of the primary guild


tag?

optional tag: string

Defined in: bot/src/transformers/types.ts:1828

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