The salad discord bot
- Open a terminal and navigate to the bots folder
- Run
npm ito install dependencies - Run
npm build:botto 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 i --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
lintLint the entire projectfixFix the project according to the linterbuildBuild both the bot and scriptsbuild:botBuild only the botbuild:scriptsBuild only the scriptsstartStart the compiled botdevStart the bot and watch for changesnew:interactionCreate a new interaction filenew:eventCreate a new event handler filenew:taskCreate a new task file