This commit is contained in:
Mylloon 2023-04-27 22:06:47 +02:00
parent 4d4851da7b
commit 3530605aa6
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -161,7 +161,7 @@ export default {
if (query) { if (query) {
/* Since Discord wanna receive a response within 3 secs and results is async /* Since Discord wanna receive a response within 3 secs and results is async
* and can take longer than that, exception of type 'Unknown interaction' (10062) * and can take longer than that, exception of type 'Unknown interaction' (10062)
* happens. */ * happens. */
let timeoutId: NodeJS.Timeout; let timeoutId: NodeJS.Timeout;
const delay = new Promise(function (_, reject) { const delay = new Promise(function (_, reject) {