Skip to main content

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.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page