initial commit
This commit is contained in:
37
README.md
Normal file
37
README.md
Normal file
@@ -0,0 +1,37 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user