Discore
Show / Hide Table of Contents

Class ModifyGuildOptions

An optional set of parameters for modifying a guild.

Inheritance
object
ModifyGuildOptions
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 ModifyGuildOptions

Properties

Name Description
AfkChannelId

Gets or sets the ID of the AFK voice channel (or null to leave unchanged).

Set to None to remove the AFK channel.

AfkTimeout

Gets or sets the time (in seconds) a member must be idle before being moved to the AFK channel (or null to leave unchanged).

DefaultMessageNotifications

Gets or sets the default message notification setting to be used by new members entering the guild (or null to leave unchanged).

Icon

Gets or sets the icon for the guild (or null to leave unchanged).

Set to None to remove the icon.

Name

Gets or sets the guild name (or null to leave unchanged).

OwnerId

Gets or sets the ID of the user to transfer guild ownership to (or null to leave unchanged) (the current bot must be guild owner).

Splash

Gets or sets the image splash for the guild (or null to leave unchanged) (VIP guilds only).

Set to None to remove the splash.

SystemChannelId

Gets or sets the ID of the text channel which system messages are sent to (or null to leave unchanged).

Set to None to remove the system channel.

VerificationLevel

Gets or sets the required verification level (or null to leave unchanged).

VoiceRegion

Gets or sets the ID of the voice region the guild will use (or null to leave unchanged).

Methods

Name Description
SetAfkChannel(Snowflake)

Sets the ID of the AFK channel for the guild.

SetAfkTimeout(int)

Sets the time (in seconds) a member must be idle before being moved to the AFK channel.

SetDefaultMessageNotifications(GuildNotificationOption)

Sets the default message notification setting to be used by new members entering the guild.

SetIcon(DiscordImageData)

Sets the guild icon.

SetName(string)

Sets the name of the guild.

SetOwner(Snowflake)

Sets the ID of the user to transfer guild ownership to (the current bot must be guild owner).

SetSplash(DiscordImageData)

Sets the image splash for the guild (VIP guilds only).

SetSystemChannel(Snowflake)

Sets the ID of the text channel which system messages are sent to.

SetVerificationLevel(GuildVerificationLevel)

Sets the required verification level for the guild.

SetVoiceRegion(string)

Sets the voice region the guild will use.

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