You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Discord.Net.Rest/Entities/Channels/ChannelHelper.cs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -284,7 +284,7 @@ public static async Task<RestUserMessage> SendMessageAsync(IMessageChannel chann
284
284
Preconditions.AtMost(allowedMentions?.UserIds?.Count??0,100,nameof(allowedMentions.UserIds),"A max of 100 user Ids are allowed.");
285
285
Preconditions.AtMost(embeds.Length,DiscordConfig.MaxEmbedsPerMessage,nameof(embeds),$"A max of {DiscordConfig.MaxEmbedsPerMessage} Embeds are allowed.");
// check that user flag and user Id list are exclusive, same with role flag and role Id list
@@ -400,7 +400,7 @@ public static async Task<RestUserMessage> SendFilesAsync(IMessageChannel channel
400
400
Preconditions.AtMost(allowedMentions?.UserIds?.Count??0,100,nameof(allowedMentions.UserIds),"A max of 100 user Ids are allowed.");
401
401
Preconditions.AtMost(embeds.Length,DiscordConfig.MaxEmbedsPerMessage,nameof(embeds),$"A max of {DiscordConfig.MaxEmbedsPerMessage} Embeds are allowed.");
0 commit comments