Skip to content

OkhDev/ai-status-tracker-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 AI Status Tracker Bot

Real-time Discord Bot for Monitoring OpenAI and Anthropic Service Status

Version License

Python OpenAI Anthropic Discord

Features

  • 🔄 Real-time status monitoring for OpenAI and Anthropic services
  • 🎯 Single message that updates in place - no spam
  • 🌐 Direct links to official status pages
  • 🎨 Visual status indicators with color-coded states
  • ⚡ Quick-access help guide for understanding status indicators
  • 🔒 Admin-only commands for security

Status Indicators

  • Operational: All systems working normally
  • 🔸 Limited: Some services experiencing limitations
  • Issues/Failed: Problems detected or status check failed

Bot's presence reflects overall service status:

  • 🟢 Online: All services operational
  • 🟡 Idle: Some services experiencing limitations
  • 🔴 DND: Services have issues or status checks failed

Commands

All commands require administrator permissions:

Command Description Parameters
/create Creates a status tracker in the current channel [interval]: Update frequency in minutes (default: 5)
/refresh Force an immediate status update for all trackers None
/interval Change how often the tracker updates <minutes>: New update frequency (min: 1)
/delete Removes the tracker from the current channel None
/list Lists all active status trackers and their settings None
/debug Get comprehensive debug information including bot status, configuration, service status, and system details None
/default Set the default refresh interval for new trackers <minutes>: New default interval (min: 1)
/sync Force sync all trackers and verify their status None

Setup

  1. Clone the repository

  2. (Optional) Create and activate a virtual environment:

# Create virtual environment
python -m venv venv

# Activate virtual environment
# On Windows:
venv\Scripts\activate
# On macOS/Linux:
source venv/bin/activate
  1. Create a .env file with your Discord bot token and client ID:
DISCORD_TOKEN=your_token_here
CLIENT_ID=your_client_id_here
  1. Install dependencies:
pip install -r requirements.txt
  1. Run the bot:
python status_bot.py

🤝 Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

📋 Future PotentialIdeas

  • Add support for more AI service providers (e.g., Cohere, Mistral AI)
  • Implement custom status page monitoring for any URL
  • Add webhook integration for instant status notifications
  • Create a web dashboard for managing multiple bot instances
  • Add detailed status history and analytics
  • Implement status alerts via DM for server admins
  • Add custom status message templates
  • Support for role-based access control beyond admin-only

Made with ❤️ by OkhDev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages