Files
vinci/README.md
2026-04-02 17:09:04 +02:00

46 lines
1.9 KiB
Markdown

# vinci v2
Vinci v2 is a rewrite of my first JS project, a discord bot for [my favorite book series](https://maraturing.com) server. It aims to improve the code quality of the primary codebase, full of bugs and spaghetti code.
It is written, as always, under the [sern](https://sern.dev) framework.
It is 85% done, with hardest commands implemented.
This is a bot submission for [Converge](https://converge.hackclub.com) and [Summer of Making](https://summer.hackclub.com).
## New features
- More fun games
- Modern typescript and discord.js
- SQLite + Prisma instead of MongoDB + Mongoose
- Less API queries and more performance by using local datasets (like the Spanish dictionary)
# Available commands
- `/rolemenu` - Role selection menu (owner only)
- `/sugerencias` - Send a suggestion to the channel with upvote/downvote buttons
- `/mcform` - Submit a form to join a Minecraft server
- `/ip` - Get information about the Minecraft server IP
- `/acortar` - Shorten a URL
- `/wikipedia` - Search Wikipedia (Spanish/English)
- `/8ball` - Ask the magic 8-ball a question
- `/a` - Autogenerated "A" text with user autocomplete
- `/chiste` - Get a random joke from a local dataset
- `/google` - The most useless Google search command
- `/hangman` - Play a game of hangman
- `/makesweet` - Generate a heart locket image
- `/megamind` - Generate a Megamind meme with custom text
- `/palabra` - Returns a random Spanish word. That is it.
- `/rps` - Play rock paper scissors against someone
### Other stuff
- Bonzify - Text-to-speech with Bonzi Buddy voice
- Cursivify - Italicize message text
- Image classification - Classify images using Cloudflare AI
- AI chat - Chat with AI on a channel
## Development setup
1. Clone the repository
2. Run `bun install`
3. Install the sern cli: `npm install -g @sern/cli`
4. Create a copy of `.env.example` and rename it to `.env`
5. Fill in the file
6. Run `bunx prisma migrate dev` to set up the database
7. Run `bun dev`