Download this repository. Install node (this is tested with 18.15.0) and pnpm. Then use on a terminal, in the bot folder:
pnpm instal
Edit the .env.sample
file.
Run
node deploy-commands guild
Or, if you are going to add the bot to more than one server,
node deploy-commands global
Rename .env.sample
to .env
.
Run
npx prisma migrate deploy
Then, for starting the bot use:
pnpm run start
And the bot is running.