Struct PrimaryGuild
- Namespace
- Discord
- Assembly
- Discord.Net.Core.dll
Represents a primary guild object.
public readonly struct PrimaryGuild
- Inherited Members
Properties
BadgeHash
Gets the hash of the guild tag badge.
public string BadgeHash { get; }
Property Value
GuildId
Gets the id of the user's primary guild.
public ulong? GuildId { get; }
Property Value
IdentityEnabled
Gets whether the user is displaying the primary guild's server tag.
public bool? IdentityEnabled { get; }
Property Value
- bool?
Remarks
This property will be null if the system clears the identity, e.g. because the server no longer supports tags.
Tag
Gets the text of the user's server tag.
public string Tag { get; }
Property Value
Methods
GetBadgeUrl()
Gets the url for the tag badge.
public string GetBadgeUrl()