42-corrections-bot icon indicating copy to clipboard operation
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

corrections-bot screenshot 1

bot sends a direct message to owner

corrections-bot screenshot 2

bot sends a group message to owner and correction partner

corrections-bot screenshot 3

bot sends a direct message to owner

corrections-bot screenshot 4

bot sends a group message to owner and correction partner

corrections-bot screenshot 5

bot sends sms message to owner

corrections-bot screenshot 6

bot sends sms message to owner

corrections-bot screenshot 7