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
HasPrivateThreads
Gets whether or not this server has private threads enabled.
public bool HasPrivateThreads { get; }
Property Value
HasRoleIcons
Gets whether or not this server has role icons enabled.
public bool HasRoleIcons { get; }
Property Value
HasRoleSubscriptions
Gets whether or not this server has role subscriptions enabled.
public bool HasRoleSubscriptions { get; }
Property Value
HasTextInVoice
Gets whether or not the guild has text-in-voice enabled.
public bool HasTextInVoice { get; }
Property Value
HasThreads
Gets whether or not the guild has threads enabled.
public bool HasThreads { get; }
Property Value
HasVanityUrl
Gets whether or not this server has vanity urls enabled.
public bool HasVanityUrl { get; }
Property Value
IsHub
Gets whether or not this server is a hub.
public bool IsHub { get; }
Property Value
IsLinkedToHub
Gets whether or this server is linked to a hub server.
public bool IsLinkedToHub { get; }
Property Value
IsPartnered
Gets whether or not this server is partnered.
public bool IsPartnered { get; }
Property Value
IsStaffServer
Gets whether or not the server is a internal staff server.
public bool IsStaffServer { get; }
Property Value
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
Value
Gets the flags of recognized features for this guild.
public GuildFeature Value { get; }
Property Value
Methods
HasFeature(GuildFeature)
Returns whether or not this guild has a feature.
public bool HasFeature(GuildFeature feature)
Parameters
feature
GuildFeatureThe feature(s) to check for.
Returns
HasFeature(string)
Returns whether or not this guild has a feature.
public bool HasFeature(string feature)
Parameters
feature
stringThe feature to check for.