Update Modal.js

This commit is contained in:
March 7th 2022-12-12 19:55:26 +07:00
parent 0a85060545
commit ad8bed71c8

View File

@ -266,7 +266,7 @@ class Modal {
this.client.decrementMaxListeners(); this.client.decrementMaxListeners();
reject( reject(
new Error('INTERACTION_TIMEOUT', { new Error('INTERACTION_TIMEOUT', {
cause: data, cause: postData,
}), }),
); );
}, this.client.options.interactionTimeout).unref(); }, this.client.options.interactionTimeout).unref();