@@ -80,6 +80,7 @@ namespace Discord.Rest | |||
/// <returns> | |||
/// An <see cref="Int32"/> representing the time in seconds required before the user can send another | |||
/// message; <c>0</c> if disabled. | |||
/// <c>null</c> if this is not mentioned in this entry. | |||
/// </returns> | |||
public int? SlowModeInterval { get; } | |||
/// <summary> | |||
@@ -87,6 +88,7 @@ namespace Discord.Rest | |||
/// </summary> | |||
/// <returns> | |||
/// <c>true</c> if the created channel has the NSFW flag enabled; otherwise <c>false</c>. | |||
/// <c>null</c> if this is not mentioned in this entry. | |||
/// </returns> | |||
public bool? IsNsfw { get; } | |||
/// <summary> | |||
@@ -95,6 +97,7 @@ namespace Discord.Rest | |||
/// <returns> | |||
/// An <see cref="Int32"/> representing the bit-rate (bps) that the created voice channel defines and requests the | |||
/// client(s) to use. | |||
/// <c>null</c> if this is not mentioned in this entry. | |||
/// </returns> | |||
public int? Bitrate { get; } | |||
/// <summary> | |||
@@ -73,6 +73,7 @@ namespace Discord.Rest | |||
/// <returns> | |||
/// An <see cref="Int32"/> representing the time in seconds required before the user can send another | |||
/// message; <c>0</c> if disabled. | |||
/// <c>null</c> if this is not mentioned in this entry. | |||
/// </returns> | |||
public int? SlowModeInterval { get; } | |||
/// <summary> | |||
@@ -80,14 +81,15 @@ namespace Discord.Rest | |||
/// </summary> | |||
/// <returns> | |||
/// <c>true</c> if this channel had the NSFW flag enabled; otherwise <c>false</c>. | |||
/// <c>null</c> if this is not mentioned in this entry. | |||
/// </returns> | |||
public bool? IsNsfw { get; } | |||
/// <summary> | |||
/// Gets the bit-rate of this channel if applicable. | |||
/// </summary> | |||
/// <returns> | |||
/// An <see cref="Int32"/> representing the bit-rate set of the voice channel; <c>null</c> if not | |||
/// applicable. | |||
/// An <see cref="Int32"/> representing the bit-rate set of the voice channel. | |||
/// <c>null</c> if this is not mentioned in this entry. | |||
/// </returns> | |||
public int? Bitrate { get; } | |||
/// <summary> | |||
@@ -34,6 +34,7 @@ namespace Discord.Rest | |||
/// <returns> | |||
/// An <see cref="Int32"/> representing the time in seconds required before the user can send another | |||
/// message; <c>0</c> if disabled. | |||
/// <c>null</c> if this is not mentioned in this entry. | |||
/// </returns> | |||
public int? SlowModeInterval { get; } | |||
/// <summary> | |||
@@ -41,14 +42,15 @@ namespace Discord.Rest | |||
/// </summary> | |||
/// <returns> | |||
/// <c>true</c> if this channel has the NSFW flag enabled; otherwise <c>false</c>. | |||
/// <c>null</c> if this is not mentioned in this entry. | |||
/// </returns> | |||
public bool? IsNsfw { get; } | |||
/// <summary> | |||
/// Gets the bit-rate of this channel if applicable. | |||
/// </summary> | |||
/// <returns> | |||
/// An <see cref="System.Int32"/> representing the bit-rate set for the voice channel; <c>null</c> if not | |||
/// applicable. | |||
/// An <see cref="Int32"/> representing the bit-rate set for the voice channel; | |||
/// <c>null</c> if this is not mentioned in this entry. | |||
/// </returns> | |||
public int? Bitrate { get; } | |||
} | |||
@@ -32,11 +32,16 @@ namespace Discord.Rest | |||
/// <returns> | |||
/// An <see cref="int"/> representing the amount of time in seconds for a user to be marked as inactive | |||
/// and moved into the AFK voice channel. | |||
/// <c>null</c> if this is not mentioned in this entry. | |||
/// </returns> | |||
public int? AfkTimeout { get; } | |||
/// <summary> | |||
/// Gets the default message notifications for users who haven't explicitly set their notification settings. | |||
/// </summary> | |||
/// <returns> | |||
/// The default message notifications setting of this guild. | |||
/// <c>null</c> if this is not mentioned in this entry. | |||
/// </returns> | |||
public DefaultMessageNotifications? DefaultMessageNotifications { get; } | |||
/// <summary> | |||
/// Gets the ID of the AFK voice channel for this guild. | |||
@@ -69,6 +74,7 @@ namespace Discord.Rest | |||
/// </summary> | |||
/// <returns> | |||
/// The level of requirements. | |||
/// <c>null</c> if this is not mentioned in this entry. | |||
/// </returns> | |||
public VerificationLevel? VerificationLevel { get; } | |||
/// <summary> | |||
@@ -84,6 +90,7 @@ namespace Discord.Rest | |||
/// </summary> | |||
/// <returns> | |||
/// The level of MFA requirement. | |||
/// <c>null</c> if this is not mentioned in this entry. | |||
/// </returns> | |||
public MfaLevel? MfaLevel { get; } | |||
/// <summary> | |||
@@ -94,11 +101,11 @@ namespace Discord.Rest | |||
/// </returns> | |||
public ExplicitContentFilterLevel? ExplicitContentFilter { get; } | |||
/// <summary> | |||
/// Gets the ID of the channel where randomized welcome messages are sent. | |||
/// Gets the ID of the channel where system messages are sent. | |||
/// </summary> | |||
/// <returns> | |||
/// A <see cref="ulong"/> representing the snowflake identifier of the system channel where randomized | |||
/// welcome messages are sent; <c>null</c> if none is set. | |||
/// A <see cref="ulong"/> representing the snowflake identifier of the channel where system | |||
/// messages are sent; <c>null</c> if none is set. | |||
/// </returns> | |||
public ulong? SystemChannelId { get; } | |||
/// <summary> | |||
@@ -114,6 +121,7 @@ namespace Discord.Rest | |||
/// </summary> | |||
/// <returns> | |||
/// <c>true</c> if this guild can be embedded via widgets; otherwise <c>false</c>. | |||
/// <c>null</c> if this is not mentioned in this entry. | |||
/// </returns> | |||
public bool? IsEmbeddable { get; } | |||
} | |||
@@ -25,6 +25,7 @@ namespace Discord.Rest | |||
/// <returns> | |||
/// <c>true</c> if the updated member is deafened (i.e. not permitted to listen to or speak to others) by the guild; | |||
/// otherwise <c>false</c>. | |||
/// <c>null</c> if this is not mentioned in this entry. | |||
/// </returns> | |||
public bool? Deaf { get; } | |||
/// <summary> | |||
@@ -33,6 +34,7 @@ namespace Discord.Rest | |||
/// </summary> | |||
/// <returns> | |||
/// <c>true</c> if the updated member is muted by the guild; otherwise <c>false</c>. | |||
/// <c>null</c> if this is not mentioned in this entry. | |||
/// </returns> | |||
public bool? Mute { get; } | |||
} | |||