No project description provided
Project description
ext-message
Library for sending messages to an external app
This is a simple library for sending files to external apps. As of now, this is only compatible with Discord, but with plans to expand to Slack, Email, and SMS.
To install:
pip install ext-message
To create an environment file, you will need a Discord bot API key (bots are creatable here) and your Discord user ID. Then, run:
echo user_id=${USER_ID} > .env
echo api_key=${API_KEY} >> .env
Or at these manually in example.env
and run mv example.env .env
. Then, run:
ext-message example.txt
or any other text file. You can also specify a custom environment file using --env
:
ext-message example.txt --env example.env
You need to be sharing a server with your bot in order to receive the 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
Built Distribution
File details
Details for the file ext_message-1.0.1.tar.gz
.
File metadata
- Download URL: ext_message-1.0.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd78f979ae92f05c13dd58d3d01fe20df2eb7ac5ec0192e4868d8b166cfd814f |
|
MD5 | 32b9722bba3e029870301be0526aa349 |
|
BLAKE2b-256 | 0c879996b9ea8cb17029f090f5c9056e3cf2c7a28e06db47c5bf1cd561e4c06e |
File details
Details for the file ext_message-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: ext_message-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1155c84009e1810734c5d383b5d4f611c669da03c46d7844a45731e2a8ad9b97 |
|
MD5 | 2f46e226ec29664b5c829e585c25b512 |
|
BLAKE2b-256 | 7926951b0d5a464605c5ecfbc34e06af96102c7cc312543d31489ba12d0ac11f |