Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.
/ Silica-Framework Public archive

🤖 A monoguild type-safe bot framework written in TypeScript

License

Notifications You must be signed in to change notification settings

cborac/Silica-Framework

Repository files navigation

⚠️ 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.



Silica Bot Framework

Node 16.0.0 Written In TypeScript License Last Commit

  • 🤖 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.

Setup

Using create-silica-bot

# yarn
$ yarn create silica-bot

# npm
$ npx create-silica-bot

Manual

  1. Clone the repository
$ git clone https://github.com/cborac/Silica-Framework.git
  1. Install the node modules
# yarn
$ yarn install

# npm
$ npm install
  1. Copy .env.example to .env and fill in the variables

  2. Run sync script to generate Prisma Client

  3. Done!

Requirments

  • Node v16 or above
  • TypeScript 4.7.0 or above

Warning

  • 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

About

🤖 A monoguild type-safe bot framework written in TypeScript

Topics

Resources

License

Stars

Watchers

Forks

Languages