@minesa-org/mini-interaction 0.4.10 → 0.4.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -255,6 +255,10 @@ export class MiniInteraction {
|
|
|
255
255
|
const autoDeferMs = Math.min(2500, this.options.timeoutConfig?.initialResponseTimeout ?? 2500);
|
|
256
256
|
const autoDeferTimer = this.options.timeoutConfig?.autoDeferSlowOperations === true
|
|
257
257
|
? setTimeout(() => {
|
|
258
|
+
if (initialResponseCommitted)
|
|
259
|
+
return;
|
|
260
|
+
if (this.responseStates.get(interaction.id))
|
|
261
|
+
return;
|
|
258
262
|
if (!helpers.canRespond(interaction.id))
|
|
259
263
|
return;
|
|
260
264
|
if (this.options.debug || this.options.timeoutConfig?.enableResponseDebugLogging) {
|
package/package.json
CHANGED