Commit Graph

901 Commits

Author SHA1 Message Date
Chris Sexton 81cc0dc55b config: add push command
* you can now run `push <setting> <value>` to add values to a setting
2020-01-29 12:35:34 -05:00
Chris Sexton 4275619e49 twitter: filter out retweets 2020-01-28 14:50:55 -05:00
Chris Sexton fc18fba2d8 counter: use absolute value for counter 2020-01-24 16:56:22 -05:00
Chris Sexton 918d37f591 Update go.yml 2020-01-24 16:54:09 -05:00
Chris Sexton 7f183b4f2a counter: make matched things decrement sometimes 2020-01-21 16:29:43 -05:00
Chris Sexton 99817ad621 picker: make pick a command 2020-01-08 08:20:50 -05:00
Chris Sexton 595492a16b fact: add image verb
This will attach the last URL it sees as an image attachment. It will
fail if that is not a valid image (IDK, slack will get mad) and if no
image is found, it will send as text. The text in the message that is
not a URL will be sent as the image title.
2019-12-30 10:30:37 -05:00
Chris Sexton 32d1ebaa95 bot: add new variables
* $time: a made up time
* $now: current time
* $msg: the user's message
2019-12-29 10:10:18 -05:00
Chris Sexton 47c3def722 newsbid: make the !bids command look nicer 2019-12-22 09:05:27 -05:00
Chris Sexton 2625671ed6 bid: show string in bid list 2019-12-22 08:07:02 -05:00
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 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 f53c14a153
Merge pull request #213 from velour/tweetpersist
twitter: persist last tweet id
2019-10-20 10:58:20 -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 c83e116cca
Merge pull request #212 from velour/limits
fuck: stop he-who-must-not-be-named's antics
2019-10-20 10:43:35 -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 aebabd3bb5
Merge pull request #211 from velour/fuck
fuck: add a brainfuck interpreter to the bot
2019-10-20 09:25:25 -04:00
Chris Sexton 3966fd55f7 fuck: add a brainfuck interpreter to the bot 2019-10-20 09:21:27 -04:00
Chris Sexton 0e1df6979d
Merge pull request #210 from velour/twitter
twitter: add plugin
2019-10-17 09:44:14 -04:00