mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 03:18:17 +00:00
Update send_interaction_response.ts
This commit is contained in:
@@ -32,7 +32,7 @@ export async function sendInteractionResponse(
|
|||||||
options.data = { ...options.data, allowedMentions: { parse: [] } };
|
options.data = { ...options.data, allowedMentions: { parse: [] } };
|
||||||
}
|
}
|
||||||
|
|
||||||
const allowedMentions: AllowedMentions = options.data?.allowedMentions;
|
const allowedMentions: AllowedMentions = options.data?.allowedMentions || { parse: [] };
|
||||||
|
|
||||||
// If its already been executed, we need to send a followup response
|
// If its already been executed, we need to send a followup response
|
||||||
if (bot.cache.executedSlashCommands.has(token)) {
|
if (bot.cache.executedSlashCommands.has(token)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user