Skip to content

parses your intra page and sends a slack notification (and/or sms) when you have a correction

Notifications You must be signed in to change notification settings

asarandi/42-corrections-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages