Skip to main content

A package for sending direct messages via Discord

Project description

Simple Message Bot

This bot is designed to send a custom direct message to a user on discord.

Example

import asyncio
from message import send_direct_message


async def my_script():
    # Your script code goes here
    await send_direct_message(TOKEN, USER_ID, "Hello, World!")


async def main():
    await my_script()

asyncio.run(main())

Why

I wanted an easy way to get remote notfications from scripts

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

simple_dmessage-0.2.0.tar.gz (1.2 kB view details)

Uploaded Source

Built Distribution

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

simple_dmessage-0.2.0-py3-none-any.whl (1.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: simple_dmessage-0.2.0.tar.gz
  • Upload date:
  • Size: 1.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for simple_dmessage-0.2.0.tar.gz
Algorithm Hash digest
SHA256 1003bbcba02b01af7fef33c9a6e12cd93a8577224fc88f038bb61be7f65046c3
MD5 27c5e0178e5dfbb621677a903c251109
BLAKE2b-256 27dd1fb4b64cc6890d2d65b8d89ada79acf2a4f3a5f8f2c7012e4f61f31fda15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for simple_dmessage-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a3133d272c14fb077e4f5680470b4850cfd1a52544258921f07ba69aa5f03dce
MD5 ca2a572c32191589e07cf742bf3c77fb
BLAKE2b-256 b818d17b00a86ec6675a00f0351e4e4306916852ab19629b6fc9ca58f3cb3ae1

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