42-corrections-bot
42-corrections-bot copied to clipboard
parses your intra page and sends a slack notification (and/or sms) when you have a correction
42-corrections-bot
parses your intra page and sends a slack notification (and/or sms) when you have a correction
install the prerequisites:
apt install python3-pip
pip3 install bs4 twilio slackclient
### edit the script and add your credentials
add crontab
crontab -e
(adjust folder paths as necessary)
*/15 * * * * cd /home/ubuntu/corrections; /usr/bin/python3 corrections-bot.py >> execution.log 2>&1
done
correction appears on our intra profile page
bot sends a direct message to owner
bot sends a group message to owner and correction partner
bot sends a direct message to owner
bot sends a group message to owner and correction partner
bot sends sms message to owner
bot sends sms message to owner