-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add driver for slack bot #105
base: master
Are you sure you want to change the base?
Conversation
@tuxpiper @Angamanga is this what is expected? I am sorry I took so much time because my bot was not responding to messages and so when I tried to debug the slack driver I noticed it needed a bot permission |
This looks pretty good for a start @helen-ndip ! The next important thing is to plug in the platform functionality via a controller, because the intention of this repository is to allow the reporters to fill surveys through the implemented drivers (only USSD and Africa's Talking so far). So ideally, once we have added a facebook driver, users should be able to fill surveys via facebook messenger. Please see the source code of the Africa's Talking USSD controller here for reference : https://github.com/ushahidi/ussd-engine/blob/master/app/Http/Controllers/AfricasTalkingController.php |
Thanks for the feedback. I will take on this next. |
@helen-ndip , wanted to check with you.. what is the status of the PR? is this PR complete or WIP or..? |
I have not added that part yet. Hopefully after our meeting on of the survey conversation implementation with Africa talking I will be more comfortable implementing this. |
Added and tested slack driver by creating a slack bot.
Create a slack bot using the SLACK API and add the bot token to the
.env
file.sample output