Class GuildProperties
Provides properties that are used to modify an Discord.IGuild with the specified changes.
Assembly: Discord.Net.Core.dll​
View Source​
public class GuildProperties
Properties​
Name​
Gets or sets the name of the guild. Must be within 100 characters.
View Source​
public Optional<string> Name { get; set; }
Region​
Gets or sets the region for the guild's voice connections.
View Source​
public Optional<IVoiceRegion> Region { get; set; }
RegionId​
Gets or sets the ID of the region for the guild's voice connections.
View Source​
public Optional<string> RegionId { get; set; }
VerificationLevel​
Gets or sets the verification level new users need to achieve before speaking.
View Source​
public Optional<VerificationLevel> VerificationLevel { get; set; }
DefaultMessageNotifications​
Gets or sets the default message notification state for the guild.
View Source​
public Optional<DefaultMessageNotifications> DefaultMessageNotifications { get; set; }
AfkTimeout​
Gets or sets how many seconds before a user is sent to AFK. This value MUST be one of: (60, 300, 900, 1800, 3600).
View Source​
public Optional<int> AfkTimeout { get; set; }
Icon​
Gets or sets the icon of the guild.
View Source​
public Optional<Image?> Icon { get; set; }
Banner​
Gets or sets the banner of the guild.
View Source​
public Optional<Image?> Banner { get; set; }
Splash​
Gets or sets the guild's splash image.
View Source​
public Optional<Image?> Splash { get; set; }
AfkChannel​
Gets or sets the Discord.IVoiceChannel where AFK users should be sent.
View Source​
public Optional<IVoiceChannel> AfkChannel { get; set; }
AfkChannelId​
Gets or sets the ID of the Discord.IVoiceChannel where AFK users should be sent.
View Source​
public Optional<ulong?> AfkChannelId { get; set; }
SystemChannel​
Gets or sets the Discord.ITextChannel where system messages should be sent.
View Source​
public Optional<ITextChannel> SystemChannel { get; set; }
SystemChannelId​
Gets or sets the ID of the Discord.ITextChannel where system messages should be sent.
View Source​
public Optional<ulong?> SystemChannelId { get; set; }
Owner​
Gets or sets the owner of this guild.
View Source​
public Optional<IUser> Owner { get; set; }
OwnerId​
Gets or sets the ID of the owner of this guild.
View Source​
public Optional<ulong> OwnerId { get; set; }
ExplicitContentFilter​
Gets or sets the explicit content filter level of this guild.
View Source​
public Optional<ExplicitContentFilterLevel> ExplicitContentFilter { get; set; }
SystemChannelFlags​
Gets or sets the flags that DISABLE types of system channel messages.
View Source​
public Optional<SystemChannelMessageDeny> SystemChannelFlags { get; set; }
PreferredLocale​
Gets or sets the preferred locale of the guild in IETF BCP 47 language tag format.
View Source​
public Optional<string> PreferredLocale { get; set; }
PreferredCulture​
Gets or sets the preferred locale of the guild.
View Source​
public Optional<CultureInfo> PreferredCulture { get; set; }
IsBoostProgressBarEnabled​
Gets or sets if the boost progress bar is enabled.
View Source​
public Optional<bool> IsBoostProgressBarEnabled { get; set; }