Commit Graph

519 Commits

Author SHA1 Message Date
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 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
Chris Sexton 73f019a14a counter: change from Tea. Earl Grey. Hot. to all
Now we can say any valid counter with two more sentences and get the
Picard-alike results with counter.
2018-10-19 14:23:08 -04:00
Geoffrey Mitchell 379a7b7667
Merge pull request #113 from velour/pickin-on-msherms
How long until he notices?
2018-10-08 07:37:57 -04:00
skkiesel a9ba3135fb How long until he notices? 2018-10-07 18:54:24 -04:00
Chris Sexton 8d729f5d42 counter: make tea counter less strict 2018-10-07 08:48:13 -04:00
Chris Sexton b1a4fd2050 merge a spaced out count into one in the case of an emojy or anything with a space really 2018-09-27 22:48:11 -04:00
Steve McCoy 96a887917a Proper handling of the default pick quantity 2018-09-01 18:27:40 -04:00
Chris Sexton ce91370313
Merge pull request #109 from mccoyst/pick-a-choose
Get *slightly* serious and fix the rest of the bugs
2018-08-30 16:14:35 -04:00
Steve McCoy cafc31cfe6 Don't send the message along after a failed parse 2018-08-30 16:11:32 -04:00
Steve McCoy aa7a09937c Get *slightly* serious and fix the rest of the bugs 2018-08-30 16:05:03 -04:00
Chris Sexton 0956fd6044
Merge pull request #108 from mccoyst/pick-a-choose
Pick a choose
2018-08-30 14:34:13 -04:00
Steve McCoy fa7ed79ff6
"A" "better" "fix" 2018-08-30 14:23:19 -04:00
Steve McCoy 4cf4308ef8
Fix hilarious cat-astrophy 2018-08-30 14:20:44 -04:00
Chris Sexton 5f0b0fc3c8
Merge pull request #107 from mccoyst/pick-a-choose
I had parsing on the brain, I swear
2018-08-30 14:16:43 -04:00
Steve McCoy 254d723ecf
I had parsing on the brain, I swear 2018-08-30 14:14:52 -04:00
Chris Sexton f8dc9aa2b0
Merge pull request #106 from mccoyst/pick-a-choose
Better parsing and error-handling and output?
2018-08-30 14:09:25 -04:00
Steve McCoy 197d6861de
Missing! 2018-08-30 14:04:36 -04:00
Steve McCoy 4886cd6b9d Use literal strings for these regexps 2018-08-30 13:51:24 -04:00
Steve McCoy 80d44a144d I will not test this 2018-08-30 13:49:51 -04:00
Chris Sexton ae3750fa2a Merge branch 'ping'
* ping:
  Add a ping/pong message to slack.
2018-08-28 17:01:44 -04:00
Chris Sexton d2936961b6
Merge pull request #105 from mccoyst/pick-a-choose
This is scanf
2018-08-28 15:45:41 -04:00
Steve McCoy 807e235489
This is scanf 2018-08-28 15:43:12 -04:00
Chris Sexton 44b32819e9
Merge pull request #104 from mccoyst/pick-a-choose
I did only as catbase commanded, and made it worse
2018-08-28 15:09:15 -04:00
Steve McCoy 9d68d4bf21 I did only as catbase commanded, and made it worse 2018-08-28 15:03:54 -04:00
Chris Sexton e15122cfe9 bot: refactor all rand seeds into main.go 2018-07-23 13:00:19 -04:00
Chris Sexton ae4e28c5be Add a ping/pong message to slack.
There was an error with buffers ending in \x00 unmarshaling the message when it was short:
{"type": "pong"}

My solution was to just include a timestamp to make the message large enough to fill the
initial buffer size. Perfect.
2018-06-27 08:41:23 -04:00