A slack integration for simple code discussion
/codetalk [github file url] - start the codetalk discussion on that file (required to be run first)
/showline [linenumber, can be in range] - show the snippet from the current file at the specified line
/refer [github file url] [linenumber] - show the snippet from the specified file at the specified line
/find [keyword] - find the lines that contain the keyword
- Deploy to Heroku
- Remember that url
- Go to your slack team's slash commands configuration
- Add 4 commands, each pointing to these url respectively:
- codetalk, [your-deployed-heroku-url]/review
- showline, [your-deployed-heroku-url]/showline
- refer, [your-deployed-heroku-url]/refer
- find, [your-deployed-heroku-url]/search
- Configure other options as you see fit, and you are done!