Skip to content

Commit 2c5b743

Browse files
authored
Merge pull request #589 from njwest/doc-arg-mismatch
Fix Doc Arg Mismatch: Rename "options" to "response"
2 parents ced832c + e5299b1 commit 2c5b743

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/nostrum/api.ex

+2-2
Original file line numberDiff line numberDiff line change
@@ -3702,11 +3702,11 @@ defmodule Nostrum.Api do
37023702
directly. See `create_interaction_response/2`.
37033703
"""
37043704
@spec create_interaction_response(Interaction.id(), Interaction.token(), map()) :: {:ok} | error
3705-
def create_interaction_response(id, token, options) do
3705+
def create_interaction_response(id, token, response) do
37063706
request(
37073707
:post,
37083708
Constants.interaction_callback(id, token),
3709-
combine_embeds(options) |> combine_files()
3709+
combine_embeds(response) |> combine_files()
37103710
)
37113711
end
37123712

0 commit comments

Comments
 (0)