Class DiscordUserPrimaryGuild
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
Represents a user's primary guild, which is the guild that the user has chosen to display as their "guild tag" on Discord.
public class DiscordUserPrimaryGuild
- Inheritance
-
objectDiscordUserPrimaryGuild
Properties
- BadgeHash
The server tag badge hash
- BadgeUrl
The URL of the user's server tag badge, if available. This will be
null
if the user does not have a server tag badge or if the BadgeHash is empty.
- IdentityEnabled
Whether the user is displaying the primary guild's server tag. This can be
null
if the system clears the identity, e.g. because the server no longer supports tags.
- IdentityGuildId
The id of the user's primary guild
- Tag
The text of the user's server tag. Limited to 4 characters