You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -2135,22 +2163,47 @@ async function handleAddWithSubdomains(interaction: DiscordInteraction, env: Env
2135
2163
};
2136
2164
}
2137
2165
2138
-
// Send immediate response so user knows command was received
2139
-
constimmediateResponse={
2140
-
type: 4,
2141
-
data: {
2142
-
content: `🔍 **Subdomain discovery started for \`${domain}\`**\n\n⏳ Scanning Certificate Transparency logs and DNS records...\n💡 Results will appear in a new message when complete (usually 3-8 seconds)`,
2143
-
flags: 0// Make it visible to everyone
2144
-
}
2166
+
// Defer the response since this might take longer than 3 seconds
2167
+
constdeferResponse={
2168
+
type: 5,// DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE
2169
+
data: {}
2145
2170
};
2146
2171
2147
-
// Start the async discovery process (fire and forget)
2148
-
// Note: We don't await this to avoid Discord timeout
0 commit comments