Commit Graph

362 Commits

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