Metadata-Version: 2.4
Name: discord-ntfy
Version: 0.1.0
Summary: Discord Notification
Author-email: Changhun Han <ehwjs1914@naver.com>
License: MIT
Keywords: discord,notification,webhook
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: python-dotenv>=0.21.1
Requires-Dist: requests>=2.31.0
Provides-Extra: dev
Requires-Dist: build>=1.1.1; extra == "dev"
Requires-Dist: twine>=4.0.2; extra == "dev"

# discord-ntfy

A simple Python library to send notifications to Discord via webhooks.

## Installation

```bash
pip install discord-ntfy
```

## Usage

1. Create a Discord webhook URL in your Discord server settings
2. Set the webhook URL in your `.env` file:

```
DISCORD_WEBHOOK_URL=https://discord.com/api/webhooks/YOUR_WEBHOOK_URL
```

3. Use the library:

```python
from discord_ntfy import notify_discord

# Send a notification
notify_discord("Hello, Discord!")

# Or provide webhook URL directly
notify_discord("Hello!", webhook_url="https://discord.com/api/webhooks/...")
```
