aiko-chan-ai / discord.js-selfbot-v13

An unofficial discord.js fork for creating selfbots
https://discordjs-self-v13.netlify.app
GNU General Public License v3.0
774 stars 164 forks source link

Error: INTERACTION_TIMEOUT #1125

Closed r8z closed 3 months ago

r8z commented 6 months ago

Which package has the bugs?

The core library

Issue description

I have tried everything to stop this from exiting the program. I even used your solution of trying to .catch() the error. It still exits. How can I stop the program from exiting due to INTERACTION_TIMEOUT?

Code sample

/home/container/node_modules/discord.js-selfbot-v13/src/structures/MessageButton.js:220
          new Error('INTERACTION_TIMEOUT', {
          ^
Error: INTERACTION_TIMEOUT
    at Timeout._onTimeout (/home/container/node_modules/discord.js-selfbot-v13/src/structures/MessageButton.js:220:11)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7) {
  [cause]: {
    type: 3,
    nonce: '1173007758849605632',
    guild_id: '921991104914669578',
    channel_id: '947374213935800350',
    message_id: '1173007757926989854',
    application_id: '853629533855809596',
    session_id: 'bb316b11e984c97064d170316ed94cdd',
    message_flags: 0,
    data: { component_type: 2, custom_id: 'drop_1173007756391886919_2' }
  }
}

Package version

discord.js-selfbot-v13@2.15.1

Node.js version

20.11.1

Operating system

No response

Priority this issue should have

Medium (should be fixed soon)

Checklist

Additional Information

No response

aiko-chan-ai commented 3 months ago

try latest