mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-03 09:20:08 +00:00
fix follow ups
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user