StatsBot: A communal IRC statistics bot

The Statistics bot in action

Those familiar with IRC have probably seen Rizon’s Stats bot in action. That bot will join a channel if commanded to do so by the channel founder and generate statistics using pisg.

StatsBot is similar to Rizon’s Stats, except I wrote it in only 143 lines of code and joins a channel if /invited by an op. It logs stats about the channel in energymech format and uses pisg to generate channel statistics. The bot is live on Snoonet under the nick “Statistics”, and it generates stats every twenty minutes.

Source code on GitHub
Example of generated stats for #reddit


This blog uses Disqus for comments. To protect the privacy of visitors, comments are only loaded if you click the button below.