From e5299b1b51a694c043dcb78f399aebdac036975c Mon Sep 17 00:00:00 2001 From: Nick West Date: Wed, 8 May 2024 11:54:49 -0400 Subject: [PATCH] options -> response --- lib/nostrum/api.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/nostrum/api.ex b/lib/nostrum/api.ex index accf3f1bd..78ddff59c 100644 --- a/lib/nostrum/api.ex +++ b/lib/nostrum/api.ex @@ -3702,11 +3702,11 @@ defmodule Nostrum.Api do directly. See `create_interaction_response/2`. """ @spec create_interaction_response(Interaction.id(), Interaction.token(), map()) :: {:ok} | error - def create_interaction_response(id, token, options) do + def create_interaction_response(id, token, response) do request( :post, Constants.interaction_callback(id, token), - combine_embeds(options) |> combine_files() + combine_embeds(response) |> combine_files() ) end