Table of Contents

Struct GuildFeatures

Namespace
Kook
Assembly
Kook.Net.Core.dll

Represents a collection of features of a guild.

public readonly struct GuildFeatures
Inherited Members

Fields

None

Gets a blank GuildPermissions that grants no permissions.

public static readonly GuildPermissions None

Field Value

GuildPermissions

Properties

IsKeyAccount

Gets whether the guild is a key account guild.

public bool IsKeyAccount { get; }

Property Value

bool

IsOfficial

Gets whether the guild is an official KOOK guild.

public bool IsOfficial { get; }

Property Value

bool

IsPartner

Gets whether the guild is a partner guild.

public bool IsPartner { get; }

Property Value

bool

RawValues

Gets a collection of strings representing the raw values of the features.

public IReadOnlyCollection<string> RawValues { get; }

Property Value

IReadOnlyCollection<string>

Remarks

Features that are not contained in GuildFeature can be found here.

Value

Gets the flags of recognized features for this guild.

public GuildFeature Value { get; }

Property Value

GuildFeature

Methods

HasFeature(GuildFeature)

Returns whether or not this guild has a feature.

public bool HasFeature(GuildFeature feature)

Parameters

feature GuildFeature

The feature(s) to check for.

Returns

bool

true if this guild has the provided feature(s), otherwise false.

HasFeature(string)

Returns whether or not this guild has a feature.

public bool HasFeature(string feature)

Parameters

feature string

The feature to check for.

Returns

bool

true if this guild has the provided feature, otherwise false.