Multi-feed Discord RSS bot with per-feed intervals, admin controls and rotating logs.
- Multiple RSS feeds
- Custom feed names
- Per-feed check interval (min 60s, max 86400s)
- Rate limited (max 5 posts per check)
- Admin-only feed management
- Rotating logs
- SQLite database (johnny.db)
- Python 3.10+
- discord.py
- feedparser
- beautifulsoup4
- python-dotenv
Install dependencies:
pip install -r requirements.txt- Clone repository
- Create .env file:
DISCORD_TOKEN=your_bot_token_here
DB_FILE=johnny.db- Run the bot
python johnny.pyAdmin Only
/addfeed name rss_url channel interval_seconds
/editfeed name [new_url] [new_channel] [new_interval]
/removefeed name
Available to everyone
/listfeeds
/latest name count
/latest is limited to 5 items.
The bot uses SQLite (johnny.db) and creates the table automatically on first run.
Logs are written to:
logs/johnny.logRotating:
- Rotates at midnight
- Keeps 14 days of history
- Active log:
johnny.log - Archived logs:
johnny_YYYYMMDD.log
Minimum interval: 60 seconds Maximum interval: 86400 seconds (24h) Max 5 posts per feed check Loop runs every 30 seconds