mirror of
https://github.com/SrIzan10/vinci.git
synced 2026-06-06 01:07:00 +00:00
8dcd2de6830281004bf6fa26573ef7ae8db66647
vinci v2
Vinci v2 is a rewrite of my first JS project, a discord bot for my favorite book series 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 framework.
It is 85% done, with hardest commands implemented.
This is a bot submission for Converge and Summer of Making.
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
- Clone the repository
- Run
bun install - Install the sern cli:
npm install -g @sern/cli - Create a copy of
.env.exampleand rename it to.env - Fill in the file
- Run
bunx prisma migrate devto set up the database - Run
bun dev
Languages
TypeScript
98.6%
Dockerfile
1.4%