Commit Graph

644 Commits

Author SHA1 Message Date
Chris Sexton 36320df725 emojify: change THE ALGORITHM 2019-01-21 18:00:51 -05:00
Chris Sexton 332dbc6e37
Merge pull request #133 from velour/emojifyreact
emojifyme: make it use ractions; add velour emojy
2019-01-21 17:19:00 -05:00
Chris Sexton 7a74ca0059 emojifyme: make it use ractions; add velour emojy 2019-01-21 17:15:46 -05:00
Chris Sexton dbc3b3646b
Merge pull request #132 from velour/configadmin
admin: add ability to get/set config values
2019-01-21 16:30:19 -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 396d3acec6
Merge pull request #131 from velour/configurator
Configurator
2019-01-21 15:14:45 -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 0739ad00c4
Merge pull request #130 from velour/react
fact: add reaction type facts
2019-01-20 12:43:22 -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
Scott Kiesel 0d730ee08a
Merge pull request #129 from velour/nerdepeida
Add pokemon. Extra dune trigger. Actually have a test for each endpoint
2019-01-19 11:09:02 -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 13c6897a0a
Merge pull request #127 from velour/testcleanup
Testcleanup
2019-01-19 10:15:10 -05:00
Chris Sexton 69f02ed077 travis: turn modules on 2019-01-19 10:08:26 -05:00
Chris Sexton 7a5cfcbe44 travis: check some new settings out 2019-01-19 10:01:51 -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
Scott Kiesel 31afe9b188
Merge pull request #126 from velour/nerdepeida
I'll see your double escaping, and raise you triple unescaping.
2019-01-19 09:03:39 -05:00
skkiesel 57f8470dcb I'll see your double escaping, and raise you triple unescaping. But seriously, double unescaping. 2019-01-19 09:02:50 -05:00
Scott Kiesel 32dd346372
Merge pull request #125 from velour/nerdepeida
LOTR
2019-01-19 08:56:20 -05:00
skkiesel 29af299074 LOTR 2019-01-19 08:55:47 -05:00
Scott Kiesel 76c93ded5b
Merge pull request #124 from velour/nerdepeida
Kids gonna like dune
2019-01-19 08:45:40 -05:00
skkiesel 81d636bb86 Kids gonna like dune 2019-01-19 08:45:14 -05:00
Scott Kiesel c1a56f7e0e
Merge pull request #123 from velour/nerdepeida
This is my public shaming
2019-01-19 08:41:06 -05:00
skkiesel fd24406580 This is my public shaming 2019-01-19 08:38:19 -05:00
Scott Kiesel f2b039d509
Merge pull request #122 from velour/nerdepeida
Don't panic. Unescape description. Add link. Remove 'make it so'
2019-01-19 08:35:12 -05:00
Scott Kiesel 21174dc9cb
Merge branch 'master' into nerdepeida 2019-01-19 08:34:13 -05:00
skkiesel cf6e2a9c1c Don't panic. Unescape description. Add link. Remove 'make it so' 2019-01-19 08:27:24 -05:00
skkiesel 0663c85b98 Up your nerd game, nerd. 2019-01-18 19:57:17 -05:00
skkiesel 6e39e6ec2b Up your nerd game, nerd. 2019-01-18 19:48:12 -05:00
Chris Sexton bbe0cdd28e bot: add icon and name to slack messages 2019-01-11 19:58:17 -05:00
Chris Sexton 5d9541ab3d test again 2018-12-29 20:31:45 -05:00
Chris Sexton 2713884585 test 2018-12-29 20:14:15 -05:00
Chris Sexton fd5f1366c3 travis: new travis settings 2018-12-29 19:23:23 -05:00
Chris Sexton 73dc6f047d twitch: streaming 2018-12-26 23:23:22 -05:00
Chris Sexton 13439a436f Add go module support 2018-12-24 22:19:19 -05:00
Chris Sexton d63b33eacf Fix goroutine err 2018-12-24 22:18:47 -05:00
Chris Sexton a4d34fc117 leftpad: update dependency 2018-12-07 08:34:25 -05:00
cws 8484ffb0e4 remove the shitty gopkg shit 2018-12-07 08:23:02 -05:00
Chris Sexton 66fa219f78 babbler: make recording new babbles _fast_
This is a hack. I am just pushing the processing off into a goroutine so
that we can return as quickly as possible from a non-event as far as the
bot's interaction with users is concerned. This is potentially harmful
if we have too many goroutines blocked writing babblers (hopefully
    sqlite is configured to be thread-safe). But if we have a bunch of
    babblers writing off to disk, it's no worse than blocking for each
    one sequentially, I guess.
2018-11-08 18:06:11 -05:00
Chris Sexton 68cb50a117 util: add some utils I had sitting around 2018-10-26 15:57:28 -04:00
Chris Sexton 4fed267911 reminder: you for real this time 2018-10-26 13:38:49 -04:00
Chris Sexton 4644f1893c reminder: accidentally a you 2018-10-26 13:31:07 -04:00
Chris Sexton 2ffbc6fb93 reminder: change the confirmation of remind me 2018-10-26 11:02:51 -04:00
Chris Sexton 03f979bde4 twitch: make things spooky 2018-10-22 16:19:03 -04:00