Topic

An IRC Connection: Implementation and Bot
By: Aaron Brady
Date: May 8, 2014, 7:50 a.m.

IRC is a protocol for text exchanges with multiple recipients with publish/subscribe capabilities. A basic program that interacts with an IRC server is easy to make, but becomes more difficult with additional functionality. The task involves a few domains: sockets, parsing, and a multi-way mapping object for the state. We take a look at 4 custom modules to get it done: Multi-connection dispatch, Raw to dict, Connection model, and Relation; plus one for "main" for the bot itself.