๐ ๐ผ๐ป๐ถ๐ธ๐ฎ: ๐ ๐ฆ๐ฒ๐น๐ณ-๐๐๐ฎ๐ฟ๐ฒ ๐๐ถ๐๐ฐ๐ผ๐ฟ๐ฑ ๐๐ผ๐
I grew my Discord bot, Monika. It went from 300 lines of code to 900 lines. I added a database and new logic.
I used AI to build code blocks. I acted as the architect and debugger. I mapped the components and fixed the bugs.
Here is what I added:
- Supabase handles user profiles and activity.
- A cache system stops too many database writes.
- The bot joins streams and tracks when you switch channels.
- A loop checks server activity every two hours. It joins chats using an LLM.
Here is what I fixed:
- I stopped prompt injections in user bios with data delimiters.
- I added a user lock to stop overlapping API requests.
- The bot now sends DM users back to public channels.
I am updating the GitHub Readme now.
Source: https://dev.to/akshat-ray/update-on-monika-self-aware-personalized-discord-bot-2fo2