# 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:
```bash
pip install ext-message
```
To create an environment file, you will need a Discord bot API key (bots are creatable [here](https://discord.com/developers/applications)) and your Discord user ID. Then, run:
```bash
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:
```bash
ext-message example.txt
```
or any other text file. You can also specify a custom environment file using `--env`:
```bash
ext-message example.txt --env example.env
```
You need to be sharing a server with your bot in order to receive the message.
Raw data
{
"_id": null,
"home_page": "https://github.com/jwjeffr/ext-message",
"name": "ext-message",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Jacob Jeffries",
"author_email": "jeffriesjacob0@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/9f/08/e51c6f348e2b997e8cbf137caba73b9d63dc9f9646139e3f776b8d53318c/ext_message-1.0.2.tar.gz",
"platform": null,
"description": "# ext-message\n## Library for sending messages to an external app\n\nThis 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.\n\nTo install:\n\n```bash\npip install ext-message\n```\n\nTo create an environment file, you will need a Discord bot API key (bots are creatable [here](https://discord.com/developers/applications)) and your Discord user ID. Then, run:\n\n```bash\necho user_id=${USER_ID} > .env\necho api_key=${API_KEY} >> .env\n```\n\nOr at these manually in `example.env` and run `mv example.env .env`. Then, run:\n\n```bash\next-message example.txt\n```\n\nor any other text file. You can also specify a custom environment file using `--env`:\n\n```bash\next-message example.txt --env example.env\n```\n\nYou need to be sharing a server with your bot in order to receive the message.\n",
"bugtrack_url": null,
"license": null,
"summary": null,
"version": "1.0.2",
"project_urls": {
"Homepage": "https://github.com/jwjeffr/ext-message"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2a0a65279634cff6144cb5beed1a08c06622eabdd3b74626bd1711e99189334f",
"md5": "a0cc58ac93aa582cff16889511051f93",
"sha256": "1b5b65dde8afad7f072001811148419f3b0a21e17307ed26e0e3cff899f03a6b"
},
"downloads": -1,
"filename": "ext_message-1.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a0cc58ac93aa582cff16889511051f93",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3159,
"upload_time": "2024-05-01T01:24:55",
"upload_time_iso_8601": "2024-05-01T01:24:55.631472Z",
"url": "https://files.pythonhosted.org/packages/2a/0a/65279634cff6144cb5beed1a08c06622eabdd3b74626bd1711e99189334f/ext_message-1.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9f08e51c6f348e2b997e8cbf137caba73b9d63dc9f9646139e3f776b8d53318c",
"md5": "5bbf8f2bb80e6cdd6e5917d650589603",
"sha256": "3b791287152429f3ae57ab470c91b214701f4a68c42b838b5f666291ef4dfae7"
},
"downloads": -1,
"filename": "ext_message-1.0.2.tar.gz",
"has_sig": false,
"md5_digest": "5bbf8f2bb80e6cdd6e5917d650589603",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2649,
"upload_time": "2024-05-01T01:24:58",
"upload_time_iso_8601": "2024-05-01T01:24:58.772315Z",
"url": "https://files.pythonhosted.org/packages/9f/08/e51c6f348e2b997e8cbf137caba73b9d63dc9f9646139e3f776b8d53318c/ext_message-1.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-01 01:24:58",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jwjeffr",
"github_project": "ext-message",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "ext-message"
}