diff --git a/README.md b/README.md index 4b36a9a..5921e7b 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ## Overview **Name:** Remaining7 Discord Bot -**Version:** v1.7.5 +**Version:** v1.9.2 **Contributors:** remainingdelta, nightwarrior5 **Objective:** A feature-rich Discord bot for the Remaining7 community server (16k+ members). Handles an R7 Token economy, leveling, quests, a Brawl Stars collection minigame, tournament management with Matcherino integration, support tickets, event operations, a security protocol, and multi-language translation. **Server Link:** https://discord.gg/6MzrjS2X8k @@ -15,6 +15,7 @@ - **Database:** MongoDB Atlas via `motor` (async) - **Translation:** `deep-translator` + `langdetect` - **External API:** Matcherino (tournament brackets, payouts) +- **AI Integration:** Gemini API (GitHub issue generation) - **Linting:** Ruff (`ruff check .` / `ruff format .`) --- @@ -23,7 +24,10 @@ ``` Remaining7-Discord-Bot/ ├── main.py # Entry point — loads cogs, syncs commands +├── pyproject.toml # Project metadata and version ├── requirements.txt +├── Makefile +├── LICENSE ├── .env.example ├── .gitignore ├── CLAUDE.md @@ -36,9 +40,10 @@ Remaining7-Discord-Bot/ │ ├── quests.py # Daily & weekly quest system │ ├── security.py # Hacked protocol (timeout, purge, flag) │ ├── event.py # Event channel cleanup & reward payouts -│ ├── general.py # /help, /mod-help, /admin-help, /convert-time +│ ├── general.py # /help, /mod-help, /admin-help, /version, /convert-time │ ├── translation.py # !t prefix & /translate slash command (55 languages) │ ├── support_tickets.py # General support tickets (issues, support, apps, partnership) +│ ├── github_tickets.py # AI-powered GitHub issue creation from tickets (Gemini) │ ├── ticket_command_router.py # Shared routing for tourney & support ticket commands │ ├── brawl/ │ │ ├── brawlers.json # Brawler data (name, rarity, gadgets, star powers, hypercharges) @@ -64,7 +69,7 @@ Remaining7-Discord-Bot/ ## Core Features ### R7 Token Economy -- **Passive Income:** Users earn 2–5 R7 Tokens per message (20-second cooldown). Server Boosters get a 2% average bonus. +- **Passive Income:** Users earn 2–5 R7 Tokens per message (20-second cooldown). Server Boosters get a 5% increase in tokens on average. - **Daily Rewards:** `/daily` grants 80–160 tokens (scaled by level). Requires 5 messages sent since last claim and a 24-hour cooldown. - **Supply Drop:** `/drop ` (Admin) to force a token drop in general chat. - **Balance & Ranking:** `/balance [user]`, `/leaderboard [page]`. @@ -150,6 +155,11 @@ Remaining7-Discord-Bot/ - Staff can close, reopen, and delete tickets with transcript generation. - Transcripts DM'd to the opener and archived in a log channel. +### GitHub Ticket Integration +- AI-powered GitHub issue creation from support tickets using Gemini. +- Automatically generates structured bug reports, feature requests, and enhancement issues from ticket conversations. +- Requires `GEMINI_TOKEN` and `GITHUB_TOKEN` environment variables. + ### Event Management - **Automated Monitoring:** Daily background task at 12:00 AM ET scans event channels. - **Smart Alerts:** Alert sent when messages are 7+ days old (prevents exceeding Discord's 14-day bulk-delete limit). @@ -170,6 +180,7 @@ Remaining7-Discord-Bot/ ### Utility - `/convert-time