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 dugudugu-discord-notifier
Usage
from notifier.discord_notifier import DiscordNotifier
# Initialize with webhook URL
webhook_url = "your-webhook-url-here" # Discord webhook URL
notifier = DiscordNotifier(webhook_url)
# Send a simple message
notifier.send_message("Hello, World!")
# Send a message with title
notifier.send_message("This is the message content", "This is the title")
How to get Discord Webhook URL:
- Go to your Discord server
- Right-click on the channel you want to send messages to
- Click 'Edit Channel'
- Click 'Integrations'
- Click 'Create Webhook' (or 'View Webhooks' if you already have one)
- Click 'New Webhook'
- Copy the Webhook URL
Features
- Simple and easy to use
- Supports markdown formatting
- Timeout handling
- Error reporting
Requirements
- Python 3.7+
- requests
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.3.0.tar.gz.
File metadata
- Download URL: dugudugu_discord_notifier-0.3.0.tar.gz
- Upload date:
- Size: 2.3 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 |
b0cb0406777ef89ba72f3273fdc4150f736c43f132f2705298d7ea1a9ef3f54c
|
|
| MD5 |
d628c067057372f4b33729dde5787926
|
|
| BLAKE2b-256 |
8b61ffd5715fdae2890e8a6df952b7635782a6fbad9d809e2206d518cddf84d2
|
File details
Details for the file dugudugu_discord_notifier-0.3.0-py3-none-any.whl.
File metadata
- Download URL: dugudugu_discord_notifier-0.3.0-py3-none-any.whl
- Upload date:
- Size: 2.7 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 |
a767faf67e5b64a47bdbaf05c629437d96728f69abbe10a83dbb5b890afc2dbd
|
|
| MD5 |
5076a9a61b35b1a8203fa7500f13abfc
|
|
| BLAKE2b-256 |
5dd1d2dc0836612d511e9ba0492c751fa55d0f86be86c6ad727d43c96f017280
|