⚠️ This project is now archived: As Discord API rapidly changes, this framework has became obsolete very quickly. I suppose it can be kept updated with a little effort; but that effort ain't coming from me.
- 🤖 Easy to implement interactions
- 🌟 Type-safe modals and interaction responses
- 📂 Pino logging
- 🪶 Built with discord.js
A top-notch bot development solution, crafted with a focus on a single Discord guild. This framework prioritizes type-safety, utilizing TypeScript as its programming language to guarantee secure and error-free code. By focusing on just one guild, the framework offers specialized and optimized functionality, custom-fit to the unique needs of that particular community.
- Just run create-silica-bot and follow the steps presented
# yarn
$ yarn create silica-bot
# npm
$ npx create-silica-bot
- Clone the repository
$ git clone https://github.com/cborac/Silica-Framework.git
- Install the node modules
# yarn
$ yarn install
# npm
$ npm install
-
Copy
.env.example
to.env
and fill in the variables -
Run
sync
script to generate Prisma Client -
Done!
- Node v16 or above
- TypeScript 4.7.0 or above
- You shouldn't use
-
in interaction names (it is used by the framework to distinguish data sent) - pino-pretty is enabled only in development environment due to performance issues