Handles you Codes Webhook requests. Supports Discord, Slack, etc.
Project description
DiscordWebhookManager
A lightweight Python module for sending, editing, and managing Discord webhooks effortlessly.
Features
- Send messages and embeds via Discord webhooks
- Edit and delete webhook messages
- Manage webhook settings (username, avatar, etc.)
- Retrieve webhook information from channels and guilds
Installation
You can install DiscordWebhookManager via pip:
pip install WebhookHandler
Quick Start
Sending a Webhook Message
from discord_webhook import Send
webhook_url = "your_webhook_url"
Send.normal(webhook_url, "Hello, Discord Webhook!")
Sending an Embed Message
Send.embed(
url=webhook_url,
title="Embed Title",
description="This is an embedded message.",
color=0xFF0000
)
Editing a Webhook Message
from discord_webhook import Edit
message_id = "your_message_id"
Edit.edit_message(webhook_url, message_id, "Updated content")
Deleting a Webhook Message
Edit.delete_message(webhook_url, message_id)
Managing Webhooks
Creating a Webhook
Edit.create_webhook(channel_id="your_channel_id", name="New Webhook")
Retrieving Webhooks
from discord_webhook import Get
Get.channel_webhook("your_channel_id")
Contributing
Contributions are welcome! Feel free to open an issue or submit a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Links
Project details
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 webhookhandler-1.0.3.tar.gz.
File metadata
- Download URL: webhookhandler-1.0.3.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee32e5ceec8c1268272d59ccee9e58ed1f0bec8a6a5587806299c75b3b09b8bc
|
|
| MD5 |
92a53a436aa69fdc8ed2caaf7df6809f
|
|
| BLAKE2b-256 |
4e6a1577aa869eb2d6131dc4e19f6b1a84249b49317c27eb3262aa067ffb0273
|
Provenance
The following attestation bundles were made for webhookhandler-1.0.3.tar.gz:
Publisher:
python-publish.yml on SyncWide-Solutions/WebhookHandler
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
webhookhandler-1.0.3.tar.gz -
Subject digest:
ee32e5ceec8c1268272d59ccee9e58ed1f0bec8a6a5587806299c75b3b09b8bc - Sigstore transparency entry: 169752119
- Sigstore integration time:
-
Permalink:
SyncWide-Solutions/WebhookHandler@4eb6e2e7c144f3a9ba979097a98c7f3d4765ec4f -
Branch / Tag:
refs/tags/v1.0.3 - Owner: https://github.com/SyncWide-Solutions
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@4eb6e2e7c144f3a9ba979097a98c7f3d4765ec4f -
Trigger Event:
release
-
Statement type:
File details
Details for the file WebhookHandler-1.0.3-py3-none-any.whl.
File metadata
- Download URL: WebhookHandler-1.0.3-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92c6151afbc5a28c3bcd2a301ad72d8279df2a1724e082c7d14a73d35970b3d2
|
|
| MD5 |
58f8b2c34545490e53ef1b6b8c493397
|
|
| BLAKE2b-256 |
988d5d96e1061523aa61027c677480d7d4b5b28672e5bcf21254a9d236c46b60
|
Provenance
The following attestation bundles were made for WebhookHandler-1.0.3-py3-none-any.whl:
Publisher:
python-publish.yml on SyncWide-Solutions/WebhookHandler
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
webhookhandler-1.0.3-py3-none-any.whl -
Subject digest:
92c6151afbc5a28c3bcd2a301ad72d8279df2a1724e082c7d14a73d35970b3d2 - Sigstore transparency entry: 169752121
- Sigstore integration time:
-
Permalink:
SyncWide-Solutions/WebhookHandler@4eb6e2e7c144f3a9ba979097a98c7f3d4765ec4f -
Branch / Tag:
refs/tags/v1.0.3 - Owner: https://github.com/SyncWide-Solutions
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@4eb6e2e7c144f3a9ba979097a98c7f3d4765ec4f -
Trigger Event:
release
-
Statement type: