|
|
@@ -71,17 +71,17 @@ namespace Discord |
|
|
|
/// </summary> |
|
|
|
public Optional<ExplicitContentFilterLevel> ExplicitContentFilter { get; set; } |
|
|
|
/// <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> |
|
|
|
/// <remarks> |
|
|
|
/// 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, |
|
|
|
/// 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 |
|
|
|
/// other types of messages. |
|
|
|
/// 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> |
|
|
|
public Optional<SystemChannelMessageDeny> SystemChannelFlags { get; set; } |
|
|
|
} |
|
|
|