From ab6f3dd9d14c8a2fb8f1b3993a3d190e619f446d Mon Sep 17 00:00:00 2001 From: ITOH Date: Sun, 14 Nov 2021 18:07:49 +0100 Subject: [PATCH] fix follow ups --- src/helpers/interactions/send_interaction_response.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/helpers/interactions/send_interaction_response.ts b/src/helpers/interactions/send_interaction_response.ts index 5d8fc24d2..6e832e06d 100644 --- a/src/helpers/interactions/send_interaction_response.ts +++ b/src/helpers/interactions/send_interaction_response.ts @@ -149,9 +149,5 @@ export async function sendInteractionResponse( } // If its already been executed, we need to send a followup response - return await bot.rest.runMethod(bot.rest, "post", bot.constants.endpoints.WEBHOOK(bot.applicationId, token), { - type: options.type, - data, - }); - // } + return await bot.rest.runMethod(bot.rest, "post", bot.constants.endpoints.WEBHOOK(bot.applicationId, token), data); }