Rise of the Machines - 1

Exploring Slackbots

- 3 mins

Rise of the Machines

Are bots really the future?

Microsoft made a teenage bot called Tay that ended up tweeting 
racist and offensive messages.

Follow Tay on twitter.

I’ve always wondered about bots and the dark magic behind them and have always wanted to write one, even if the only thing it could do was say “Hello World!”. Apprently, bots are just:

Slack Bots

These days, I spend a lot of time on slack, just after whatsapp and twitter. Apart fro slack being a great place to manage a team or community, the adoption of bots have made that very interesting. Currently I’m in 19 open slack communities. This has been a great way to learn new things, share problems, keep up to date with the technologies I use, meet new people, etc.

Recently, there was a need for me to create and start managing an open community. and i saw this as a perfect chance to venture into buillding bots starting with Slackbots.

Getting started

I won’t be going into technical details, just a summary of how i was able to build my first slack bot and went ahead to build two other useful and real life applicable slack bots, Stackify nd Gitify Slack Bots. I’ll bulletify the summary just because i like the sound of “ify”.

Stackify Slackbot

This slack bot helps you to search Stack Overflow for matching answers to your issues. E.g to search for answers relating to “Broken pipe error” in Java, you would do:

@stackify search null pointer error [java]

How i achieved it:

I self hosted this bot for the community and you can find it here and also deploy it for your community.

Gitify Slackbot

This slack bot helps you to search github for users, repositories, codes, issues, and wikis. E.g to search for anything on me on github:

@gitify search mczlatan

The above will send a json response with links to wikis, users, repos, codes, etc. It can still be optimized to search for just one catergory. How i achieved it:

I self hosted this bot for the community and you can find it here and also deploy it for your community.

Development

Want to contribute? Great! Fork the projects, send in a pull request.

Cheers!!!

Olakanmi Oluwole

Olakanmi Oluwole

Cyber Security and Software Engineering.

comments powered by Disqus
rss facebook twitter github youtube mail spotify lastfm instagram linkedin google google-plus pinterest medium vimeo stackoverflow reddit quora quora