Table of Contents

Class GuildFeatures

Namespace
Discord
Assembly
Discord.Net.Core.dll
public class GuildFeatures
Inheritance
GuildFeatures
Inherited Members

Properties

Experimental

Gets a collection of experimental features for this guild. Features that are not contained in GuildFeature are put in here.

public IReadOnlyCollection<string> Experimental { get; }

Property Value

IReadOnlyCollection<string>

HasPrivateThreads

Gets whether or not this server has private threads enabled.

public bool HasPrivateThreads { get; }

Property Value

bool

HasRoleIcons

Gets whether or not this server has role icons enabled.

public bool HasRoleIcons { get; }

Property Value

bool

HasRoleSubscriptions

Gets whether or not this server has role subscriptions enabled.

public bool HasRoleSubscriptions { get; }

Property Value

bool

HasTextInVoice

Gets whether or not the guild has text-in-voice enabled.

public bool HasTextInVoice { get; }

Property Value

bool

HasThreads

Gets whether or not the guild has threads enabled.

public bool HasThreads { get; }

Property Value

bool

HasVanityUrl

Gets whether or not this server has vanity urls enabled.

public bool HasVanityUrl { get; }

Property Value

bool

IsHub

Gets whether or not this server is a hub.

public bool IsHub { get; }

Property Value

bool

IsLinkedToHub

Gets whether or this server is linked to a hub server.

public bool IsLinkedToHub { get; }

Property Value

bool

IsPartnered

Gets whether or not this server is partnered.

public bool IsPartnered { get; }

Property Value

bool

IsStaffServer

Gets whether or not the server is a internal staff server.

public bool IsStaffServer { get; }

Property Value

bool

Remarks

You shouldn't touch anything here unless you know what you're doing :)

IsVerified

Gets whether or not this server is verified.

public bool IsVerified { get; }

Property Value

bool

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.