fix follow ups

This commit is contained in:
ITOH
2021-11-14 18:07:49 +01:00
parent 91fdfa986d
commit ab6f3dd9d1

View File

@@ -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);
}