Skip to main content

Class GuildWidgetProperties

Provides properties that are used to modify the widget of an Discord.IGuild with the specified changes.

Assembly: Discord.Net.Core.dll​
View Source​
Declaration
public class GuildWidgetProperties

Properties​

Enabled​

Sets whether the widget should be enabled.

View Source​
Declaration
public Optional<bool> Enabled { get; set; }

Channel​

Sets the channel that the invite should place its users in, if not null.

View Source​
Declaration
public Optional<IChannel> Channel { get; set; }

ChannelId​

Sets the channel that the invite should place its users in, if not null.

View Source​
Declaration
public Optional<ulong?> ChannelId { get; set; }