summaryrefslogtreecommitdiff
path: root/data/rbot
AgeCommit message (Collapse)Author
2009-03-03markov: ensure messages are cleaned before learning and replying.Spencer Rinehart
Lines that began with or ended with spaces were breaking the learning thread. The call to clean_str was moved down into learn_line (and random_markov) so that all messages, including those being learned from files, get cleaned.
2009-03-01markov: v2 storageGiuseppe Bilotta
Store chains as hashes mapping symbols to weights (and their totals)
2009-02-28markov: refactor triplet learningGiuseppe Bilotta
2009-02-28markov: refactor word pickingGiuseppe Bilotta
2009-02-28rss plugin: upper limit for watched feedsGiuseppe Bilotta
Config option to set the maximum number of items that will be announced when a feed updates. 0 means all of them, anything else clips the list to the latest ones, and also announces that some of the updates will not be listed.
2009-02-27hangman: fix score fetching to work for offline users.Spencer Rinehart
m.server.get_user doesn't work for offline users so use what was given instead.
2009-02-26finnish localization for basic expressionsRaine Virta
2009-02-26lastfm: add venue commandRaine Virta
2009-02-26lastfm: find events by venueRaine Virta
2009-02-26lastfm: add method for searching venuesRaine Virta
2009-02-26lastfm: show link to the user's profile in np actionRaine Virta
2009-02-26lastfm: group same tracks in recent tracksRaine Virta
2009-02-26lastfm: add missing 'sRaine Virta
2009-02-26markov: add config option for delay in learning threadRaine Virta
2009-02-26markov: organize helpRaine Virta
2009-02-26markov: add command for learning from filesRaine Virta
2009-02-26search: add command 'lucky'Raine Virta
Sometimes you just wish to google the first hit and have a clutter free output showing only the url.
2009-02-26seen: add part message if anyRaine Virta
2009-02-26seen: add double quotes around user written messagesRaine Virta
2009-02-26seen: show what user said or did before leavingRaine Virta
2009-02-26seen: cyclically store two of the users' latest actions in the registryRaine Virta
2009-02-26markov: enable gettext for more repliesRaine Virta
2009-02-25uno: Mark all uno commands replied.Spencer Rinehart
2009-02-25markov: Only work with unreplied messages.Spencer Rinehart
2009-02-25lastfm: catch all errors when connectingGiuseppe Bilotta
Since httputil.get_response() can raise exceptions, catch them into an appropriate block. Turn a missing response body into a runtime error to handle this error conditions consistently with other exceptions.
2009-02-23seen: If nick doesn't match exactly, fallback to a regexp search (#19).Spencer Rinehart
2009-02-23url: Only reply with disabled host message when url info directly requested.Spencer Rinehart
2009-02-22markov: try harder when generating stringsGiuseppe Bilotta
generate_strings() is now able to work with a single word. Additionally, when the given lookup is not found in the database, it will try lookups that start, and failing that include, the given one.
2009-02-22markov: learn vs learn_lineGiuseppe Bilotta
Make learn a higher-level function that queues one or more lines, and make learn_line the low-level database access method.
2009-02-19remove whitespaceRaine Virta
2009-02-19lastfm: require num parameter for lastfm action to be an integerRaine Virta
2009-02-19lastfm: make "tracks" optional in mappings for lovedtracks and recenttracksRaine Virta
2009-02-19lastfm: fix misplaced parenthesis in outputRaine Virta
2009-02-19lastfm: update helpRaine Virta
2009-02-19googlefight pluginRaine Virta
2009-02-17translator: fix BabelfishTranslatorRaine Virta
2009-02-17translator: fix NiftyTranslatorRaine Virta
2009-02-17translator: use *_with(:attribute => value) syntax to find elementsRaine Virta
The way objects are currently searched inside Mechanize objects is deprecated in WWW::Mechanize version 0.9.0, so we switch to the preferred syntax.
2009-02-17translator: update GoogleTranslator for changes in their web interfaceRaine Virta
2009-02-17last.fm plugin: list top tags and similar artists in artist infoRaine Virta
2009-02-16factoids: 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-16lastfm: put URL in artist summaryGiuseppe Bilotta
2009-02-16lastfm: say something when user top/weekly chart is emptyGiuseppe Bilotta
2009-02-16lastfm: limits to user data outputGiuseppe Bilotta
Define configuration keys for maximum and default number of user data items output, with a separate value for shouts (which are usually much more verbose and therefore would have a much lower maximum and default). Each command also allow the specification of the number of entries actually output (different than the default, clipped at the configured maximum. This way user data has the same rate limiting as events. Internally, the switches for the user data are also made more uniform to select, where it makes sense, different sentences depending on how many entries are being displayed (none, all, some).
2009-02-16last.fm plugin: rewrote the user-related info retrieval action to API 2.0Raine Virta
2009-02-16last.fm plugin: removed year from event datesRaine Virta
2009-02-16last.fm plugin: list common artists in taste comparisonRaine Virta
2009-02-15dictclient: put the Ruby/DICT URL in the LoadError messageGiuseppe Bilotta
This should help people find the right package.
2009-02-15lastfm plugin: show something when no events are foundGiuseppe 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.