https://github.com/ni5arga/aoc-stats-telegram-bot
A Telegram bot that interacts with your Advent of Code private leaderboard and gives you private leaderboard stats in your chat.
https://github.com/ni5arga/aoc-stats-telegram-bot
advent-of-code advent-of-code-2023 aoc aoc-python aoc-telegram-bot python python-telegram-bot telegram-bot
Last synced: 4 months ago
JSON representation
A Telegram bot that interacts with your Advent of Code private leaderboard and gives you private leaderboard stats in your chat.
- Host: GitHub
- URL: https://github.com/ni5arga/aoc-stats-telegram-bot
- Owner: ni5arga
- License: apache-2.0
- Created: 2023-11-14T07:45:51.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-14T07:53:28.000Z (over 1 year ago)
- Last Synced: 2024-12-28T07:27:47.877Z (5 months ago)
- Topics: advent-of-code, advent-of-code-2023, aoc, aoc-python, aoc-telegram-bot, python, python-telegram-bot, telegram-bot
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Advent of Code Leaderboard Stats Telegram Bot
A Telegram bot written in Python to interact with the Advent of Code (AoC) website's private leaderboard.
## Commands
- `/start`: Start the bot and receive a welcome message.
- `/help`: Display available commands and their descriptions.
- `/stats`: Retrieve private leaderboard statistics.
- `/top`: Rank the top 10 players based on stars.## Getting Started
### Prerequisites
- Python 3.x
- Install dependencies: `pip install -r requirements.txt`### Environment Variables
- `TELEGRAM_BOT_TOKEN`: Your Telegram bot token.
- `AOC_SESSION_COOKIE`: Your Advent of Code session cookie.
- `AOC_LEADERBOARD_ID`: Your Advent of Code private leaderboard ID.