I got tired of waiting to come home to check the output of jobs run on my home computer, so now I send the results to myself over discord.
Example usage:
- Add your bot token and channel/user id to
example_config.json
- Install the necessary packages:
pip install -r requirements.txt
- Execute a command:
python3 bashcord.py "echo 'hello world'" --lines 10 --config example_config.json
python3 bashcord.py "echo 'hello world'" --lines 10 --config example_config.json --files file1.png file2.png