docs(InteractionResponses): Document missing properties #6178
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Please describe the changes this PR makes and why it should be merged:
Hey!
InteractionResponses
did not document a fewfetchReply
properties to the methods, so I've gone ahead and added those in.The documentation for the type definition
InteractionDeferUpdateOptions
was completely missing, so I've added that in too!I also noticed that the
.update()
method documentedWebhookEditMessageOptions
to be sent across. This didn't include thefetchReply
property, but I did see an interestingInteractionUpdateOptions
type that wasn't being used anywhere other than itself being defined. It looks a bit wrong though, because it extendedWebhookMessageOptions
which allowed properties liketts
to be sent through when it wouldn't do anything,so I adjusted this to extendso I applied the fix from #6162 after reading through it. My attempted fix of this changedWebhookEditMessageOptions
insteadcontent
tooptions
here, so I might as well leave that in for some consistency with the other methods.This should resolve #6157!
Please check through the wording and typings and stuff and let me know if anything seems amiss!
Status and versioning classification: