Skip to main content

No project description provided

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


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.0.tar.gz (1.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dmessage-0.2.0-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file dmessage-0.2.0.tar.gz.

File metadata

  • Download URL: dmessage-0.2.0.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

Hashes for dmessage-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2b1f2c2754d7d116ad7a2384c8484d37632d062e3bc3139efe5ba5d266b9846d
MD5 b8ad3e957ad1b6b800b3438cbff7eb29
BLAKE2b-256 b5156f97abcee9f2c407e3c230f410b09488b208a614b28159784d9d0965854a

See more details on using hashes here.

File details

Details for the file dmessage-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: dmessage-0.2.0-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

Hashes for dmessage-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 62ea216094929aead3b758061b46d7617f040ee8fc7f6c043a5e731e678161e9
MD5 d6dd4e0015424fb39a27a22a3d932635
BLAKE2b-256 9e18ed919ccfabd279983c3f6d98a0c8f2feb49be5ba31efef59a7499631e0cd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page