parent
1a6b3addfe
commit
02348ef5ad
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "discord.js-selfbot-v13",
|
"name": "discord.js-selfbot-v13",
|
||||||
"version": "2.3.72",
|
"version": "2.3.73",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "discord.js-selfbot-v13",
|
"name": "discord.js-selfbot-v13",
|
||||||
"version": "2.3.72",
|
"version": "2.3.73",
|
||||||
"license": "GNU General Public License v3.0",
|
"license": "GNU General Public License v3.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@aikochan2k6/qrcode-terminal": "^0.12.0",
|
"@aikochan2k6/qrcode-terminal": "^0.12.0",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "discord.js-selfbot-v13",
|
"name": "discord.js-selfbot-v13",
|
||||||
"version": "2.3.72",
|
"version": "2.3.73",
|
||||||
"description": "A unofficial discord.js fork for creating selfbots [Based on discord.js v13]",
|
"description": "A unofficial discord.js fork for creating selfbots [Based on discord.js v13]",
|
||||||
"main": "./src/index.js",
|
"main": "./src/index.js",
|
||||||
"types": "./typings/index.d.ts",
|
"types": "./typings/index.d.ts",
|
||||||
|
@ -194,18 +194,18 @@ class MessageButton extends BaseMessageComponent {
|
|||||||
timeout.refresh();
|
timeout.refresh();
|
||||||
if (data.metadata.nonce !== nonce) return;
|
if (data.metadata.nonce !== nonce) return;
|
||||||
clearTimeout(timeout);
|
clearTimeout(timeout);
|
||||||
this.message.client.removeListener('interactionResponse', handler);
|
message.client.removeListener('interactionResponse', handler);
|
||||||
this.message.client.decrementMaxListeners();
|
message.client.decrementMaxListeners();
|
||||||
if (data.status) resolve(data.metadata);
|
if (data.status) resolve(data.metadata);
|
||||||
else reject(data.metadata);
|
else reject(data.metadata);
|
||||||
};
|
};
|
||||||
const timeout = setTimeout(() => {
|
const timeout = setTimeout(() => {
|
||||||
this.message.client.removeListener('interactionResponse', handler);
|
message.client.removeListener('interactionResponse', handler);
|
||||||
this.message.client.decrementMaxListeners();
|
message.client.decrementMaxListeners();
|
||||||
reject(new Error('INTERACTION_TIMEOUT'));
|
reject(new Error('INTERACTION_TIMEOUT'));
|
||||||
}, 15_000).unref();
|
}, 15_000).unref();
|
||||||
this.message.client.incrementMaxListeners();
|
message.client.incrementMaxListeners();
|
||||||
this.message.client.on('interactionResponse', handler);
|
message.client.on('interactionResponse', handler);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -265,18 +265,18 @@ class MessageSelectMenu extends BaseMessageComponent {
|
|||||||
timeout.refresh();
|
timeout.refresh();
|
||||||
if (data.metadata.nonce !== nonce) return;
|
if (data.metadata.nonce !== nonce) return;
|
||||||
clearTimeout(timeout);
|
clearTimeout(timeout);
|
||||||
this.message.client.removeListener('interactionResponse', handler);
|
message.client.removeListener('interactionResponse', handler);
|
||||||
this.message.client.decrementMaxListeners();
|
message.client.decrementMaxListeners();
|
||||||
if (data.status) resolve(data.metadata);
|
if (data.status) resolve(data.metadata);
|
||||||
else reject(data.metadata);
|
else reject(data.metadata);
|
||||||
};
|
};
|
||||||
const timeout = setTimeout(() => {
|
const timeout = setTimeout(() => {
|
||||||
this.message.client.removeListener('interactionResponse', handler);
|
message.client.removeListener('interactionResponse', handler);
|
||||||
this.message.client.decrementMaxListeners();
|
message.client.decrementMaxListeners();
|
||||||
reject(new Error('INTERACTION_TIMEOUT'));
|
reject(new Error('INTERACTION_TIMEOUT'));
|
||||||
}, 15_000).unref();
|
}, 15_000).unref();
|
||||||
this.message.client.incrementMaxListeners();
|
message.client.incrementMaxListeners();
|
||||||
this.message.client.on('interactionResponse', handler);
|
message.client.on('interactionResponse', handler);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user