Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-04-23 | plugin(factoids): use registry for storage see #42 | Matthias Hecker | |
2011-01-12 | Ruby 1.9 cleanup: variables warnings | Giuseppe Bilotta | |
Fix most ruby 1.9 warnings about shadowed variables (still one remaining in keywords.rb). The only significant changes are in the quiz game plugin. Also fix an issue in dictclient where the block parameter of a method was not correctly isolated from the previous parameter. | |||
2010-07-10 | factoids plugin: more help | Giuseppe Bilotta | |
2009-05-22 | factoids: fix error message when no fact is found | Giuseppe Bilotta | |
When the search is called as 'facts search' the 'words' parameter is not defined, so customize the message depending on wether we have that or 'rx'. | |||
2009-03-24 | factoids: fix 'facts search' | Giuseppe Bilotta | |
2009-02-16 | factoids: pass proper parameter from unreplied() | Giuseppe Bilotta | |
When passing on the Array of split words from unreplied() to facts() make sure that the passed argument behaves like an Array/String from the MessageMapper. | |||
2009-02-15 | + @bot.path and datafile methods | Giuseppe 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-03-27 | factoids plugin: fix regexp for words such as jsn- | Giuseppe Bilotta | |
2008-02-17 | factoids plugin: split correctly when displaying facts | Giuseppe Bilotta | |
2008-02-13 | factoids plugin: factoids.not_triggers to prevent common words from becoming ↵ | Giuseppe Bilotta | |
triggers | |||
2008-02-13 | factoids plugin: be silent when learning factoids from chat, with option to ↵ | Giuseppe Bilotta | |
provide feedback | |||
2008-02-13 | factoids plugin: actually learn new keywords when learning new factoids | Giuseppe Bilotta | |
2008-02-13 | factoids plugin: draft 'listen and learn' process | Giuseppe Bilotta | |
2008-02-13 | factoids plugin: don't be too verbose when learning facts | Giuseppe Bilotta | |
2008-02-13 | factoids plugin: add have and do in trigger_pattern | Giuseppe Bilotta | |
2008-02-13 | factoids plugin: short_fact() auxiliary (no metadata) | Giuseppe Bilotta | |
2008-02-12 | factoids plugin: options to facts() method may be nil, not just empty | Giuseppe Bilotta | |
2007-12-24 | factoids plugin: split facts output at the -- joiner | Giuseppe Bilotta | |
2007-12-24 | factoids plugin: 'facts about' searches whole words, 'facts search' uses ↵ | Giuseppe Bilotta | |
regular expressions, keyword-style '?' queries act like 'facts about' | |||
2007-11-21 | factoids plugin: config value for number of search results | Giuseppe Bilotta | |
2007-11-21 | factoids plugin: an empty trigger_pattern list means any word is a keyword | Giuseppe Bilotta | |
2007-11-21 | factoids plugin: config option to reply to queries only when addressed | Giuseppe Bilotta | |
2007-11-21 | factoids plugin: reply when queries match a trigger | Giuseppe Bilotta | |
2007-11-21 | factoids plugin: scan factoids for query triggers | Giuseppe Bilotta | |
2007-11-05 | factoids plugin: echo the newly learned fact | Giuseppe Bilotta | |
2007-11-05 | factoids plugin: tell the user the index of the fact when refusing to learn ↵ | Giuseppe Bilotta | |
something we know already | |||
2007-11-04 | factoids plugin: no need to prepend 'learnt' to metadata | Giuseppe Bilotta | |
2007-11-04 | factoids plugin: actually output metadata in long form of Factoid#to_s | Giuseppe Bilotta | |
2007-11-04 | factoids plugin: command to forget a fact by index rather than text | Giuseppe Bilotta | |
2007-11-04 | factoids plugin: display (selected, random) multiple facts in a single line, ↵ | Giuseppe Bilotta | |
but in long form | |||
2007-11-04 | factoids plugin: move meta display into Factoid#to_s | Giuseppe Bilotta | |
2007-11-04 | factoids plugin: display multiple facts one per line, but only a limited ↵ | Giuseppe Bilotta | |
number of them | |||
2007-11-04 | factoids plugin: mark factoids as changed after factfile import | Giuseppe Bilotta | |
2007-11-04 | factoids plugin: factfile import | Giuseppe Bilotta | |
2007-11-04 | factoids plugin: ensure that edited metadata is properly saved, and check ↵ | Giuseppe Bilotta | |
for parseable dates | |||
2007-11-04 | factoids plugin: fact metadata editing | Giuseppe Bilotta | |
2007-11-04 | factoids plugin: output fact numbers prefixed by a pound sign (#), and ↵ | Giuseppe Bilotta | |
accept it in index parameter | |||
2007-11-04 | factoids plugin: tell fact metadata, if present | Giuseppe Bilotta | |
2007-11-04 | factoids plugin: retrieve fact by index | Giuseppe Bilotta | |
2007-11-04 | factoids plugin: default auth_path for fact editing | Giuseppe Bilotta | |
2007-11-04 | factoids plugin: fact command (get a random fact). Remove fact command from ↵ | Giuseppe Bilotta | |
chucknorris plugin | |||
2007-11-04 | factoids plugin: Factoid and FactoidList classes | Giuseppe Bilotta | |
2007-11-03 | factoids plugin | Giuseppe Bilotta | |