| @@ -71,17 +71,17 @@ namespace Discord | |||||
| /// </summary> | /// </summary> | ||||
| public Optional<ExplicitContentFilterLevel> ExplicitContentFilter { get; set; } | public Optional<ExplicitContentFilterLevel> ExplicitContentFilter { get; set; } | ||||
| /// <summary> | /// <summary> | ||||
| /// Gets or sets the flags that DISABLE types of system channels. | |||||
| /// Gets or sets the flags that DISABLE types of system channel messages. | |||||
| /// </summary> | /// </summary> | ||||
| /// <remarks> | /// <remarks> | ||||
| /// These flags are inverted. Setting a flag will disable that system channel message from being sent. | /// These flags are inverted. Setting a flag will disable that system channel message from being sent. | ||||
| /// A value of <see cref="SystemChannelMessageDeny.None"/> will allow all system channel message types to be sent, | /// A value of <see cref="SystemChannelMessageDeny.None"/> will allow all system channel message types to be sent, | ||||
| /// given that the <see cref="SystemChannelId"/> has also been sent. | |||||
| /// given that the <see cref="SystemChannelId"/> has also been set. | |||||
| /// A value of <see cref="SystemChannelMessageDeny.GuildBoost"/> will deny guild boost messages from being sent, and allow all | /// A value of <see cref="SystemChannelMessageDeny.GuildBoost"/> will deny guild boost messages from being sent, and allow all | ||||
| /// other types of messages. | /// other types of messages. | ||||
| /// Refer to the extension methods <see cref="GuildExtensions.GetGuildBoostMessagesEnabled(IGuild)"/> and | /// Refer to the extension methods <see cref="GuildExtensions.GetGuildBoostMessagesEnabled(IGuild)"/> and | ||||
| /// <see cref="GuildExtensions.GetWelcomeMessagesEnabled(IGuild)"/> to check if these system channel messages | |||||
| /// are enabled, without the need to manipulate the flags. | |||||
| /// <see cref="GuildExtensions.GetWelcomeMessagesEnabled(IGuild)"/> to check if these system channel message types | |||||
| /// are enabled, without the need to manipulate the logic of the flag. | |||||
| /// </remarks> | /// </remarks> | ||||
| public Optional<SystemChannelMessageDeny> SystemChannelFlags { get; set; } | public Optional<SystemChannelMessageDeny> SystemChannelFlags { get; set; } | ||||
| } | } | ||||
| @@ -213,9 +213,6 @@ namespace Discord | |||||
| /// <summary> | /// <summary> | ||||
| /// Gets the URL of this guild's banner image. | /// Gets the URL of this guild's banner image. | ||||
| /// </summary> | /// </summary> | ||||
| /// <remarks> | |||||
| /// This is referred to as the vanity image in the API. | |||||
| /// </remarks> | |||||
| /// <returns> | /// <returns> | ||||
| /// A URL pointing to the guild's banner image; <c>null</c> if none is set. | /// A URL pointing to the guild's banner image; <c>null</c> if none is set. | ||||
| /// </returns> | /// </returns> | ||||
| @@ -228,10 +225,10 @@ namespace Discord | |||||
| /// </returns> | /// </returns> | ||||
| string VanityURLCode { get; } | string VanityURLCode { get; } | ||||
| /// <summary> | /// <summary> | ||||
| /// Gets the flags for the types of system channels that are disabled. | |||||
| /// Gets the flags for the types of system channel messages that are disabled. | |||||
| /// </summary> | /// </summary> | ||||
| /// <returns> | /// <returns> | ||||
| /// The flags for the types of system channel flags that are disabled. | |||||
| /// The flags for the types of system channel messages that are disabled. | |||||
| /// </returns> | /// </returns> | ||||
| SystemChannelMessageDeny SystemChannelFlags { get; } | SystemChannelMessageDeny SystemChannelFlags { get; } | ||||
| /// <summary> | /// <summary> | ||||
| @@ -244,6 +241,9 @@ namespace Discord | |||||
| /// <summary> | /// <summary> | ||||
| /// Gets the number of premium subscribers of this guild. | /// Gets the number of premium subscribers of this guild. | ||||
| /// </summary> | /// </summary> | ||||
| /// <remarks> | |||||
| /// This is the number of users who have boosted this guild. | |||||
| /// </remarks> | |||||
| /// <returns> | /// <returns> | ||||
| /// The number of premium subscribers of this guild. | /// The number of premium subscribers of this guild. | ||||
| /// </returns> | /// </returns> | ||||
| @@ -11,11 +11,11 @@ namespace Discord | |||||
| /// </summary> | /// </summary> | ||||
| None = 0, | None = 0, | ||||
| /// <summary> | /// <summary> | ||||
| /// The messages that are sent when a user joins the guild. | |||||
| /// Deny the messages that are sent when a user joins the guild. | |||||
| /// </summary> | /// </summary> | ||||
| WelcomeMessage = 0b1, | WelcomeMessage = 0b1, | ||||
| /// <summary> | /// <summary> | ||||
| /// The messages that are sent when a user boosts the guild. | |||||
| /// Deny the messages that are sent when a user boosts the guild. | |||||
| /// </summary> | /// </summary> | ||||
| GuildBoost = 0b10 | GuildBoost = 0b10 | ||||
| } | } | ||||
| @@ -6,7 +6,7 @@ namespace Discord | |||||
| public static class GuildExtensions | public static class GuildExtensions | ||||
| { | { | ||||
| /// <summary> | /// <summary> | ||||
| /// Gets if welcome message system messages are enabled. | |||||
| /// Gets if welcome system messages are enabled. | |||||
| /// </summary> | /// </summary> | ||||
| /// <param name="guild"> The guild to check. </param> | /// <param name="guild"> The guild to check. </param> | ||||
| /// <returns> A <c>bool</c> indicating if the welcome messages are enabled in the system channel. </returns> | /// <returns> A <c>bool</c> indicating if the welcome messages are enabled in the system channel. </returns> | ||||