Commit Graph

346 Commits

Author SHA1 Message Date
Chris Sexton 83b28412a7 Changed random quote functionality to only spit out a quote minutes after somebody (other than the quote timer) has said something. The channels may be a bit buggy, but they don't seem to get stuck or spam, so it should be okayish. 2013-05-06 01:11:48 -04:00
Chris Sexton 684039990d Bumped the version number 2013-05-06 01:11:48 -04:00
Chris Sexton cebe9272e4 Added idea for downtime plugin 2013-05-06 01:11:48 -04:00
Chris Sexton 22fef34db5 Quick formatting fix for searching for factoids 2013-05-06 01:11:48 -04:00
Chris Sexton 63785e7102 Enforced admin right on editing non-personal facts 2013-05-06 01:11:48 -04:00
Chris Sexton fa83472c50 Made changeFact and forgetFact actually do stuff 2013-05-06 01:11:48 -04:00
Chris Sexton 34e6f65b1b Adde some framework for editing and deleting facts 2013-05-06 01:11:47 -04:00
Chris Sexton 24a879285e move id to idx 2013-05-06 01:11:47 -04:00
Chris Sexton 92ddfa3b6f fixing remember for factoid id and operator 2013-05-06 01:11:47 -04:00
Chris Sexton 89072fafb4 Added "what was that?", merged remember and factoid a bit, added fields to factoids, todo: stats on factoids, documentation. 2013-05-06 01:11:47 -04:00
Chris Sexton 0970ee980f Quieting down the console 2013-05-06 01:11:47 -04:00
Chris Sexton 273b41fa3f Fixed 2013-05-06 01:11:47 -04:00
Chris Sexton ac8bc9a145 Added helptext to list variables 2013-05-06 01:11:47 -04:00
Chris Sexton c2bf96f897 Added admin plugin 2013-05-06 01:11:47 -04:00
Chris Sexton b418096bf6 Added dynamic variables (I'm sure this is going to backfire) 2013-05-06 01:11:47 -04:00
Chris Sexton 24e8010efc Added 2013-05-06 01:11:47 -04:00
Chris Sexton 281b910dd6 Added <action> to factiod (or at least action actually working) 2013-05-06 01:11:47 -04:00
Chris Sexton 11ad192d18 Moved tolower for triggers, allowed him to respond to long facts 2013-05-06 01:11:46 -04:00
Chris Sexton 713130bfea bugfixes to factoid as Frank destroys it 2013-05-06 01:11:46 -04:00
Chris Sexton 52c303ccd3 Added factoid help query 2013-05-06 01:11:46 -04:00
Chris Sexton 4b523be57f Made factoid triggers lowercase always 2013-05-06 01:11:46 -04:00
Chris Sexton 53495871e4 Forgot to add factoid.go 2013-05-06 01:11:46 -04:00
Chris Sexton 6f3c817e7f Initial version of factoids seems to work. Probably some bugs to work out. Added
some $vars.
2013-05-06 01:11:46 -04:00
Chris Sexton 94063c3967 Added plugin ordering so that all queries are handled by the correct plugin 2013-05-06 01:11:46 -04:00
Chris Sexton c50a908af5 Added empty factoid plugin 2013-05-06 01:11:46 -04:00
Chris Sexton 58e95fc0b4 Quickfix for Beers vs beers as command words 2013-05-06 01:11:46 -04:00
Chris Sexton 1551463c7f Added short user name complaining 2013-05-06 01:11:46 -04:00
Chris Sexton bc7a2c4847 Added some random sayings for the OCD bit of talker. 2013-05-06 01:11:46 -04:00
Chris Sexton d50cf23522 Forgot an argument to a print statement. 2013-05-06 01:11:45 -04:00
Chris Sexton 3e7f8d4248 Reduced the messages on the console 2013-05-06 01:11:45 -04:00
Chris Sexton 9c721a0f58 Added generic Event handling to plugins, made Talker handle the OCD hivemind 2013-05-06 01:11:45 -04:00
Chris Sexton e4c755faaa Made the bot a bit less verbose (axed some debug printing) 2013-05-06 01:11:45 -04:00
Chris Sexton c8bc3a6034 Added random affirmations for beer drinking 2013-05-06 01:11:45 -04:00
Chris Sexton a71e743e79 Fixed bugs found on initial unveiling in beers and the handler code.
Beers now counts correctly and does not die when it can't find a user. The code
for nonexistant users was bogus and the code for setting beers was not counting
dates.

Handlers were not breaking after finding users (linear scan, ack). This should
probably be switched to a map[string]user type.
2013-05-06 01:11:45 -04:00
Chris Sexton 3953f0a831 Massive improvements to the remember plugin, fixed some help issues, added ACTION parsing. 2013-05-06 01:11:45 -04:00
Chris Sexton 64394b90f9 Added remember plugin to remember quotes from IRC users. This has several
serious flaws:

* Things can be re-remembered. There needs to be safeies on checking for past
  remembered items
* This works across all channels that the bot is enabled in
* This allows users to remember themselves
* Probably something I forgot.
2013-05-06 01:11:45 -04:00
Chris Sexton 31d52248d7 Improved channel handling to allow /QUREY use of the bot 2013-05-06 01:11:45 -04:00
Chris Sexton 5b3784a9ed Fixed error with beers and reporting a particular users' beers 2013-05-06 01:11:45 -04:00
Chris Sexton 9990decfc7 It looks like the beers plugin is faithfully copied over to the new bot
framework. I'm not sure that commands vs non-commands are well represented in
this as compared to the old bot.
2013-05-06 01:11:45 -04:00
Chris Sexton 1dafd3af6e Added a lot more code to the beers plugin. Needs datastore still and some more
of its commands, but the skeleton is there. Added support for commands.
2013-05-06 01:11:44 -04:00
Chris Sexton 59b42b1556 Added a skeleton plugin (and beers based on that) and improved the help function
a bit.
2013-05-06 01:11:44 -04:00
Chris Sexton ad2e0f13e2 Added help command as a general builtin and created some record of the version
we're running. Help text refers to this repository.
2013-05-06 01:11:44 -04:00
Chris Sexton ce798b120a Moved all import paths to the bitbucket location 2013-05-06 01:11:44 -04:00
Chris Sexton f31362fca4 Added the felpsbot talker which exhibits the formatter a little bit. This is a
function that will be used to transform strings that include $variables into
strings that include the original meaning. This eventually needs to be some kind
of configurable thing so that new $vars can be added dynamically, however some
of the $vars are static and need not change.
2013-05-06 01:11:44 -04:00
Chris Sexton e1c841ecae Added mgo dependencies, basis for database access among modules 2013-05-06 01:11:44 -04:00
Chris Sexton 4b9b8fa682 Initial revision of the godeepintir bot. This is a revised version of deepintir,
a python bot which used ii to connect. This version houses its own IRC
connection and therefore is most useful with a bouncer such as ZNC. This initial
version does not exhibit much functionality. It can only show off how plugins
might be written in later versions and currently mimics anything said to it.
There may be bugs, and it will most certainly be altered in signifigant ways
before the API is stable.
2013-05-06 01:11:44 -04:00