IRC bot wishlist

From Bob's Basement

Jump to: navigation, search

Contents

Subversion commit notifications

Subversion runs a script called post-commit in the hooks directory of the SVN repository. This can call a PERL script to gather information about the commit and feed it into the TCP socket on the bot.

Wiki stats

Select wiki stats from the MySQL database. More info on this can be found on the Asterisk_wishlist page.

Remind group about things

I'm thinking about making this user definable, with the user able to select the type and frequency of reminders. I'm thinking of the following reminders:

  • Email
  • IRC message
  • Txt message
  • VoIP phone call
  • PSTN call?

I think it could be done via a web and IRC control panel.

Implimentation

Email

Not sure of the best way to set this up. Maybe an at or cron job?

IRC

This can be scheduled in with the bot.

Txt messages

Can be sent via the BB Clickatel account. Again via at or cron or maybe we could write a sender daemon?

VoIP

This could be done via an Asterisk .call file

PSTN

This could be again done via an Asterisk .call file using a VoIP > PSTN gateway

Basic directory

News headlines

This can be done fairly easilly in the same way to !weather and !breaking news only the BBC decided to make the whole line on a single line!

The Beeb has finally fixed this but I've also worked out how to use the XML parser. The current though it working out how to sort the headlines by date posted and pick the top 5.

Help system

Poke

Poke someone via txt message.

Subnet calculator

Info on subnets (network number, broadcast, number of IPs, etc.

State saving

When the IRC bot quits, it looses all variables that store information such as the reminders, tell information and other such things. The idea is to have the bot write these out to file and read them back in when the bot starts again.

  • Reminder
  • Stats
  • Tell
  • Seen

Wiki update notifications

This can be done using a wiki hook to run a script to notify the bot via TCP.

I could also be done using the UDP notify feature of MediaWiki or by polling the recent changes XML feed.

Personal tools