Class GuildProperties
- Namespace
- Kook
- Assembly
- Kook.Net.Experimental.dll
Provides properties that are used to modify an IGuild with the specified changes.
public class GuildProperties
- Inheritance
-
GuildProperties
- Inherited Members
Remarks
warning
This entity is still in experimental state, which means that it is not for official API implementation usage, may violate the developer rules or policies, not guaranteed to be stable, and may be changed or removed in the future.
Properties
DefaultChannel
Gets or sets the default channel.
public ITextChannel? DefaultChannel { get; set; }
Property Value
- ITextChannel
An ITextChannel which is the default channel;
null
if nothing changes. To clear the manually assigned default channel, set DefaultChannelId to0
instead.
DefaultChannelId
Gets or sets the ID of the default channel.
public ulong? DefaultChannelId { get; set; }
Property Value
- ulong?
An
ulong
representing the identifier of the default channel.null
if nothing changes.0
if set to none.
EnableOpen
Gets or sets whether the guild is open.
public bool? EnableOpen { get; set; }
Property Value
- bool?
Region
Gets or sets the region for the guild's voice connections.
public IVoiceRegion? Region { get; set; }
Property Value
RegionId
Gets or sets the ID of the region for the guild's voice connections.
public string? RegionId { get; set; }
Property Value
WelcomeChannel
Gets or sets the welcome channel.
public ITextChannel? WelcomeChannel { get; set; }
Property Value
- ITextChannel
An ITextChannel where welcome messages are sent;
null
if nothing changes. To clear the welcome channel, set WelcomeChannelId to0
instead.
WelcomeChannelId
Gets or sets the ID of welcome channel.
public ulong? WelcomeChannelId { get; set; }
Property Value
- ulong?
An
ulong
representing the identifier of the channel where welcome messages are sent;null
if nothing changes.0
if set to none.
WidgetChannel
Gets the channel assigned to the widget of this guild.
public ITextChannel? WidgetChannel { get; set; }
Property Value
- ITextChannel
An ITextChannel assigned to the widget found within the widget settings of this guild;
null
if nothing changes; To clear the widget channel, set WidgetChannelId to0
instead.
WidgetChannelId
Gets the ID of the channel assigned to the widget of this guild.
public ulong? WidgetChannelId { get; set; }
Property Value
- ulong?
A
ulong
representing the identifier of the channel assigned to the widget found within the widget settings of this guild;null
if nothing changes;0
if set to none.