@@ -132,7 +132,7 @@ public interface IDiscordInteraction : ISnowflakeEntity
132132 /// A task that represents an asynchronous send operation for delivering the message.
133133 /// </returns>
134134 Task RespondAsync ( string text = null , Embed [ ] embeds = null , bool isTTS = false , bool ephemeral = false , AllowedMentions allowedMentions = null ,
135- MessageComponent components = null , Embed embed = null , RequestOptions options = null , PollProperties poll = null , MessageFlags flags = MessageFlags . None ) ;
135+ MessageComponent components = null , Embed embed = null , RequestOptions options = null , PollProperties poll = null ) ;
136136
137137 /// <summary>
138138 /// Responds to this interaction with a file attachment.
@@ -154,8 +154,7 @@ Task RespondAsync(string text = null, Embed[] embeds = null, bool isTTS = false,
154154 /// </returns>
155155#if NETCOREAPP3_0_OR_GREATER
156156 async Task RespondWithFileAsync ( Stream fileStream , string fileName , string text = null , Embed [ ] embeds = null , bool isTTS = false , bool ephemeral = false ,
157- AllowedMentions allowedMentions = null , MessageComponent components = null , Embed embed = null , RequestOptions options = null , PollProperties poll = null ,
158- MessageFlags flags = MessageFlags . None )
157+ AllowedMentions allowedMentions = null , MessageComponent components = null , Embed embed = null , RequestOptions options = null , PollProperties poll = null )
159158 {
160159 using ( var file = new FileAttachment ( fileStream , fileName ) )
161160 {
@@ -164,8 +163,7 @@ async Task RespondWithFileAsync(Stream fileStream, string fileName, string text
164163 }
165164#else
166165 Task RespondWithFileAsync ( Stream fileStream , string fileName , string text = null , Embed [ ] embeds = null , bool isTTS = false , bool ephemeral = false ,
167- AllowedMentions allowedMentions = null , MessageComponent components = null , Embed embed = null , RequestOptions options = null , PollProperties poll = null
168- , MessageFlags flags = MessageFlags . None ) ;
166+ AllowedMentions allowedMentions = null , MessageComponent components = null , Embed embed = null , RequestOptions options = null , PollProperties poll = null ) ;
169167#endif
170168 /// <summary>
171169 /// Responds to this interaction with a file attachment.
@@ -187,8 +185,7 @@ Task RespondWithFileAsync(Stream fileStream, string fileName, string text = null
187185 /// </returns>
188186#if NETCOREAPP3_0_OR_GREATER
189187 async Task RespondWithFileAsync ( string filePath , string fileName = null , string text = null , Embed [ ] embeds = null , bool isTTS = false , bool ephemeral = false ,
190- AllowedMentions allowedMentions = null , MessageComponent components = null , Embed embed = null , RequestOptions options = null , PollProperties poll = null ,
191- MessageFlags flags = MessageFlags . None )
188+ AllowedMentions allowedMentions = null , MessageComponent components = null , Embed embed = null , RequestOptions options = null , PollProperties poll = null )
192189 {
193190 using ( var file = new FileAttachment ( filePath , fileName ) )
194191 {
@@ -197,8 +194,7 @@ async Task RespondWithFileAsync(string filePath, string fileName = null, string
197194 }
198195#else
199196 Task RespondWithFileAsync ( string filePath , string fileName = null , string text = null , Embed [ ] embeds = null , bool isTTS = false , bool ephemeral = false ,
200- AllowedMentions allowedMentions = null , MessageComponent components = null , Embed embed = null , RequestOptions options = null , PollProperties poll = null ,
201- MessageFlags flags = MessageFlags . None ) ;
197+ AllowedMentions allowedMentions = null , MessageComponent components = null , Embed embed = null , RequestOptions options = null , PollProperties poll = null ) ;
202198#endif
203199 /// <summary>
204200 /// Responds to this interaction with a file attachment.
@@ -219,13 +215,11 @@ Task RespondWithFileAsync(string filePath, string fileName = null, string text =
219215 /// </returns>
220216#if NETCOREAPP3_0_OR_GREATER
221217 Task RespondWithFileAsync ( FileAttachment attachment , string text = null , Embed [ ] embeds = null , bool isTTS = false , bool ephemeral = false ,
222- AllowedMentions allowedMentions = null , MessageComponent components = null , Embed embed = null , RequestOptions options = null , PollProperties poll = null ,
223- MessageFlags flags = MessageFlags . None )
224- => RespondWithFilesAsync ( [ attachment ] , text , embeds , isTTS , ephemeral , allowedMentions , components , embed , options , poll , flags ) ;
218+ AllowedMentions allowedMentions = null , MessageComponent components = null , Embed embed = null , RequestOptions options = null , PollProperties poll = null )
219+ => RespondWithFilesAsync ( new FileAttachment [ ] { attachment } , text , embeds , isTTS , ephemeral , allowedMentions , components , embed , options , poll ) ;
225220#else
226221 Task RespondWithFileAsync ( FileAttachment attachment , string text = null , Embed [ ] embeds = null , bool isTTS = false , bool ephemeral = false ,
227- AllowedMentions allowedMentions = null , MessageComponent components = null , Embed embed = null , RequestOptions options = null , PollProperties poll = null ,
228- MessageFlags flags = MessageFlags . None ) ;
222+ AllowedMentions allowedMentions = null , MessageComponent components = null , Embed embed = null , RequestOptions options = null , PollProperties poll = null ) ;
229223#endif
230224 /// <summary>
231225 /// Responds to this interaction with a collection of file attachments.
@@ -245,9 +239,7 @@ Task RespondWithFileAsync(FileAttachment attachment, string text = null, Embed[]
245239 /// contains the sent message.
246240 /// </returns>
247241 Task RespondWithFilesAsync ( IEnumerable < FileAttachment > attachments , string text = null , Embed [ ] embeds = null , bool isTTS = false , bool ephemeral = false ,
248- AllowedMentions allowedMentions = null , MessageComponent components = null , Embed embed = null , RequestOptions options = null , PollProperties poll = null ,
249- MessageFlags flags = MessageFlags . None ) ;
250-
242+ AllowedMentions allowedMentions = null , MessageComponent components = null , Embed embed = null , RequestOptions options = null , PollProperties poll = null ) ;
251243 /// <summary>
252244 /// Sends a followup message for this interaction.
253245 /// </summary>
@@ -265,9 +257,7 @@ Task RespondWithFilesAsync(IEnumerable<FileAttachment> attachments, string text
265257 /// contains the sent message.
266258 /// </returns>
267259 Task < IUserMessage > FollowupAsync ( string text = null , Embed [ ] embeds = null , bool isTTS = false , bool ephemeral = false ,
268- AllowedMentions allowedMentions = null , MessageComponent components = null , Embed embed = null , RequestOptions options = null , PollProperties poll = null ,
269- MessageFlags flags = MessageFlags . None ) ;
270-
260+ AllowedMentions allowedMentions = null , MessageComponent components = null , Embed embed = null , RequestOptions options = null , PollProperties poll = null ) ;
271261 /// <summary>
272262 /// Sends a followup message for this interaction.
273263 /// </summary>
@@ -288,19 +278,17 @@ Task<IUserMessage> FollowupAsync(string text = null, Embed[] embeds = null, bool
288278 /// </returns>
289279#if NETCOREAPP3_0_OR_GREATER
290280 async Task < IUserMessage > FollowupWithFileAsync ( Stream fileStream , string fileName , string text = null , Embed [ ] embeds = null , bool isTTS = false , bool ephemeral = false ,
291- AllowedMentions allowedMentions = null , MessageComponent components = null , Embed embed = null , RequestOptions options = null , PollProperties poll = null , MessageFlags flags = MessageFlags . None )
281+ AllowedMentions allowedMentions = null , MessageComponent components = null , Embed embed = null , RequestOptions options = null , PollProperties poll = null )
292282 {
293283 using ( var file = new FileAttachment ( fileStream , fileName ) )
294284 {
295- return await FollowupWithFileAsync ( file , text , embeds , isTTS , ephemeral , allowedMentions , components , embed , options , poll , flags ) . ConfigureAwait ( false ) ;
285+ return await FollowupWithFileAsync ( file , text , embeds , isTTS , ephemeral , allowedMentions , components , embed , options , poll ) . ConfigureAwait ( false ) ;
296286 }
297287 }
298288#else
299289 Task < IUserMessage > FollowupWithFileAsync ( Stream fileStream , string fileName , string text = null , Embed [ ] embeds = null , bool isTTS = false , bool ephemeral = false ,
300- AllowedMentions allowedMentions = null , MessageComponent components = null , Embed embed = null , RequestOptions options = null , PollProperties poll = null ,
301- MessageFlags flags = MessageFlags . None ) ;
290+ AllowedMentions allowedMentions = null , MessageComponent components = null , Embed embed = null , RequestOptions options = null , PollProperties poll = null ) ;
302291#endif
303-
304292 /// <summary>
305293 /// Sends a followup message for this interaction.
306294 /// </summary>
@@ -321,17 +309,16 @@ Task<IUserMessage> FollowupWithFileAsync(Stream fileStream, string fileName, str
321309 /// </returns>
322310#if NETCOREAPP3_0_OR_GREATER
323311 async Task < IUserMessage > FollowupWithFileAsync ( string filePath , string fileName = null , string text = null , Embed [ ] embeds = null , bool isTTS = false , bool ephemeral = false ,
324- AllowedMentions allowedMentions = null , MessageComponent components = null , Embed embed = null , RequestOptions options = null , PollProperties poll = null ,
325- MessageFlags flags = MessageFlags . None )
312+ AllowedMentions allowedMentions = null , MessageComponent components = null , Embed embed = null , RequestOptions options = null , PollProperties poll = null )
326313 {
327314 using ( var file = new FileAttachment ( filePath , fileName ) )
328315 {
329- return await FollowupWithFileAsync ( file , text , embeds , isTTS , ephemeral , allowedMentions , components , embed , options , poll , flags ) . ConfigureAwait ( false ) ;
316+ return await FollowupWithFileAsync ( file , text , embeds , isTTS , ephemeral , allowedMentions , components , embed , options , poll ) . ConfigureAwait ( false ) ;
330317 }
331318 }
332319#else
333320 Task < IUserMessage > FollowupWithFileAsync ( string filePath , string fileName = null , string text = null , Embed [ ] embeds = null , bool isTTS = false , bool ephemeral = false ,
334- AllowedMentions allowedMentions = null , MessageComponent components = null , Embed embed = null , RequestOptions options = null , PollProperties poll = null , MessageFlags flags = MessageFlags . None ) ;
321+ AllowedMentions allowedMentions = null , MessageComponent components = null , Embed embed = null , RequestOptions options = null , PollProperties poll = null ) ;
335322#endif
336323 /// <summary>
337324 /// Sends a followup message for this interaction.
@@ -352,11 +339,11 @@ Task<IUserMessage> FollowupWithFileAsync(string filePath, string fileName = null
352339 /// </returns>
353340#if NETCOREAPP3_0_OR_GREATER
354341 Task < IUserMessage > FollowupWithFileAsync ( FileAttachment attachment , string text = null , Embed [ ] embeds = null , bool isTTS = false , bool ephemeral = false ,
355- AllowedMentions allowedMentions = null , MessageComponent components = null , Embed embed = null , RequestOptions options = null , PollProperties poll = null , MessageFlags flags = MessageFlags . None )
356- => FollowupWithFilesAsync ( new FileAttachment [ ] { attachment } , text , embeds , isTTS , ephemeral , allowedMentions , components , embed , options , poll , flags ) ;
342+ AllowedMentions allowedMentions = null , MessageComponent components = null , Embed embed = null , RequestOptions options = null , PollProperties poll = null )
343+ => FollowupWithFilesAsync ( new FileAttachment [ ] { attachment } , text , embeds , isTTS , ephemeral , allowedMentions , components , embed , options , poll ) ;
357344#else
358345 Task < IUserMessage > FollowupWithFileAsync ( FileAttachment attachment , string text = null , Embed [ ] embeds = null , bool isTTS = false , bool ephemeral = false ,
359- AllowedMentions allowedMentions = null , MessageComponent components = null , Embed embed = null , RequestOptions options = null , PollProperties poll = null , MessageFlags flags = MessageFlags . None ) ;
346+ AllowedMentions allowedMentions = null , MessageComponent components = null , Embed embed = null , RequestOptions options = null , PollProperties poll = null ) ;
360347#endif
361348 /// <summary>
362349 /// Sends a followup message for this interaction.
@@ -376,7 +363,7 @@ Task<IUserMessage> FollowupWithFileAsync(FileAttachment attachment, string text
376363 /// contains the sent message.
377364 /// </returns>
378365 Task < IUserMessage > FollowupWithFilesAsync ( IEnumerable < FileAttachment > attachments , string text = null , Embed [ ] embeds = null , bool isTTS = false , bool ephemeral = false ,
379- AllowedMentions allowedMentions = null , MessageComponent components = null , Embed embed = null , RequestOptions options = null , PollProperties poll = null , MessageFlags flags = MessageFlags . None ) ;
366+ AllowedMentions allowedMentions = null , MessageComponent components = null , Embed embed = null , RequestOptions options = null , PollProperties poll = null ) ;
380367 /// <summary>
381368 /// Gets the original response for this interaction.
382369 /// </summary>
0 commit comments