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

Uploaded Source

File details

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

File metadata

  • Download URL: simple_dmessage-0.1.3.tar.gz
  • Upload date:
  • Size: 1.6 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.1.3.tar.gz
Algorithm Hash digest
SHA256 59d1abe1c0cd353761e42857dd48b5dc0f853a275e2f5c7306723aac13615161
MD5 dae71f4f6e1d84a436bc82ce6e33557c
BLAKE2b-256 a39d8d980becd100f194d69a0245f66f1bfa901123917c6035d68821b7fd7432

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