About A Bot

screen-shot-2016-10-25-at-12-31-49-pm

The Timebot is finished.


Subtle, But Important

The amount of work to get this,screen-shot-2016-10-05-at-4-00-21-pm

instead of this,

screen-shot-2016-10-05-at-4-01-58-pm

is the difference between a two week vacation and two weeks of research.


Helper function(s)

Writing the Slackbot, which communicates via text messages so there are plenty of places where there are numerals being referred to in text form, which means there are often cases where a word is either singular or plural, depending on whether it’s referring to one of something or more than one of something.


Botkit and Regular Expressions

Regex has never been my favorite part of writing code. I get that some people geek out on it and bless their hearts. For me, it’s an annoyance that is best left abstracted out of my daily coding experience. Thankfully, I am not alone. There are plenty of sites and programs that generate regular expression sequences for all your pattern matching needs.


Bot Engineering

Howdy makes a cool botkit that lets people write their own bots for Slack. Also Facebook, but meh.

In JavaScript, of all things, using node.js which makes the whole thing pretty accessible. Node.js lets you write JavaScripts that you can execute from a command line or a text file. You can then do things like create a web server or build Skynet.