416rehman / splite

SPLITE - Discord Bot with Slash Command Handler and Endpoint Handler, supporting AI, Music, Moderation, and more!
GNU General Public License v3.0
105 stars 29 forks source link

Severe issue #58

Open PixelatedPurple opened 12 months ago

PixelatedPurple commented 12 months ago

When starting the bot everything loads fine until the following error code pops up in the console

TypeError: Command is not a constructor
    at Client.tryLoadCommand (/home/runner/Odin/src/Client.js:200:25)
    at /home/runner/Odin/src/Client.js:186:27
    at Array.forEach (<anonymous>)
    at /home/runner/Odin/src/Client.js:184:22
    at Array.forEach (<anonymous>)
    at Client.loadCommands (/home/runner/Odin/src/Client.js:182:59)
    at /home/runner/Odin/app.js:18:12
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
exit status 1
PixelatedPurple commented 12 months ago

Im currently attempting to find a fix for this issue but its got me stumped for the last few days