Class ModifyGuildWidgetOptions
A set of options used to modify the properties of a guild widget.
Inherited Members
Namespace: Discore.Http
Assembly: Discore.dll
Syntax
public class ModifyGuildWidgetOptions
Properties
| Name | Description |
|---|---|
| ChannelId | Gets or sets the ID of the guild channel this widget is for. Set to null to leave the channel ID unmodified. |
| Enabled | Gets or sets whether the widget is enabled. Set to null to leave the enabled state unmodified. |
Methods
| Name | Description |
|---|---|
| SetChannel(Snowflake) | Sets the ID of the guild channel this widget is for. |
| SetEnabled(bool) | Sets whether the widget is enabled. |