Commit Graph

115 Commits

Author SHA1 Message Date
Chris Sexton 1e5a82d281 rest: create plugin
RestPlugin allows users to dynamically create transports and integrate services
from outside of catbase.

New commands:
* wire `regex` to URL `field`
* list wires
* rm wire ID
2021-05-19 11:55:20 -04:00
Chris Sexton f2a6d779d3 main: change logger 2021-05-04 14:08:33 -04:00
Chris Sexton 4c669e520f last: create plugin 2021-04-27 12:45:52 -04:00
Chris Sexton 5a7544d828 giph: add plugin 2021-02-28 23:19:43 -05:00
Chris Sexton 332d992d05 counter: use IDs when available
This should help alleviate user name changes, but may not fix it
entirely. Had to update beers and goals to match an ID search.

Note: this will bust badly for IRC
2021-02-14 17:00:56 -05:00
Chris Sexton 1f954f301c fuck: refactor by removal 2021-02-03 21:02:59 -05:00
Chris Sexton 75a12ca9a5 zork: remove zork
ref #343
2021-01-31 18:24:42 -05:00
Chris Sexton 2fed8099df main: reorganize gpt2 execution 2020-12-08 08:25:29 -05:00
Chris Sexton aa9dc12c9b countdown: maybe use actually January 2020-11-30 14:59:05 -05:00
Chris Sexton d7839c96d8 fcountdown: disable 2020-11-30 12:27:42 -05:00
Chris Sexton a9937d9b8e discord: add discord functionality
* added discord connector
* modified user to support image avatars instead of URL avatars
* modified meme to send IDs instead of names
2020-09-09 13:21:39 -04:00
Chris Sexton dba38310e4 add discord integration 2020-08-31 12:20:52 -04:00
Chris Sexton c6cb8053c0 gpt2: add plugin 2020-08-20 17:23:51 -04:00
Chris Sexton 030d0371f9 countdown: add NYE countdown 2020-07-13 17:02:21 -04:00
Chris Sexton ccfdb5a715 goals: mostly done, time to try it 2020-05-26 11:41:28 -04:00
Chris Sexton b1f46d6517 goals working-ish 2020-05-26 11:41:28 -04:00
Chris Sexton 280bb39125 sms: add skeleton 2020-05-17 10:56:48 -04:00
Chris Sexton 13a3af1e55 meme: add plugin 2020-04-28 11:39:33 -04:00
Chris Sexton 30077d1b6c achievements: sketch 2020-04-24 16:29:43 -04:00
Scott Kiesel 3cb54e6262 A great stupid plugin where you guess the random wikipedia article 2020-03-13 10:33:16 -04:00
Chris Sexton 4c69cefa39 aoc: add plugin 2019-11-30 23:59:52 -05:00
Chris Sexton 2694463964 git: add git hook support for github & gitlab 2019-10-26 15:40:49 -04:00
Chris Sexton 0112b23aa5 twitter: fix persistence 2019-10-20 21:03:13 -04:00
Chris Sexton c42ae647f3 Update main.go 2019-10-20 11:30:40 -04:00
Chris Sexton c0feed1353 Update main.go 2019-10-20 11:30:40 -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 286582417b bid: connect scores/bids/etc to the chat 2019-07-15 16:55:35 -04:00
skiesel d372541735 stock checker 2019-06-07 14:32:20 -04:00
Chris Sexton 42f7f52bfb cli: make a new plugin 2019-05-27 19:23:05 -04:00
skiesel 650ccb190d TL;DR Latent Dirichlet Allocation summarizer 2019-03-21 20:12:15 -04:00
Chris Sexton 75c32566d1 logging: update configuration
* Turned stack trace on for Errs
* Turned file trace on for all logs
* Added error where a panic was detected earlier in the day
* Added `run.sh` to ignore
2019-03-07 15:36:59 -05:00
Chris Sexton a2d5d173f9 logging: switch to a logging library 2019-03-07 11:46:59 -05:00
Chris Sexton 30944bf620 Revert "main: removed zork plugin"
This reverts commit 6fb0990a11.
2019-02-15 15:00:01 -05:00
Chris Sexton 47a824e8da remember: fixed something? It works now. 2019-02-15 14:54:14 -05:00
Chris Sexton 6fb0990a11 main: removed zork plugin 2019-02-13 12:08:16 -05:00
Chris Sexton a1e170aa40 slackApp: stop racing to serve on the http port 2019-02-07 14:45:59 -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 a25d7b9eff bot: get rid of a string
I introduced reflection earlier. I may as well go whole hog now.
2019-02-05 16:10:36 -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 82dcf410f2 bot: hook connectors up to events
This includes a full test of `admin`
2019-02-05 13:42:15 -05:00
Chris Sexton 3620208f33 irc: Update IRC connector to new structure 2019-02-05 11:20:43 -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 0593b4f164 config: set some defaults 2019-01-21 19:16:57 -05:00
Chris Sexton 742c76f562 config: add defaults checking where necessary 2019-01-21 14:24:03 -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
skkiesel 0663c85b98 Up your nerd game, nerd. 2019-01-18 19:57:17 -05: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 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