@@ -365,7 +365,6 @@ namespace Discord.Rest | |||||
Preconditions.AtMost(allowedMentions?.RoleIds?.Count ?? 0, 100, nameof(allowedMentions.RoleIds), "A max of 100 role Ids are allowed."); | Preconditions.AtMost(allowedMentions?.RoleIds?.Count ?? 0, 100, nameof(allowedMentions.RoleIds), "A max of 100 role Ids are allowed."); | ||||
Preconditions.AtMost(allowedMentions?.UserIds?.Count ?? 0, 100, nameof(allowedMentions.UserIds), "A max of 100 user Ids are allowed."); | Preconditions.AtMost(allowedMentions?.UserIds?.Count ?? 0, 100, nameof(allowedMentions.UserIds), "A max of 100 user Ids are allowed."); | ||||
Preconditions.AtMost(embeds.Length, 10, nameof(embeds), "A max of 10 embeds are allowed."); | Preconditions.AtMost(embeds.Length, 10, nameof(embeds), "A max of 10 embeds are allowed."); | ||||
Preconditions.NotNullOrEmpty(filename, nameof(filename), "File Name must not be empty or null"); | |||||
foreach(var attachment in attachments) | foreach(var attachment in attachments) | ||||
{ | { | ||||
@@ -55,8 +55,6 @@ namespace Discord.WebSocket | |||||
/// </remarks> | /// </remarks> | ||||
public abstract bool HasResponded { get; internal set; } | public abstract bool HasResponded { get; internal set; } | ||||
internal abstract bool _hasResponded { get; set; } | |||||
/// <summary> | /// <summary> | ||||
/// <see langword="true"/> if the token is valid for replying to, otherwise <see langword="false"/>. | /// <see langword="true"/> if the token is valid for replying to, otherwise <see langword="false"/>. | ||||
/// </summary> | /// </summary> | ||||
@@ -38,8 +38,6 @@ namespace Discord.WebSocket | |||||
/// <inheritdoc /> | /// <inheritdoc /> | ||||
public string Icon { get; private set; } | public string Icon { get; private set; } | ||||
/// <inheritdoc /> | /// <inheritdoc /> | ||||
public string Icon { get; private set; } | |||||
/// <inheritdoc /> | |||||
public GuildPermissions Permissions { get; private set; } | public GuildPermissions Permissions { get; private set; } | ||||
/// <inheritdoc /> | /// <inheritdoc /> | ||||
public int Position { get; private set; } | public int Position { get; private set; } | ||||
@@ -78,7 +76,6 @@ namespace Discord.WebSocket | |||||
internal void Update(ClientState state, Model model) | internal void Update(ClientState state, Model model) | ||||
{ | { | ||||
Name = model.Name; | Name = model.Name; | ||||
Icon = model.Icon; | |||||
IsHoisted = model.Hoist; | IsHoisted = model.Hoist; | ||||
IsManaged = model.Managed; | IsManaged = model.Managed; | ||||
IsMentionable = model.Mentionable; | IsMentionable = model.Mentionable; | ||||