Back to Home

HistoriaBot

AI-powered Discord study bot with multiple personas and interactive tools.

Timeline

June 2025 - Present

Team

Solo Project

Status

In Development

Project Gallery

HistoriaBot screenshot 1

About This Project

HistoriaBot is a versatile Discord bot that acts as an interactive study partner. It uses the Google Gemini API to take on different personas (e.g., history tutor, math expert, debate moderator) based on the channel it's in.

The bot is designed to be a comprehensive study hub, offering features beyond simple Q&A. It can generate structured essay outlines, run Pomodoro study timers, and even track its own development by announcing new commits from its GitHub repository directly into a changelog channel.

Key challenges solved: - Engineering distinct, effective prompts for multiple AI personas. - Implementing a background task system for asynchronous features like commit tracking and timers. - Handling Discord API limitations, such as character limits for long responses, by splitting content into multiple messages. - Creating an administrator-only command to manually trigger updates without restarting the bot.

Key Challenges

  • Crafting effective prompts for diverse AI behaviors
  • Managing asynchronous tasks within the Discord event loop
  • Gracefully handling API rate limits and errors
  • Ensuring a seamless and intuitive user experience with slash commands

Tech Stack

PythonDiscord.pyGoogle Gemini APIRequestsGit

Key Features

  • Multi-persona AI tutor (History, Math, etc.)
  • Structured essay outline generator
  • Integrated Pomodoro study timer
  • Automated GitHub commit changelog
  • Interactive debate moderation tools
  • Context-aware conversational memory
← Back to Projects