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