From ad8bed71c8e6b723167d8e077f921b5bd34b7629 Mon Sep 17 00:00:00 2001 From: March 7th <71698422+aiko-chan-ai@users.noreply.github.com> Date: Mon, 12 Dec 2022 19:55:26 +0700 Subject: [PATCH] Update Modal.js --- src/structures/Modal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/Modal.js b/src/structures/Modal.js index 2b804e9..ee90606 100644 --- a/src/structures/Modal.js +++ b/src/structures/Modal.js @@ -266,7 +266,7 @@ class Modal { this.client.decrementMaxListeners(); reject( new Error('INTERACTION_TIMEOUT', { - cause: data, + cause: postData, }), ); }, this.client.options.interactionTimeout).unref();