Commit Graph

40 Commits

Author SHA1 Message Date
Chris Sexton 0eaadee120 Remove the beers table 2016-03-19 15:05:15 -04:00
Chris Sexton 6938efc430 Fix #19: Merge beers and counters 2016-03-19 14:27:02 -04:00
Chris Sexton ae5d7dec2e Migrate to sqlx; modularize counters 2016-03-19 14:02:46 -04:00
Chris Sexton df0fee0237 Fix untappd integration 2016-03-11 12:52:28 -05:00
Chris Sexton d261fcc406 AlePale -> Catbase => velour 2016-01-17 13:00:44 -05:00
Chris Sexton b345506e7f Fix beer plugin bugs 2016-01-15 09:44:22 -05:00
Chris Sexton 1efa7ebcd4 Initial mongo->sqlite move
Tons of bugs, I'm sure. This commit  mostly gets the bot moving towards
SQLite. It builds, but many plugins have a log.Fatal to prevent their
use and it has not been tested.
2016-01-15 08:17:26 -05:00
Chris Sexton 04839d5d2e Hopefully fixs #54. Use HTTPS 2014-04-20 15:24:45 -04:00
Chris Sexton 7f093b003e Added AUTHORS file and info in all files.
Thanks to https://github.com/eaburns/license
2013-12-10 18:37:07 -05:00
Chris Sexton 374ea3fc7f Removing some noisy debug output 2013-09-02 22:29:00 -04:00
Chris Sexton 90b86aaf7d Removing an extra log entry 2013-08-31 23:34:23 -04:00
Chris Sexton 1a41358d64 Activate beers only for certain channels (exclude control channel) 2013-08-31 22:24:46 -04:00
Chris Sexton b97886fdde Finishing a few things, still need to clean it up 2013-08-31 15:58:15 -04:00
Chris Sexton 3a45156b9d Small fix to stop flooding 2013-08-31 00:24:55 -04:00
Chris Sexton 549ebc5f4e Moving untappd to check stream instead of user checkins 2013-08-31 00:11:54 -04:00
Chris Sexton 276cc3e2fe Fixes #8
This may have some bugs. It's a bit impossible to test as my only Untappd info
is used up on the live bot. #YOLO!
2013-06-16 11:53:32 -04:00
Chris Sexton edd941fe46 Initial (ugly) web interface 2013-06-01 13:10:33 -04:00
Chris Sexton 42c934f091 Fixes #10: Bot can quote and count himself 2013-05-07 20:08:18 -04:00
Chris Sexton d87f7779ab Renaming project to reflect bot's actual name. 2013-05-06 01:11:54 -04:00
Chris Sexton ea60a899c7 Converting imports to github, added license & full readme 2013-05-06 01:11:54 -04:00
Chris Sexton 8ffac9291b Whoops, we want nicks not users 2013-05-06 01:11:50 -04:00
Chris Sexton 015a4018fe Added a beers-- action 2013-05-06 01:11:49 -04:00
Chris Sexton 1099b66492 Fuck Untappd and their representation of empty items in JSON. Just don't include
the fucking field if you don't have data for it!
2013-05-06 01:11:49 -04:00
Chris Sexton 57138b507c Introduced a bug in merge, nick vs user: nick 2013-05-06 01:11:49 -04:00
Chris Sexton acdd5d7403 added 'bourbon counter', heh 2013-05-06 01:11:49 -04:00
Chris Sexton c8f999ac9d Added commetn to untappd checkin 2013-05-06 01:11:48 -04:00
Chris Sexton a05252a2b0 Moved sleep back to the beginning of the for so that he wouldn't spit beers out too quickly on start 2013-05-06 01:11:48 -04:00
Chris Sexton 62bef551a6 Fixed offset checking (broken on Untappd's end 2013-05-06 01:11:48 -04:00
Chris Sexton 1f88ffdea3 Added untappd support 2013-05-06 01:11:48 -04:00
Chris Sexton 0970ee980f Quieting down the console 2013-05-06 01:11:47 -04:00
Chris Sexton 58e95fc0b4 Quickfix for Beers vs beers as command words 2013-05-06 01:11:46 -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 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