Inspiration

We have all used discord to stay in touch with our friends. But did you know that it is possible to use the Discord to also include a robot friend (BuddyBot built-in tuned GPT/Gemini) into your friend group?

What it does

Talking with Generative AI (ChatGPT/Gemini) can be very entertaining, but can you teach your AI on how to transform dynamically? Throughout this MountainHacks experience, I primarily focused on creating multiple conversations with AI and tuned the AI to transform differently each time. Discord BuddyBot is a generative AI in the Discord App allowing the user to customize their bot to act as their desired generation, relation, and occupation. Your Bot could be a gen-z college brother that could transform to a millenial mother who is a doctor. My bot is a virtual bot which can join each group (server) and start to continue a conversation with multiple users. It will act as another friend/other relation in the group chat rather than a robot.

How I built it

I created a bot called “BuddyBot” and made it interactable using python, Discord API, Gemini API programming. Users who have added “BuddyBot” can interact with it, and it will act as a friend, family, or even your boss from work! I fine-tuned it by allowing the user to enter customize generation, relation, and occupation, then tuning the bot using those inputs, making it more dynamic.

Challenges I ran into

As the bot becomes more popular and gets more requests, the server might not respond due to an overload. To overcome this issue, I will implement multithreading or multiprocessing in the system.

Accomplishments that I'm proud of

Any Discord Server Admins can add this bot (BuddyBot) to their Discord Server and everyone in that server could be able to access it. As long as I have the bot program running on my computer, any group with my bot can be able to interact with it. The uniqueness of this project is that you can include the BuddyBot with your group of friends in a group chat. When you are talking with your friends, your buddy bot will also act as another friend and join in on the conversation. For example, Google Gemini can only conversate person to person, but BuddyBot can collaborate with a large group of people in the same group chat. Furthermore, BuddyBot can be transformed to your personal preference (Ex. friend, family, professional).

What I learned

I learned how to integrate Google Gemini into a Discord Bot and make it collaborate with multiple users on Discord. I also learned how to tune my BuddyBot to customize it's way of talking through a tuning process.

What's next for Discord BuddyBot

One feature is to implement this in the real world and to develop a buisness using this tool. Another feature is to use Wolfram to enhance BuddyBot features. This includes BuddyBot taking the personality of a historical figure/celebrity.

Built With

Share this project:

Updates