Mrgiggles
Mr. Giggles
mrgiggles is an IRC bot originally created for monitoring and reporting on the results of a static analysis for GC (garbage collection) rooting hazards. It has grown beyond this original purpose, as such things often do.
Usage
For now, just ask him.
/msg mrgiggles help
Source
The source code may be found at https://bitbucket.org/sfink/mrgiggles
Note that you will almost certainly want a mrgiggles_config.py file. (I'm not sure if it still works without one, but probably not.) Not so basic example:
config = {
'nick': 'drchuckles',
'server': "irc.mozilla.org",
'port': 6667,
'password': "...",
'bitly_token': 'e4718deadbeefdeadbeef2422078f51d2cc41a4c',
'poll-interval': 10, # Seconds
'debug-channel': '#my-debug-channel',
'report-channels': [ '#my-debug-channel', '#mychannel' ],
'nondebug-channels': [ '#mychannel', '#theirchannel' ],
'var-path': "/home/tweety/var/{nick}",
'plugins': {
'treewatch': { 'class': 'TreeWatchPlugin',
'poll-interval': 180 },
'mqext': { 'class': 'MQExtPlugin' },
'pulse': {
'class': 'PulsePlugin',
'server': 'pulse.mozilla.org',
'port': 5672,
'user': 'mrgiggles',
'password': '...',
'exchanges': {
'build': 'exchange/build',
},
'queues': {
'build': 'queue/{user}/builds',
},
},
'pun': { 'class': 'PunPlugin' },
}
}