Open hezus opened 8 years ago
the bot shows the vacancy title as well as the URL linking to it.
To listen for new vacancies we integrated a listening function that is called every time the bot is given a command. We found that if we want the bot to listen for changes all the time we need to upgrade our Heroku account.
Everytime a user enters a command the bot will check if the vacancy list has been updated on recruitee. If the list has been updated the user will see a msg 'vacancy list has been updated' so the user can do ./refbot list to fetch the new updated vacancy list inside the channel. In our local environoment the bot can check and post but in order for the bot to do this on the live version we need another heroku dyno.
If a vacancy was posted in recruitee, the refer bot DM's all employees with a message (if you know someone for the vacancy)