No project description provided
Project description
DMessage
DMessage 是一個簡單的 Python 套件,透過 webhook 發送訊息到 Discord 的 channel。
安裝
pip install dmessage
使用
import os
from dmessage import DMessage
os.environ["WEBHOOK_ID"] = "YOUR_WEBHOOK_ID"
os.environ["WEBHOOK_TOKEN"] = "YOUR_WEBHOOK_TOKEN"
message = "Hello, World!"
dm = DMessage()
dm.send(message)
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.1.4.tar.gz
(1.5 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.1.4.tar.gz.
File metadata
- Download URL: dmessage-0.1.4.tar.gz
- Upload date:
- Size: 1.5 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 |
740d15155b73d3255ed3ceb9d361039fad7c0d4ede5b01345b907ad84fa17c32
|
|
| MD5 |
b707a02adc0a9dfbd35106c9fdbc22b4
|
|
| BLAKE2b-256 |
e27a48b77c43b43935dcf79cc8ab1efe1aedbe26e0ec9cc701c9c7e96e4d4b79
|
File details
Details for the file dmessage-0.1.4-py3-none-any.whl.
File metadata
- Download URL: dmessage-0.1.4-py3-none-any.whl
- Upload date:
- Size: 2.2 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 |
3ba24933b0c8dec5fc932d1b9907672df0debcc13a6a3576956bb724eb179aac
|
|
| MD5 |
2dbe9339e53559e4c606b53e1316dd48
|
|
| BLAKE2b-256 |
cad78331792ce6bfe47c22b0984c745835b0e65adddabae9dabf28259bc682cf
|