A simple Discord notification tool using webhooks
Project description
Discord Notifier
A simple Python package for sending notifications to Discord channels using webhooks.
Installation
pip install discord-notifier
Or install from source:
git clone https://github.com/yourusername/discord-notifier.git
cd discord-notifier
pip install .
Configuration
- Copy
.env.templateto.env - Add your Discord webhook URL to the
.envfile
Usage
from notifier.discord_notifier import DiscordNotifier
# Initialize the notifier
notifier = DiscordNotifier()
# Send a simple message
notifier.send_message("Hello, World!")
# Send a message with a title
notifier.send_message("This is the message content", "This is the title")
Features
- Simple and easy to use
- Supports markdown formatting
- Environment-based configuration
- Timeout handling
- Error reporting
Requirements
- Python 3.7+
- requests
- python-dotenv
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dugudugu_discord_notifier-0.1.0.tar.gz.
File metadata
- Download URL: dugudugu_discord_notifier-0.1.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.13.1 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
033795f7426ad18fe08093f52d098b9015f566432a653ac390ed0d54b31d13bf
|
|
| MD5 |
fec5b0b73474e6692062bbf9764f9717
|
|
| BLAKE2b-256 |
dace205a3d98db65f17ace0847a4d4d3eea502378627a0466c56c15ad7539da1
|
File details
Details for the file dugudugu_discord_notifier-0.1.0-py3-none-any.whl.
File metadata
- Download URL: dugudugu_discord_notifier-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.13.1 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec374a74de52afe509ee70aa1bb336757a70086ca16ee335ddf8aa2166a64491
|
|
| MD5 |
14968e4becc927008ae2d2c34c89df9b
|
|
| BLAKE2b-256 |
4fc18922f45bce30d7a473d3d4a0a81c2e5ccda70a9ea93e23371ec296a0f760
|