The Reddit Leaderboard Bot is an automated script designed to post leaderboard rankings to multiple subreddit communities at scheduled times. The bot tracks top contributors and posts updates, enhancing engagement in Reddit communities.
- Automated Leaderboard Posting – Posts leaderboards to specified subreddits at optimal times.
- Multi-Subreddit Support – Schedule leaderboard posts for different communities.
- Custom Scheduling – Uses
scheduleto post at specific times. - Secure Credentials Handling – Uses
.envfile to store API credentials securely.
RedditBot/
│── Credentials.env # Stores Reddit API credentials
│── Post_RedditLeaderboard.py # Schedules and posts leaderboards
│── RedditLeaderboards.py # Handles API authentication and leaderboard posting logic
│── requirements.txt # Dependencies for the bot
│── venv/ # Virtual environment (local execution)
git clone https://github.com/YOUR_ORG/RedditBot.git
cd RedditBotpython3 -m venv venv
source venv/bin/activate # On Linux/macOS
venv\Scripts\activate # On Windowspip install -r requirements.txtCreate a .env file in the RedditBot directory and add:
REDDIT_CLIENT_ID=your_client_id
REDDIT_CLIENT_SECRET=your_client_secret
REDDIT_USERNAME=your_username
REDDIT_PASSWORD=your_password
REDDIT_USER_AGENT=your_user_agent
We welcome contributions! Feel free to open issues or submit pull requests to improve the bot.
MIT License. See LICENSE for details.