Discore
Show / Hide Table of Contents

Class ModifyGuildWidgetOptions

A set of options used to modify the properties of a guild widget.

Inheritance
object
ModifyGuildWidgetOptions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX