summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/lart.rb
AgeCommit message (Collapse)Author
2009-05-21multiple plugins: Changes to remove parenthesize warnings.David Gadling
All of these modules/plugins were generating warnings like this: warning: parenthesize argument(s) for future version This patch should fix all the warnings without affecting functionality.
2009-02-15+ @bot.path and datafile methodsGiuseppe Bilotta
We provide two methods that make it more simple and elegant for botmodules to define paths relative to the bot's own directory (botclass) and to the BotModule's (assumed) non-registry directory. The first method is Irc::Bot#path(), which joins its arguments with the botclass. This method can be used to access datafiles in the bot directory with a much cleaner syntax; and since it uses File.join, the resulting paths are also properly formatted on each platform, which doesn't hurt. Each BotModule now also carries a dirname() method that should return the directory under botclass that holds the BotModule's datafiles. dirname() defaults to the BotModule's name(), but it can be overridden, e.g. for backwards compatibility (see the patch for the quotes plugin), or for BotModules that share their datafiles. Datafiles can be accessed using the BotModule#datafile() method that joins the botclass, the dirname() and whatever other argument is passed.
2008-02-14lart plugin: replace "me" with sourcenickjesse keys
2007-11-07lart plugin: fix listlart/praise logicGiuseppe Bilotta
2007-11-01lart plugin: listlart and listpraise commandsGiuseppe Bilotta
2007-08-28lart plugin: ensure that the lart/praise being added/removed is a stringGiuseppe Bilotta
2007-02-18Plugin header boilerplating.Giuseppe Bilotta
New plugin.header file provided, to be used as model for the header of new plugins. Many existing plugins have been adjusted to provide the same info the same way. I might have misplaced some information, so please let me know if this is the case. Also augmented a couple of copyright notices to include the 'rbot development team' alongside Tom Gilbert.
2007-02-14lart pluing: use plugin.map instead of plugin.registerGiuseppe Bilotta
2007-01-23More lart plugins cleanupGiuseppe Bilotta
2007-01-23Oops, forgot to reset @changed after save in salutGiuseppe Bilotta
2006-10-27Try to read old language-agnostic lart/praises if language-specific ones are ↵Giuseppe Bilotta
not found
2006-10-15Use the new Utils.safe_save to save quotefiles and larts/praises. Also adapt ↵Giuseppe Bilotta
quotes plugin to the new Irc framework
2006-10-15Make the lart plugin use language-specific lart/praisesGiuseppe Bilotta
2006-07-20Fix #57Giuseppe Bilotta
2006-07-20Clean up logging from the pluginsGiuseppe Bilotta
2005-09-16fix help text, ticket #36Tom Gilbert
2005-08-10AUTHORS update.Tom Gilbert
Added two plugins from Robin Kearney <robin@riviera.org.uk>
2005-07-27rearrange repo for packagingTom Gilbert