Table of Contents

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

string

GuildId

Gets the id of the user's primary guild.

public ulong? GuildId { get; }

Property Value

ulong?

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

string

Methods

GetBadgeUrl()

Gets the url for the tag badge.

public string GetBadgeUrl()

Returns

string