A shitty PvP twitchbot with items, an overcomplicated user management system and maybe a couple of race-conditions.
https://git.qwerinope.com/qwerinope/qweribot/wiki
- TypeScript 98.5%
- CSS 1.1%
- HTML 0.2%
- Nix 0.2%
|
|
||
|---|---|---|
| .forgejo/workflows | ||
| scripts | ||
| src | ||
| .example.env | ||
| .gitignore | ||
| biome.json | ||
| bun.lock | ||
| compose.yml | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| tsconfig.bot.json | ||
| tsconfig.json | ||
| tsconfig.web.json | ||
qweribot
Documentation on how to use the bot can be found here
Running the bot
- Install bun
- Run
bun installto install dependencies - Copy
.env.exampleto.envfor actually running or to.env.developmentfor development purposes - Edit the
.envfile you just copied and fill it with your info regarding authentication, IDs, etc - Start the databases with
docker compose up -d - Run
bun migrateorbun migrate-devto setup the postgres database - Run the bot with
bun startorbun start-dev
Setting up docker and the reverse proxy with an SSL certificate, you'll have to do yourself.