events don't work

I created the messageCreate and Ready events, but they are not working, the only thing that happens is the client is setting the commands in SlashCommands. This works normally.
No description
3 Replies
Spinel
Spinel5mo ago
1. Which version of @sapphire/framework are you using? 2. What's your file/folder structure? 3. Did you use the CLI to generate your bot? 4. What's your main (CJS) or module (ESM) property in package.json 5. Are you using TypeScript? And if so, how are you compiling and running your code? That is to say, what are your build and startup scripts? - Did you remove your output folder and rebuild then try again? 6. Is your problem related to message commands? Did you add loadMessageCommandListeners to your SapphireClient options Remember that if you are new to @sapphire/framework it is important that you read the user guide.
Favna
Favna5mo ago
specifically 4 since you're using bun
Seren_Modz 21
Seren_Modz 215mo ago
ts-node is also useless with bun because it supports running ts files natively

Did you find this page helpful?