{"id":46795057,"url":"https://github.com/hasindu-nagolla/telegram-admin-mention-bot","last_synced_at":"2026-03-10T03:38:03.559Z","repository":{"id":318912780,"uuid":"1076915949","full_name":"hasindu-nagolla/telegram-admin-mention-bot","owner":"hasindu-nagolla","description":"A fully configurable Telegram group admin mention bot built in Python. Instantly notify group admins with user reports, inline action buttons, and anti-spam safeguards.","archived":false,"fork":false,"pushed_at":"2025-11-22T11:41:08.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-22T13:18:05.970Z","etag":null,"topics":["adminmention","bot","free","telegram","vps"],"latest_commit_sha":null,"homepage":"https://hasindu-nagolla.github.io/telegram-admin-mention-bot/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hasindu-nagolla.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-15T14:16:29.000Z","updated_at":"2025-11-22T11:41:11.000Z","dependencies_parsed_at":"2025-10-17T06:31:34.737Z","dependency_job_id":"5dce236d-5d25-4be9-a0b9-0230aae9a794","html_url":"https://github.com/hasindu-nagolla/telegram-admin-mention-bot","commit_stats":null,"previous_names":["hasindu-nagolla/telegramtagadminbot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hasindu-nagolla/telegram-admin-mention-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasindu-nagolla%2Ftelegram-admin-mention-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasindu-nagolla%2Ftelegram-admin-mention-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasindu-nagolla%2Ftelegram-admin-mention-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasindu-nagolla%2Ftelegram-admin-mention-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hasindu-nagolla","download_url":"https://codeload.github.com/hasindu-nagolla/telegram-admin-mention-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasindu-nagolla%2Ftelegram-admin-mention-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30323355,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T01:36:58.598Z","status":"online","status_checked_at":"2026-03-10T02:00:06.579Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adminmention","bot","free","telegram","vps"],"created_at":"2026-03-10T03:38:02.808Z","updated_at":"2026-03-10T03:38:03.537Z","avatar_url":"https://github.com/hasindu-nagolla.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telegram Admin Bot\n\nA simple Telegram bot for mentioning all admins in a group with a message.\n\n## Features\n\n### Welcome Message (`/start`)\n- Beautiful welcome message with bot information\n- Bot logo/image display\n- Inline buttons for:\n  - Add to Group\n  - Help documentation\n  - Developer contact\n  - GitHub repository\n- Interactive help system with navigation\n\n### Mention Admins (`@admin`)\n- Any member can mention all admins with a message\n- Triggers: `@admin`, `.admin`, or `/admin`\n- Requires a message/reason to prevent spam\n- Mentions admins with usernames using @username format\n- Mentions admins without usernames using clickable mention links\n- Example: `@admin Need help with spam messages`\n\n## Project Structure\n\n```\ntgadminbot/\n├── handlers/              # Message and command handlers\n│   ├── __init__.py\n│   ├── start_command.py   # /start command with welcome message\n│   └── admin_mention.py   # @admin command handler\n├── main.py               # Main bot entry point\n├── requirements.txt      # Python dependencies\n└── sample .env          # Environment variables template\n```\n\n## Setup\n\n1. Install dependencies:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n2. Create a `.env` file with your bot token:\n   ```\n   BOT_TOKEN=your_telegram_bot_token_here\n   ```\n\n3. Run the bot:\n   ```bash\n   python main.py\n   ```\n\n## Commands\n\n| Command | Access | Description |\n|---------|--------|-------------|\n| `/start` | All users | Show bot information, features, and help with inline buttons |\n| `@admin [message]` | All members | Mention all admins with a message |\n\n## How It Works\n\n1. Any member sends `@admin [message]` (e.g., `@admin Need help`)\n2. Bot verifies a message/reason is provided\n3. Bot fetches all group administrators\n4. Bot mentions all human admins (skips bots and anonymous admins)\n5. Admins with usernames: mentioned as @username\n6. Admins without usernames: mentioned with clickable name links\n\n## Example Usage\n\n```\nUser: @admin Someone is spamming the group\nBot: \"Someone is spamming the group\"\n      Reported by: John (@john123) 🔔\n      \n      @admin1, @admin2, AdminName3, @admin4\n```\n\n## Notes\n\n- The bot requires a message with @admin to prevent empty spam mentions\n- Only human admins are mentioned (bots and anonymous admins are skipped)\n- The bot includes colorized console logging for monitoring\n\n## License\n\nThis project is open source and available for modification.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasindu-nagolla%2Ftelegram-admin-mention-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhasindu-nagolla%2Ftelegram-admin-mention-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasindu-nagolla%2Ftelegram-admin-mention-bot/lists"}