Commit Graph

407 Commits

Author SHA1 Message Date
Chris Sexton 83815324bf remind: parse times with a nice date parser 2019-03-09 21:26:11 -05:00
Chris Sexton a2d5d173f9 logging: switch to a logging library 2019-03-07 11:46:59 -05:00
Chris Sexton b1c450da08 cowsay: make messages visible :( 2019-03-07 11:37:56 -05:00
Chris Sexton 300de48c39 cowsay: velour's first slash command 2019-02-21 09:48:48 -05:00
Chris Sexton eea4703129 talker: add cowsay 2019-02-20 16:47:41 -05:00
Robert Uhl 44bf5b43a1
Update Tests 2019-02-20 14:17:45 -05:00
Robert Uhl ec8ce42abb
Add example text for time parse errors 2019-02-20 14:16:55 -05:00
Chris Sexton 6a1cabc2aa beers: fix bad indirection issue 2019-02-15 15:12:09 -05:00
Chris Sexton 47a824e8da remember: fixed something? It works now. 2019-02-15 14:54:14 -05:00
Chris Sexton 32ca0c5bf7 help: fix the help system after I borke it
* Also fix twitch's help registration and message
2019-02-12 12:26:27 -05:00
skkiesel 1842aeba82 A new small tea-ture 2019-02-12 11:03:24 -05:00
Chris Sexton 74efe02c75 twitch: make stream announcements more complicated
And fun. Now they're templates.
2019-02-09 08:32:27 -05:00
Chris Sexton a20839cdd7 bot: Invert RegisterWeb 2019-02-07 11:30:42 -05:00
Chris Sexton 104ff85a0d downtime: remove dead plugin 2019-02-07 11:22:27 -05:00
Chris Sexton 980b079bf3 slackApp: create new connector for an app
* Using a library because I'm lazy.
* Fixed a few noisy things in Twitch and Untappd
* Moved connectors to a common place
2019-02-05 22:52:49 -05:00
Chris Sexton 00d998fc59 beers: be quiet 2019-02-05 21:32:33 -05:00
Chris Sexton c504173022 twitch: check gameID instead of title 2019-02-05 21:13:35 -05:00
Chris Sexton 287c26440e emojify: don't chomp up the rest of the pipeline
added bonus fix
2019-02-05 16:02:00 -05:00
Chris Sexton 5ee5f33e36 tests: refactor for new system 2019-02-05 15:02:15 -05:00
Chris Sexton 90e7b11308 plugins: add callback handler registrations 2019-02-05 14:41:38 -05:00
Chris Sexton 933e514ddd bot: switch plugins to matching instance
instead of string
2019-02-05 13:58:12 -05:00
Chris Sexton 82dcf410f2 bot: hook connectors up to events
This includes a full test of `admin`
2019-02-05 13:42:15 -05:00
Chris Sexton 2e20971dd1 Merge branch 'master' into events
* master:
  twitch: configerize the stream word
2019-02-05 11:41:50 -05:00
Chris Sexton 1f69a653a9 tests: refactor mock to match new interface 2019-02-05 11:37:33 -05:00
Chris Sexton e7c88c0c9c events: refactor
Combining all of the various send/recv functions into one
2019-02-05 10:54:13 -05:00
Chris Sexton 0c93259c55 twitch: configerize the stream word 2019-02-04 22:17:33 -05:00
skkiesel 1726b83438 Limit the listing pain caused by inflicting reminder pain on others 2019-01-27 11:20:36 -10:00
Chris Sexton e161e9fece
Merge pull request #138 from velour/quiet
admin: be quiet
2019-01-25 10:09:44 -05:00
Chris Sexton 17afdda35e admin: be quiet
This will not silence any out of band messages such as Untappd checks,
Twitch notifications, or the startup message.

This will cause catbase not to know anything about the conversation,
which means quoting something during the quiet period is impossible.
Everything during quiet time is off the record.
2019-01-25 10:05:26 -05:00
Chris Sexton adb0eb9f45
emojify: add direct eq 2019-01-22 10:59:08 -05:00
Chris Sexton 2aaf18518a emojify: flipped lt 2019-01-22 10:52:28 -05:00
Chris Sexton 8795d956ff emojify: flipped lt 2019-01-22 10:51:19 -05:00
Chris Sexton aee106b21b emojify: make sure there are spaces around beginning/ending emojy 2019-01-22 10:43:10 -05:00
Chris Sexton 0593b4f164 config: set some defaults 2019-01-21 19:16:57 -05:00
Chris Sexton c07e612941 emojify: woops 2019-01-21 18:30:20 -05:00
Chris Sexton 4d188bdf20 emojify: handle plurals again 2019-01-21 18:05:35 -05:00
Chris Sexton 36320df725 emojify: change THE ALGORITHM 2019-01-21 18:00:51 -05:00
Chris Sexton 7a74ca0059 emojifyme: make it use ractions; add velour emojy 2019-01-21 17:15:46 -05:00
Chris Sexton 9ea1ba68f5 admin: add ability to get/set config values
* Users cannot get/set sensitive values
* Removed example lua config file
2019-01-21 16:26:54 -05:00
Chris Sexton 742c76f562 config: add defaults checking where necessary 2019-01-21 14:24:03 -05:00
Chris Sexton 15168f5db0 config: all tests passing
* Using in-memory but shared DB. ALL TESTS MUST CLEAR RELEVANT TABLES
* Removed problematic reminder test
2019-01-21 12:36:55 -05:00
Chris Sexton a8d0f3fd34 stats: remove unused plugin
config: checkpoint

config: checkpoint all but two tests passing

config: checkpoint all but one test suites pass
2019-01-21 12:36:56 -05:00
Chris Sexton 3a7651d184 fact: add reaction type facts
If a user creates a fact with the verb <react>, catbase will try to
react with the emojy that the user specifies. It filters things with
spaces and fixes colons, but does not check if the emojy actually
exists. There will be no feedback in this case, which should probably
get fixed but meh.

* Updated mock bot to check reactions, and do filtering correctly.
* Added a couple tests of the react functionality.
2019-01-20 12:33:19 -05:00
skkiesel b33eccaaa0 Add pokemon. Extra dune trigger. Actually have a test for each endpoint 2019-01-19 11:06:13 -05:00
Chris Sexton bfe910f4db tests: rm some beers tests, add gok and fix errs 2019-01-19 09:59:53 -05:00
skkiesel 91a334b32b Fixed babbler tests by not running go routines during testing. (go fmt on nerdepedia because of course this should all happen in one commit) 2019-01-19 09:53:41 -05:00
skkiesel 265fe441b4 I'll see your double escaping, and raise you triple unescaping. But seriously, double unescaping. 2019-01-19 09:51:08 -05:00
skkiesel 3aaed538dd LOTR 2019-01-19 09:51:08 -05:00
skkiesel 75dcb47d11 Kids gonna like dune 2019-01-19 09:51:08 -05:00
skkiesel 5dd7df164e This is my public shaming 2019-01-19 09:51:08 -05:00