#Ready listener doesn't run

1 messages · Page 1 of 1 (latest)

rustic orchid
#

Hey, my ready listener doesn't want to run and I don't know why. I'm kind of new to this framework and I copied the most things from the guide.

I've attached some screenshots with the relevant code and output.

analog etherBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

balmy slate
#

inside package.json, there should be a property called main. make sure its set to dist/index.js because sapphire uses that to determine where your commands/listeners/etc are located

rustic orchid
#

Ah, thanks. 👍
I thought I need to set it to src/index.ts because I'm using typescript.

analog etherBOT