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.
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.2.tar.gz
.
File metadata
Download URL:
ext_message-1.0.2.tar.gz
Upload date: May 1, 2024
Size: 2.6 kB
Tags: Source
Uploaded using Trusted Publishing? Yes
Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Hashes for ext_message-1.0.2.tar.gz
Algorithm
Hash digest
SHA256
3b791287152429f3ae57ab470c91b214701f4a68c42b838b5f666291ef4dfae7
Copy
MD5
5bbf8f2bb80e6cdd6e5917d650589603
Copy
BLAKE2b-256
9f08e51c6f348e2b997e8cbf137caba73b9d63dc9f9646139e3f776b8d53318c
Copy
See more details on using hashes here.
File details
Details for the file ext_message-1.0.2-py3-none-any.whl
.
File metadata
Download URL:
ext_message-1.0.2-py3-none-any.whl
Upload date: May 1, 2024
Size: 3.2 kB
Tags: Python 3
Uploaded using Trusted Publishing? Yes
Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Hashes for ext_message-1.0.2-py3-none-any.whl
Algorithm
Hash digest
SHA256
1b5b65dde8afad7f072001811148419f3b0a21e17307ed26e0e3cff899f03a6b
Copy
MD5
a0cc58ac93aa582cff16889511051f93
Copy
BLAKE2b-256
2a0a65279634cff6144cb5beed1a08c06622eabdd3b74626bd1711e99189334f
Copy
See more details on using hashes here.