The 3D printing info bot
- Open a terminal and navigate to the bots folder
- Run
npm installto install dependencies - Run
npm buildto compile the bot - The bot will be compiled into ./dist/src
- In
.env.examplefill in the config values - Remove
.examplefrom.env.example - Open a terminal and navigate to the bots folder
- Execute
npm install --productionand wait till it's done - Execute
prisma migrate deployand wait till it's done - Execute
prisma generateand wait till it's done - You're ready to start the bot!
- Open a terminal and navigate to the bots folder
- Run
npm run startand the bot should log in - The bot is now ready for use
npm run lintLint the entire projectnpm run fixFix the project according to the linternpm run buildBuild both the bot and scriptsnpm run startStart the compiled botnpm run devStart the bot and watch for changesnpm run new:taskCreate a new task filenpm run new:eventCreate a new event handler filenpm run new:interactionCreate a new interaction file