A basic Discord bot utilizing dependency injection, unit testing, and a homemade localization library. We use PostgreSQL with Prisma for our database.
- Put your bot token, desired prefix, and PostgreSQL config into
.env.example
and rename to.env
. - Create the
petal
database in PostgreSQL. - Run the Prisma migrations with
prisma migrate deploy --preview-feature
. - Build the source
yarn start
You can run the tests with yarn test
if you would like.