A simple message sender for Discord. It can send messages to a channel through a webhook.
Project description
DMessage
DMessage 是一個簡單的 Python 套件,透過 webhook 發送訊息到 Discord 的 channel。
安裝
pip install dmessage
使用
import os
from dmessage import DMessage
os.environ["WEBHOOK_URL"] = "YOUR_WEBHOOK_URL"
dm = DMessage()
dm.send("Hello, World!")
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
dmessage-0.2.1.tar.gz
(1.7 kB
view details)
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 dmessage-0.2.1.tar.gz.
File metadata
- Download URL: dmessage-0.2.1.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.4 Darwin/23.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae5dadd6b2982086869b92373eceb42143d960bff33199ac48bc47020927aa20
|
|
| MD5 |
19d508147f43b9854b1354d7865279ed
|
|
| BLAKE2b-256 |
002aca1ad7f9a42c339627e7d53b20f3fe53bc5125ac3e3a14fd4a5fbc42cad5
|
File details
Details for the file dmessage-0.2.1-py3-none-any.whl.
File metadata
- Download URL: dmessage-0.2.1-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.4 Darwin/23.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27daead861f3c6e3d359ee852bccfd3841f5e12546668b880c6fbf28397fbd6a
|
|
| MD5 |
7b6d3b8d22015fdf4e7aeea629cd3ae7
|
|
| BLAKE2b-256 |
c97ae632c14abea93114d68c88de45b64aff7897d984e066fac65ed7b64fb032
|