Commit Graph

546 Commits

Author SHA1 Message Date
Chris Sexton 408794fe58 newsbid: improve display of news items 2019-12-22 08:07:02 -05:00
Chris Sexton 7b8f37d67d wip 2019-12-22 08:07:02 -05:00
Chris Sexton b3f3e09d89 hn: remove more scrapes 2019-12-22 08:07:02 -05:00
Chris Sexton af9fc12038 hn: use api 2019-12-22 08:07:02 -05:00
Chris Sexton 958a454271 aoc: add link to leaderboard 2019-12-07 21:46:08 -05:00
Chris Sexton 95cbada51d aoc: filter for users that have stars 2019-12-03 10:14:52 -05:00
Chris Sexton 4c69cefa39 aoc: add plugin 2019-11-30 23:59:52 -05:00
Chris Sexton 72da1d3c78 git: order gitea commits 2019-11-29 11:10:59 -05:00
Chris Sexton 6e66498d25 git: add filter for branches on github 2019-11-26 17:53:11 -05:00
Chris Sexton b2136c1b41 counter:add unicde filter to getItem 2019-11-25 14:31:54 -05:00
Chris Sexton 3ad86f2308 pick: fix broken pick
* simplified picking regex
* added test case for previously broken message
2019-11-22 11:55:58 -05:00
Chris Sexton 905da629b9 bids: get a vote:comment ratio for scoring
* Ratio defaults to 1.0 on error
* Ratio bonus if a 0 comment article wins
* Remove buggy tests
* Add example scraping util for debugging
2019-11-14 10:15:39 -05:00
Chris Sexton 30cd91079c react: add searched reactions 2019-11-11 18:13:05 -05:00
Chris Sexton a31d2b446e go fmt 2019-11-08 10:20:01 -05:00
Chris Sexton 4b749d316d bids: mark bids instead of deleting them 2019-11-08 10:20:01 -05:00
Chris Sexton 3a4d69bae0 git: move icons to each commit/event 2019-11-04 08:19:51 -05:00
Chris Sexton 7f5f62d04a git: fix icon 2019-11-03 08:27:50 -05:00
Chris Sexton 97ca444df9 git: don't show empty changeset 2019-11-03 08:10:01 -05:00
Chris Sexton d1149e7022 git: actually do the thing 2019-11-03 07:59:53 -05:00
Chris Sexton 6ada638968 git: add icons
Also break services out into individual files
2019-11-03 07:47:45 -05:00
Chris Sexton 6e62ccf00d webshit: add links to articles 2019-11-02 18:21:40 -04:00
Chris Sexton 8d74baddba git: fix gitea formatting 2019-11-02 18:21:40 -04:00
Chris Sexton f1f5fb3c12 git: add nicer repo addition & gitea support
Also added an `!unset` command for configurations.
2019-10-26 17:43:31 -04:00
Chris Sexton 6a332bcd8e gitlab: fix event URL 2019-10-26 15:40:49 -04:00
Chris Sexton 6393d8bb22 git: change message formatting 2019-10-26 15:40:49 -04:00
Chris Sexton 686ba1d662 git: only respond to PR opened event
Probably will need to check this on other events too.
2019-10-26 15:40:49 -04:00
Chris Sexton 2694463964 git: add git hook support for github & gitlab 2019-10-26 15:40:49 -04:00
Chris Sexton 134d5ea47b first: put the order back in 2019-10-26 11:51:07 -04:00
Chris Sexton 44b0a4f9f3 first: add leaderboard 2019-10-26 11:31:09 -04:00
Chris Sexton 0112b23aa5 twitter: fix persistence 2019-10-20 21:03:13 -04:00
Chris Sexton 1d40a53c51
Merge branch 'master' into tweetpersist 2019-10-20 10:54:03 -04:00
Chris Sexton 47fadc984f twitter: persist last tweet id 2019-10-20 10:53:07 -04:00
Chris Sexton 68118136f2 fuck: stop he-who-must-not-be-named's antics
* verify instruction limit setting
* truncate output buffer
2019-10-20 10:39:31 -04:00
Chris Sexton 3966fd55f7 fuck: add a brainfuck interpreter to the bot 2019-10-20 09:21:27 -04:00
Chris Sexton 42c083314c twitter: add plugin 2019-10-17 09:40:40 -04:00
Chris Sexton fa512bc90b pick: add delimiter support
* Default is still `,`
* Can choose any string directly after pick, for example `pick- {a- b- c}`
2019-10-08 18:15:07 -04:00
Chris Sexton 1efedb7e60 tell: add troll 2019-10-08 17:09:12 -04:00
Chris Sexton 7152c1543e tell: make it db backed 2019-10-08 16:50:29 -04:00
Chris Sexton 4fd0683a8d zork: make path to exec and dat configurable
zork: squash pkgPath err

zork: add flag support
2019-10-01 14:43:36 -04:00
Chris Sexton 631a0c2b0c untappd: switch text line for image descriptions
Checking out a reorder of the args too.
2019-09-28 14:24:45 -04:00
Chris Sexton 3ba71cf9f6 untappd: fix badge image to match json 2019-09-28 13:45:53 -04:00
Chris Sexton 267ec1a8bf untappd: split badge between msg and images 2019-09-28 13:18:23 -04:00
Chris Sexton 5cb6f9ad7e untappd: add badge support
Note: this may not work on the first try. I'm not going to sit around
waiting for a badged checkin in #test.
2019-09-28 13:14:15 -04:00
Chris Sexton 258a3370d7 reaction: add sentiment analysis; remove harass
The harass stuff may come back later.
2019-09-27 10:39:43 -04:00
Steve McCoy bd99f95345 Add emoji tags to the week's winner(s) 2019-08-24 14:36:24 -04:00
Chris Sexton 72a0f4f249 fix integer multiplation bug 2019-08-13 16:14:48 -04:00
Chris Sexton a0bb4c7d1e newsbid: divide all bids amongst winners
* No more negative scores
* Winners divide all points based on their bets
2019-08-11 15:05:15 -04:00
Chris Sexton c71e2beb34 Merge branch 'webshit_urls' of github.com:velour/catbase into webshit_urls
* 'webshit_urls' of github.com:velour/catbase:
  bid: disallow negative bids
2019-08-08 10:20:22 -04:00
Chris Sexton 4ef471eff2 webshit: add missing test update 2019-08-08 10:19:52 -04:00
Chris Sexton 729eb61dee
Merge branch 'master' into webshit_urls 2019-08-08 10:15:52 -04:00
Chris Sexton 705aa294d5 webshit: fix URL matching to use query string 2019-08-08 10:13:24 -04:00
Chris Sexton a7fbc8590b bid: disallow negative bids 2019-07-18 14:57:24 -04:00
Chris Sexton ffde8e2492 bid: add title to !bid command response 2019-07-16 15:55:38 -04:00
Chris Sexton f8ee4224a1 bid: change to matching by URL
And fix URL scraping of the n-gate RSS.
2019-07-16 15:49:35 -04:00
Chris Sexton bdfd6060a0 bid: fix losing story mode; pretty it up a little 2019-07-15 22:00:19 -04:00
Chris Sexton 286582417b bid: connect scores/bids/etc to the chat 2019-07-15 16:55:35 -04:00
Chris Sexton dd0f9efeae bid: add check routine 2019-07-15 14:57:23 -04:00
Chris Sexton 04239ec807 bid: add some tests and tables 2019-07-15 13:40:34 -04:00
Chris Sexton cdff69abdc bid: Add a skeleton of an n-gate bidding game
* webshit module will house any logic needed for the game
* newsbid is the top-level plugin to be used for the bot interface
2019-07-15 12:48:34 -04:00
Scott Kiesel 937d74afec
Merge branch 'master' into stock 2019-06-13 10:26:52 -04:00
skiesel 48c395b026 fixed loss of decimal point in stock prices 2019-06-13 10:25:17 -04:00
Chris Sexton b6a89ff06a web: use secret instead of human test
* Applies for services that modify data
* Anybody in the slack can ask for the daily secret
2019-06-13 10:04:06 -04:00
Chris Sexton c127fa4798
Update index.go
remove vue debug mode
2019-06-09 00:56:59 -04:00
Chris Sexton 05fd032bea web: bugfix pack
* menuize front page
* fix url bug
* fix cli
2019-06-09 00:54:05 -04:00
Chris Sexton 9ea45f0ad3 web: add a menu and redo index
We can add arbitrary links now with the `bot.links` config
2019-06-09 00:18:57 -04:00
skiesel d372541735 stock checker 2019-06-07 14:32:20 -04:00
Chris Sexton fe8763f78a first: change to per channel
And be sure not to pay attention to private/direct messages
2019-06-06 10:33:50 -04:00
Chris Sexton 0aa5aad27d web: add vars interface 2019-06-02 09:28:13 -04:00
Chris Sexton a7712530f9 fact: remove old handler 2019-05-27 23:15:42 -04:00
Chris Sexton ab3dac35ba web: redo factoid page; add title to counter page 2019-05-27 23:14:05 -04:00
Chris Sexton 20a56a4fcc web: small improvements 2019-05-27 22:16:35 -04:00
Chris Sexton f46ea524f3 cli: move html->go to fool GitHub 2019-05-27 19:26:17 -04:00
Chris Sexton 42f7f52bfb cli: make a new plugin 2019-05-27 19:23:05 -04:00
Chris Sexton 55b2b707c1 counter: add a web interface 2019-05-27 14:27:34 -04:00
Chris Sexton a865dfe2da tldr: change history to be in order; clamp to 24h 2019-04-12 11:53:40 -04:00
Chris Sexton c54591998e
Merge branch 'master' into eaburns-patch-1 2019-04-12 10:45:56 -04:00
skiesel e08601ebec Add stop words to the config 2019-03-28 17:38:04 -04:00
Ethan Burns 78fc108de4
Don't show scores in tl;dr
They are noisy and not very useful.
2019-03-26 20:22:21 -04:00
Ethan Burns efcf8a7c34
Fix tl;dr formatting
Remove extra space before `:`.
Make topics bold.
Add a blank line between topics.
Remove leading tabs.
2019-03-26 19:31:09 -04:00
Chris Sexton fa5a0a284b tldr: fix small bug about indexing 2019-03-26 17:55:07 -04:00
Chris Sexton 0650a352c8 tldr: limit to 24h and limit rapid checks
Also refactor a little bit.
2019-03-26 17:51:28 -04:00
skiesel 22ba451d4c Filter empty evidence, show scores 2019-03-22 06:49:24 -04:00
skiesel ce922135cd Fix silly sizing mistake 2019-03-21 22:29:10 -04:00
skiesel dbc99bfe7a Add supporting docs size 2019-03-21 22:15:38 -04:00
skiesel b4b09e74c6 Track who said what 2019-03-21 22:00:59 -04:00
skiesel 650ccb190d TL;DR Latent Dirichlet Allocation summarizer 2019-03-21 20:12:15 -04:00
Chris Sexton f267ae07e3 slack: add image support
* Make untappd checkins embed images
* Added attachment types as an optional send arg
2019-03-09 22:41:43 -05:00
Chris Sexton 05431ab1fd reminder: these reminder tests are bad and bullshit 2019-03-09 22:00:14 -05:00
Chris Sexton 2a00308695 reminder: fix bad subtraction 2019-03-09 21:55:01 -05:00
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