PetComputer is a discord chatbot powered by Gemini. It was written in Python, used hikari for discord implementation and SQLite for data storage.
The bot was supposed to behave as a group pet that would remember things about them. For the time it was running, it learned about the people in the chat, and would use that information to tailor responses to them. Each day, the system would send logs into the AI system and select 3 people. Those people would have a fact about them inferred and saved as part of a bio, which could be provided as context to the bot.
Additionally, PetComputer would pick a quirk to have each day, semi-randomly. It had a daily quirk, a weekly quirk and a monthly quirk that each functioned for as long as it's name would suggest. Examples of this would be "You want to go on a holiday." or "You are a cheeky goblin." This gave PC some variety to its responses and made it feel a little less stiff than regular AI responses, especially when it leant on multiple quirks at the same time.
In order to allow people to opt-out of having their messages sent into an AI system, PetComputer provided a robust system for anonymity. When opting out, the system would delete anything it knew about them, and cause their messages to be redacted when being sent as part of logs. This allowed the bot enough context to know that someone was chatting, but not who they were or what they said.
Currently, PetComputer is not active on the discord server, as I had not put together a hosting solution for it, and, as a fun little toy, it wasn't worth solving that issue for a community that were cooling on the idea of having a chatbot as a group pet.