summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/fortune.rb
AgeCommit message (Collapse)Author
2009-02-19remove whitespaceRaine Virta
2009-01-08fortune: configurable options for the commandGiuseppe Bilotta
2009-01-08fortune plugin: fix autodetectionGiuseppe Bilotta
An empty String is not false in Ruby, so check for it properly. Also, find_fortune needs a message passed to it, to be used when it discovers the correct path.
2008-06-23Properly find out the available fortune categories.Diego 'Flameeyes' Pettenò
Instead of hardcoding the fortune categories path, ask fortune itself to report which categories you can get the quotes from. This fixes the fortune plugin on Gentoo for instance where the databases are installed in /usr/share/fortune rather than /usr/games/share/fortune.
2007-09-12namespaces: move rbot-specific classes and modules from Irc::* to Irc::Bot::*Giuseppe Bilotta
2007-09-09fortune plugin: add headerGiuseppe Bilotta
2007-09-09fortune plugin: suppress warning and make source more readableGiuseppe Bilotta
2007-09-05Some new fortune features:Chris Gahan
* Nicer merging of the lines into a single line * Ability to list fortune files * /usr/bin/fortune is the first place it looks now Need to fix: * Barfs when one of the potential executable paths is a directory
2007-01-30The path to the fortune executable can now be configured (fortune.path). ↵Giuseppe Bilotta
When empty, the bot will try to autodetect it. If autodetection is successfull, the path found will be stored in fortune.path
2005-07-27rearrange repo for packagingTom Gilbert