[Fix] Add missing parameters to RespondWithModalAsync methods and implement missing overloads (#2769)
* Added missing modifyModal parameters to RespondWithModalAsync methods * Fix typo * Remove unnecessary parts * Add missing `options` parameter * Add missing overload * Use `.Invoke` with `null` check to simplify * Remove code duplication * Remove code duplication * Add missing payload to `RestInteractionModuleBase`
This commit is contained in:
@@ -104,7 +104,7 @@ namespace Discord.WebSocket
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override Task RespondWithModalAsync(Modal modal, RequestOptions requestOptions = null)
|
||||
=> throw new NotSupportedException("Autocomplete interactions cannot have normal responces!");
|
||||
=> throw new NotSupportedException("Autocomplete interactions cannot have normal responses!");
|
||||
|
||||
//IAutocompleteInteraction
|
||||
/// <inheritdoc/>
|
||||
|
||||
Reference in New Issue
Block a user