Simpleboy353 / REAPER-2.0

A multi-purpose discord bot made using Discord.js V14. Includes Logging, Welcomer, Slash Commands, Menu based Help Command and so much more!
GNU General Public License v3.0
327 stars 224 forks source link

[FATAL] Possibly Unhandled Rejection #153

Closed CrazyGladiator closed 2 years ago

CrazyGladiator commented 2 years ago

The bot crashes at this point

[FATAL] Possibly Unhandled Rejection at: Promise  Promise {
  <rejected> TypeError: Cannot read properties of undefined (reading 'black')
      at D:\Documents\REAPER-2.0-master\index.js:101:24
      at processTicksAndRejections (node:internal/process/task_queues:96:5)
}  reason:  Cannot read properties of undefined (reading 'black')
Uncaught Exception: TypeError: Cannot read properties of undefined (reading 'send')
D:\Documents\REAPER-2.0-master\index.js:80
  client.channels.cache.get(ERROR_LOGS_CHANNEL).send({ embeds: [exceptionembed] })
                                               ^

TypeError: Cannot read properties of undefined (reading 'send')
    at process.<anonymous> (D:\Documents\REAPER-2.0-master\index.js:80:48)
    at process.emit (node:events:390:28)
    at process._fatalException (node:internal/process/execution:170:25)