Commit Graph

9 Commits

Author SHA1 Message Date
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 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 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