Shadow - A GroupMe bot https://github.com/RamseyK/shadowbot
A GroupMe bot that is meant to be triggered by a Cron job to perform timed actions. I wrote this to be an asshole.
Features
- Schedule messages to be sent in the future
- Relay messages to a target group via direct message commands
- Commands via DM:
- !config - Return config.json vars
- !relay:msg - Send a message to the target group
- !group:group name - Change the target group by name
- !timed:mins:msg - Schedule a message to be sent to the target group in x number of minutes
- !cleartimed - Delete all scheduled messages
How to use:
- Create a GroupMe account and have it added to your desired group. Create an API key for this user
- Rename default_config.json to config.json
- Enter your GroupMe API key and any timed messages you want to schedule in the future in the config
- Write a Cronjob to trigger this script every so often
- env EDITOR=nano crontab -e ; * * * * * python shadow.py