The 3D printing info bot
- Open a terminal and navigate to the bots folder
- Run
npm install
to install dependencies - Run
npm build
to compile the bot - The bot will be compiled into ./dist/src
- In
.env.example
fill in the config values - Remove
.example
from.env.example
- Open a terminal and navigate to the bots folder
- Execute
npm install --production
and wait till it's done - Execute
prisma migrate deploy
and wait till it's done - Execute
prisma generate
and wait till it's done - You're ready to start the bot!
- Open a terminal and navigate to the bots folder
- Run
npm run start
and the bot should log in - The bot is now ready for use
npm run lint
Lint the entire projectnpm run fix
Fix the project according to the linternpm run build
Build both the bot and scriptsnpm run start
Start the compiled botnpm run dev
Start the bot and watch for changesnpm run new:task
Create a new task filenpm run new:event
Create a new event handler filenpm run new:interaction
Create a new interaction file