Skip to main content
Steven Merrill

Tagged “node.js”

  1. Dude, Where's My Bot?

    Say what you will about node.js, but it is certainly an easy way to build IRC bots with the Jerk library.

    The PHP-based bot that runs in the Treehouse Agency IRC channels knows to respond to "Sweet!" with "Dude!" and vice versa. Brian McMurray said that he'd like to someday write a quick-and-dirty bot that would put our other bot into an infinite loop.

    I accepted that challenge, and 10 minutes later, the bot was done.

    The code is an example of how to build a bot that accepts environmental variables for configuration and otherwise does a pretty silly task.

See all tags.