Jump to content

Bot keeps crashing

Pending 1.1.6

Nomad3211
Nomad3211

Posted

Bot loads up and connects to the server no problem.
But when I add a skin ID to the discord channel, it crashes the bot.
Every time. 


node:events:495
      throw er; // Unhandled 'error' event
      ^
TypeError: Cannot read properties of undefined (reading 'includes')
    at /home/container/app.js:105:87
    at _Collection.some (/home/container/node_modules/@discordjs/collection/dist/index.js:261:11)
    at Client.<anonymous> (/home/container/app.js:105:58)
    at Client.emit (node:events:517:28)
    at MessageCreateAction.handle (/home/container/node_modules/discord.js/src/client/actions/MessageCreate.js:28:14)
    at module.exports [as MESSAGE_CREATE] (/home/container/node_modules/discord.js/src/client/websocket/handlers/MESSAGE_CREATE.js:4:32)
    at WebSocketManager.handlePacket (/home/container/node_modules/discord.js/src/client/websocket/WebSocketManager.js:355:31)
    at WebSocketManager.<anonymous> (/home/container/node_modules/discord.js/src/client/websocket/WebSocketManager.js:239:12)
    at WebSocketManager.emit (/home/container/node_modules/@vladfrangu/async_event_emitter/dist/index.js:282:31)
    at WebSocketShard.<anonymous> (/home/container/node_modules/@discordjs/ws/dist/index.js:1173:51)
Emitted 'error' event on Client instance at:
    at emitUnhandledRejectionOrErr (node:events:398:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:84:21)
Node.js v18.20.5

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.3k

Files Sold

Total number of files sold.

2.3m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.