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.
Metadata
Release files for ext-message 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ext_message-1.0.2.tar.gz | 2.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ext_message-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.8 kB
Release files / ext_message-1.0.2.tar.gz
| Download URL | ext_message-1.0.2.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3b791287152429f3ae57ab470c91b214701f4a68c42b838b5f666291ef4dfae7
|
|
BLAKE2b-256 checksum How to use checksums |
9f08e51c6f348e2b997e8cbf137caba73b9d63dc9f9646139e3f776b8d53318c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / ext_message-1.0.2-py3-none-any.whl
| Download URL | ext_message-1.0.2-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1b5b65dde8afad7f072001811148419f3b0a21e17307ed26e0e3cff899f03a6b
|
|
BLAKE2b-256 checksum How to use checksums |
2a0a65279634cff6144cb5beed1a08c06622eabdd3b74626bd1711e99189334f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|