Files
thc-webhook/README.md
georg.sinn-schirwitz fbe4e2f487 initial commit
2025-09-06 14:01:06 +02:00

38 lines
766 B
Markdown

# Discord Webhook 420 Notification App
This Python application sends notifications to a Discord channel via webhook every hour at HH:15 (5 minute reminder) and at HH:20.
## Setup
1. Install dependencies:
```bash
pip install -r requirements.txt
```
2. Set up your Discord webhook:
- Go to your Discord server settings > Integrations > Webhooks
- Create a new webhook and copy the URL
3. Update the `.env` file with your webhook URL:
```text
DISCORD_WEBHOOK_URL=https://discord.com/api/webhooks/your_webhook_id/your_webhook_token
```
## Running the App
Run the application:
```bash
python main.py
```
The app will run continuously and send notifications at the scheduled times.
## Requirements
- Python 3.6+
- Discord webhook URL