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

Uploaded Source

File details

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

File metadata

  • Download URL: simple_dmessage-0.1.2.tar.gz
  • Upload date:
  • Size: 1.5 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.2.tar.gz
Algorithm Hash digest
SHA256 17c8dcc378c20e38de668e904dc0867ac791107f60ef221c009dffb8c3e87abb
MD5 a0b4bbb6e7ba80f1f32fb1888142cc8d
BLAKE2b-256 189a63ea8d6a803d778137c6aca6fff3571d5f93163354a706ec7f0353081761

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