Discord Digest is a Python bot that summarizes your Discord server's conversations and delivers them to your email inbox. It uses OpenAI for summarization and provides a Streamlit-based control panel for easy management.
- Summarizes conversations from specified Discord channels.
- Delivers summaries via email at scheduled intervals.
- Customizable summarization settings (coming soon).
- Streamlit-based web UI for controlling the bot and viewing summaries.
DISCORD_TOKEN=your_discord_bot_token
TARGET_CHANNEL_IDS=your_channel_ids
OPENAI_KEY=your_openai_api_key
EMAIL_USER=your_email
EMAIL_PASSWORD=your_email_password
EMAIL_TO=recipient_email
-
Clone the repository:
git clone https://github.com/Tushar365/discord_digest.git cd discord_digest -
Create virtual environment :
python -m venv venv
On mac/linux:
source venv/bin/activate
On Windows:
venv\Scripts\activate
pip install -r requirements.txt
python discord_bot.py
set the timer and zone manually : scheduler.py (change the code) then run :
python scheduler.py
python scheduler.py --preview
streamlit run app.py