bbot/ircbot — pull request #4 by mozai (2012-12-07 22:00:05+00:00)
Title: notifier less noisy, and .hsg better sort

With mspaintadventures.com down today, you're probably getting harassed by the bot. This change should (a) make more useful error messages, and (b) bumps up the delay between checks to at least 5 minutes if the last check was "connection refused".

Also changed the _cmp_thread_freshness() in hsg.py to sort threads that hit the imglimit to the bottom, threads with just a handful of images ("so I just started reading homestuck...") to the bottom, and to use the 'time' property of the last post (which was right there in the 0.json file all this time) as the thread's "age". To diagnose the thread-sorting, whisper '.hsg.all' to the bot to get a sorted list of all matching threads.