summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/keywords.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-03-08keywords plugin: document some more features in helpGiuseppe Bilotta
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-04-06plugins/keywords: add method that was missing from commit ↵Adam James
7cac523563de6473d2f93fd2d05 ... plugins/keywords: add method that was missing from commit 7cac523563de6473d2f93fd2d053446cde701db1
2008-03-04keywords plugin: add a configurable list of keywords to be ignored when ↵Adam James
listening
2007-11-04keywords plugin: keyword wipe command to remove unforgettable keywordsGiuseppe Bilotta
2007-11-04keywords plugin: simpler forget codeGiuseppe Bilotta
2007-11-04keywords plugin: inform the user when a keyword couldn't be deleted because ↵Giuseppe Bilotta
it wasn't found
2007-11-04keywords plugin: when exporting to factoids, split at ' or 'Giuseppe Bilotta
2007-11-04keywords plugin: export data to flat factoids fileGiuseppe Bilotta
2007-11-03keywords plugin: don't break if forget, tell and/or learn were registered by ↵Giuseppe Bilotta
another plugin (e.g. factoids)
2007-09-12namespaces: move rbot-specific classes and modules from Irc::* to Irc::Bot::*Giuseppe Bilotta
2007-03-22keywords plugin: there is no rescan method for plugins. Remove leftover from ↵Giuseppe Bilotta
when keywords was part of the core
2007-02-16keywords plugin: more fixes to 'reply-on-question' codeGiuseppe Bilotta
2007-02-15New unreplied() method for plugins that want to handle PRIVMSGs unreplied by ↵Giuseppe Bilotta
any other plugin. Use it in the keywords plugin
2007-01-05More keywords fixesGiuseppe Bilotta
2006-11-28Minor keywords fixGiuseppe Bilotta
2006-10-23keyword plugin whitespace cleanup and implement --from option in keyword ↵Giuseppe Bilotta
search when you want more results than the first keyword.search_resuts
2006-10-23Make sure the bot doesn't tell to itselfGiuseppe Bilotta
2006-10-23stupid typo in keywords forgetGiuseppe Bilotta
2006-08-17Restore tell and forget behaviour without 'keyword' before themGiuseppe Bilotta
2006-08-16Minor whitespace cleanupGiuseppe Bilotta
2006-08-16Revert [354]. The plugin name should not be changed between 0.9.10 and ↵Giuseppe Bilotta
0.9.11 to prevent data loss (the db is named after the plugin). Rather, we want to fix the help method
2006-08-05reworked the keywords plugin, it uses a new and less messy syntax nowAlexander Beisig
2006-08-03renamed keywords plugin to fix inconsistency between commands and helpAlexander Beisig
2006-08-03Make keywords.rb into a plugin and sync with 0.9.10Giuseppe Bilotta