Commit Graph

50 Commits

Author SHA1 Message Date
Chris Sexton 9585ac6c23 discord: cripple but fix the who function 2021-08-23 13:18:31 -04:00
Chris Sexton cf30dad055 goals: fix goal reporting 2021-08-23 11:34:39 -04:00
Chris Sexton edc56dedc7 discord: resolve guild nicks 2021-08-20 13:52:05 -04:00
Chris Sexton 8b84d6b840 discord: fix authentication 2021-08-19 20:41:06 -04:00
Chris Sexton 7ba9d94ac2 counter: add api, bot: change routes
* many routes changed by adding the chi router
* counter has an authenticated API to increment and decrement
2021-07-28 11:41:01 -04:00
Chris Sexton c47a4f7c6f web: migrate endpoint registration to chi 2021-07-28 11:41:01 -04:00
Chris Sexton c5d468c723 last: add multichannel support
This
* ensures the last is between yesterday and yesterday
* adds a channel check to the query
* adds a command to check a specific channel
2021-04-28 16:52:07 -04:00
Chris Sexton defeb9b3b1 meme: maybe fix discord maybe not 2021-02-18 18:01:45 -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 001a04d186 discord: apparently bot has to be capitalized now 2021-02-04 19:46:28 -05:00
Chris Sexton 4a0ba76b89 first: refactor and add clear command 2021-02-03 20:38:21 -05:00
Chris Sexton ff4b541c01 slackApp: convert from channel to conversation 2021-01-14 16:58:48 -05:00
Chris Sexton c4605cfb77 git: don't unfurl links 2021-01-09 16:58:18 -05:00
Chris Sexton 9dbdd1f9a3 connectors: add translation layer
* URLs can be translated to slack/discord compatible
* Emojy have a connector-specific translation configuration
* Advent of Code plugin respects emojy and URLs
* Config can be wrapped in `` for JSON
2020-12-02 09:53:57 -05:00
Chris Sexton a30be0df8f meme/bot: add ephemeral messages 2020-10-24 10:04:53 -04:00
Chris Sexton b978702706 slack: once more, remove a character 2020-10-21 14:26:44 -04:00
Chris Sexton ced2108f31 slack: filter zero-width characters 2020-10-21 13:47:18 -04:00
Chris Sexton b69990e10f fix gok error 2020-10-13 09:43:04 -04:00
Chris Sexton 5df7644229 remove more logs 2020-10-09 13:58:25 -04:00
Chris Sexton 696ca8408d discord: remove noisy log line 2020-10-09 13:34:07 -04:00
Chris Sexton 3c0704c57c discord: remove channel whitelist 2020-10-09 12:04:43 -04:00
Chris Sexton 4ba240c37d go: fix some format strings 2020-10-09 10:54:09 -04: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 1ff79ce2c9 slackapp: fix reaction logging 2020-07-24 10:55:02 -04:00
Chris Sexton 3db779567a slack: strip out dumb nbsp 2020-05-17 10:56:48 -04:00
Chris Sexton 10a1745502 meme: add signature icon 2020-05-08 17:49:55 -04:00
Chris Sexton c184566f07 slack: upgrade library 2020-05-08 17:49:55 -04:00
Chris Sexton 0057f91ce6 connectors: add profile to get user icon 2020-05-08 17:49:55 -04:00
Chris Sexton ba4c573d0b
Merge branch 'master' into fix_users_again 2019-09-26 10:34:33 -04:00
Chris Sexton d3cd5f2ab4 slackApp: fix user detection
...again. Just had to turn the e-brake off and flip an equality.
2019-09-26 10:31:09 -04:00
Chris Sexton cc13aa2928 slackApp: remove icon_url from message replies
Fixes #198
2019-09-25 18:43:41 -04:00
Chris Sexton 9fc79b26ad slackApp: handle bot IDs 2019-09-24 13:52:20 -04:00
Chris Sexton 0b10cdcc70 slackApp: add reaction logging 2019-09-19 16:30:59 -04:00
Chris Sexton 74b32dd2e9 slackApp: a few fixes...
* DMs work again and are logged
* bot knows who itself is
2019-06-07 16:50:18 -04:00
Chris Sexton 7d159db6f1 slackApp: nicen logs a bit
* Remove entry log lines
* Change topic format for pisg support
2019-06-07 14:23:14 -04:00
Chris Sexton 3d51d33da9 slackApp: add logging function 2019-06-07 12:19:24 -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 42f7f52bfb cli: make a new plugin 2019-05-27 19:23:05 -04:00
Chris Sexton 54e0e14f41 slackapp: filter out ungood message types 2019-03-11 18:11:36 -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 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 15bb7c34e5 slackApp: add dedupe 2019-02-18 18:45:23 -05:00
Chris Sexton 47a824e8da remember: fixed something? It works now. 2019-02-15 14:54:14 -05:00
Chris Sexton 85d123a910 slack: revert to manual slack call for replies
Because that just fucking works.
2019-02-08 14:54:40 -05:00
Chris Sexton a1e170aa40 slackApp: stop racing to serve on the http port 2019-02-07 14:45:59 -05:00
Chris Sexton 4925069ac9 slackApp: fix user info functionality 2019-02-07 14:21:22 -05:00
Chris Sexton c72dc7b2c8 slackapp: most things working
* User lists are definitely not working yet
2019-02-06 00:17:32 -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