#Coommands are not registered
1 messages · Page 1 of 1 (latest)
- Which version of
@sapphire/frameworkare you using? - What's your file/folder structure?
- Did you use the CLI to generate your bot?
- What's your
main(CJS) ormodule(ESM) property inpackage.json - 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?
- Is your problem related to message commands? Did you add
loadMessageCommandListenersto yourSapphireClientoptions
Remember that if you are new to @sapphire/framework it is important that you read the user guide.
All but 2 please
Initial guess is assuming that /index.js is your entrypoint, move it to /src/index.js, set main accordingly, and try again.
@grizzled chasm