kasunbot is a slackbot created as a learning exercise to familiarise myself with node, and also as a parting memory from my time at General Assembly. kasunbot responds to certain words with one-liners I'd collected during our time as his students
kasunbot was developed in
- OS X El Capitan v 10.11.6
- node 6.9.1
- botkit 0.4.9
- lodash 4.17.4
To use this bot, download this repo and run
npm install. You will need to create a bot user in the slack channel you wish to add him to, then include your slack token as an environment variable and run
Alternatively, the bot is currently hosted on heroku. You can generate an invite to the slack channel he lives in if you'd like to chat to him.
kasunbot is my first slack project and also my first project in Node. The botkit library and the simplicity of the bot responses meant that this wasn't a technically difficult project.
When I have time, there's a few more responses I'd like to add, as well as a slash command suggesting some of the words that the bot responds to.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.