Commit Graph

843 Commits

Author SHA1 Message Date
Chris Sexton 1743b65242 tldr: add squawk command 2024-01-12 10:18:30 -05:00
Chris Sexton 0397fa2897 tldr: add prompt setting and optional ; 2024-01-12 10:09:44 -05:00
Chris Sexton 852239e89d tldr: reverse enter and respect length 2024-01-09 15:26:17 -05:00
Chris Sexton 5acf14b0ae tldr: filter by channel 2024-01-05 19:03:37 -05:00
Chris Sexton f8f18acacb tldr: fuck tests 2024-01-05 11:53:25 -05:00
Chris Sexton 1a066ce979 tldr: use gpt 2024-01-05 11:53:25 -05:00
Chris Sexton 448ae768ba gpt: silence some rooms 2024-01-04 13:16:27 -05:00
Chris Sexton 0b787a65a1 update code to mach datatype 2023-12-02 08:23:24 -05:00
Chris Sexton c44ada3061 counter: fix decrement-by 2023-10-04 10:25:59 -04:00
Chris Sexton f18154be5b counter: maybe really fix it finally 2023-10-04 10:25:59 -04:00
Chris Sexton 9cecccfcdd counter: consolidate multiple counter code 2023-10-03 10:52:27 -04:00
Chris Sexton f6cfec477f counter: fix double counter api issue 2023-10-03 09:54:59 -04:00
Chris Sexton f2153bf0b4 counter: maybe finish this feature 2023-09-29 11:01:46 -04:00
Chris Sexton 5de82d96e4 counter: maybe count some stuff better via API 2023-09-29 10:48:23 -04:00
Chris Sexton bfd50a346d admin: update html formatting 2023-08-17 16:38:03 -04:00
Chris Sexton c32738f444 admin: convert variables page to htmx 2023-08-17 15:46:36 -04:00
Chris Sexton 3dc8c77505 reminder: remove natural language thing 2023-08-03 10:37:06 -04:00
Chris Sexton c91fdcdf29 bot: add spoiler message type 2023-08-02 17:00:45 -04:00
Chris Sexton b63b317dfc gpt: reset chat prompt every N messages 2023-04-08 21:22:58 -04:00
Chris Sexton 21ce66fc15 font: remove debug 2023-03-16 13:39:55 -04:00
Chris Sexton 295d9fef77 tap: maybe fix font locations 2023-03-16 13:39:55 -04:00
Chris Sexton 6707902caf fact: don't look for is actions 2023-03-05 15:48:48 -05:00
Chris Sexton d1986be68a gpt: make gpt the catchall 2023-03-05 15:35:01 -05:00
Chris Sexton 4626d0270c gpt: make echo configurable 2023-03-03 15:11:21 -05:00
Chris Sexton 7d5cf3909d gpt: remove a colon 2023-03-03 15:08:33 -05:00
Chris Sexton 8b8ac7b244 gpt: reset client when prompt changes 2023-03-03 12:17:05 -05:00
Chris Sexton 92ce4979b4 gpt: rename directory 2023-03-03 11:48:22 -05:00
Chris Sexton 43eda811eb gpt: add chatgpt 2023-03-03 11:48:22 -05:00
Chris Sexton 68738f847b gpt3: moderation toggle 2023-02-07 10:23:58 -05:00
Chris Sexton eb67d1a35e gpt3: moderation to protect skiesel's innocence 2023-02-07 10:23:58 -05:00
Chris Sexton 91d21c1076 cowboy: make message confirmation ephemeral 2023-01-27 14:14:35 -05:00
Chris Sexton 690fd01fd2 newsbid: bid by ID 2023-01-27 13:28:41 -05:00
Chris Sexton e2c55fab00 meme: add font shortcuts and location 2023-01-27 13:20:00 -05:00
Chris Sexton 0c94d71960 twitch: assume defaults if twitch doesn't tell us a game 2023-01-10 21:40:34 -05:00
Chris Sexton 7eba55f236 twitch: add irc disable flag 2023-01-07 20:55:39 -05:00
Chris Sexton f70eb46c5d twitch: redo with webhooks 2023-01-04 11:27:03 -05:00
Chris Sexton 12543c569c fact: log some errs 2022-10-25 13:15:28 -04:00
Chris Sexton 3bedaf2ec0 fact: trim space 2022-10-25 12:11:49 -04:00
Chris Sexton f6dd52a222 meme: changed to file upload instead of embed
* Added File handling to Discord mesasges
2022-10-20 18:43:45 -04:00
Chris Sexton da780a7a92 cowboy: who sent that emojy? 2022-10-19 18:08:25 -04:00
Chris Sexton e8ca86d008 cowboy: make the bare command make an emojy 2022-10-19 14:52:31 -04:00
Chris Sexton 04fecf1987 tappd: save ID in DB 2022-10-15 10:23:57 -04:00
Chris Sexton bf54f421fe twitch: remove broken test 2022-10-15 10:23:57 -04:00
Chris Sexton c147e65497 tappd: save images and serve them 2022-10-15 10:23:57 -04:00
Chris Sexton df9db4e6fd tappd: optionally use files instead of embeds 2022-10-14 23:09:48 -04:00
Chris Sexton 435f45fa7c tappd: shorten the message on images 2022-10-14 08:52:06 -04:00
Chris Sexton e93b6d07ab tappd: orient images 2022-10-14 08:39:26 -04:00
Chris Sexton 866b947f42 tappd: add plugin 2022-10-13 20:23:10 -04:00
Chris Sexton 7ca4a30c14 url: add configurable useragent 2022-09-29 12:01:44 -04:00
Chris Sexton dfa6302757 twitch: refactor alert code 2022-09-25 17:32:18 -04:00
Chris Sexton dd262f524e twitch: Add IRC-Discord bridge
* Should connect a bridge to streamer's channel any time a stream starts
* Should disconnect when stream ends
* Add `track` and `untrack` commands to manually modify bridge
* Adds support for creating Discord threads
2022-09-18 17:49:27 -04:00
Chris Sexton a9a4c9274c pagecomment: omit user if using slash 2022-09-07 10:59:14 -04:00
Chris Sexton b670ecc647 pagecomment: add useragent and check for no title 2022-09-07 10:41:35 -04:00
Chris Sexton b8a199faba pagecomment: add /url command
* Updated discord library
* Added an author embed but it's not useful just yet
2022-09-06 17:26:07 -04:00
Chris Sexton 9e386cbd70 reminder: add missing line 2022-08-31 14:38:56 -04:00
Chris Sexton 8090d4209a reminder: add snooze functionality 2022-08-31 13:42:18 -04:00
Chris Sexton b59d84b301 topic: fix newline issue 2022-08-16 20:08:39 -04:00
Chris Sexton cf5e52c2b6 topic: add plugin 2022-08-16 19:57:29 -04:00
Chris Sexton f28026436a twitch: separate into regex commands and add user check 2022-08-09 08:14:36 -04:00
Chris Sexton 37e4dcb5c8 bot: add rate limiting
- emojy: lazy load images so they don't break/spam the server
2022-08-04 09:20:29 -04:00
Chris Sexton 7c0a777737 twitch: add reauthentication
- refactored secrets to be in config
- added missing format string to bot
2022-08-03 21:12:08 -04:00
Chris Sexton 45103cec62 admin: fix nick regex 2022-08-02 13:42:35 -04:00
Chris Sexton 7af94f3473 admin: conditionally require admin for nick change 2022-08-02 13:35:50 -04:00
Chris Sexton e92c89891f bot: add ability to change nick 2022-08-02 13:35:50 -04:00
Chris Sexton 3482c0c8e4 roles: enable the set offering command 2022-07-29 07:07:31 -04:00
Chris Sexton c3e1a72f9a bot: fix admin to respect ID instead of nick 2022-07-29 07:07:31 -04:00
Chris Sexton 1488033c52 why is this file here? 2022-07-28 17:51:42 -04:00
Chris Sexton ad3b264a89 roles: make toggle case insensitive 2022-07-28 17:51:42 -04:00
Chris Sexton 09cc6f75c3 emojy: reorder the stats page 2022-07-23 12:58:33 -04:00
Chris Sexton bffc1589c2 emojy: add a threshold for stats page 2022-07-23 12:58:33 -04:00
Chris Sexton b1cec209fe emojy: show names on stats page 2022-07-23 12:42:58 -04:00
Chris Sexton 668b0dcb7b emojy: sort the emojy list page 2022-07-23 09:49:27 -04:00
Chris Sexton 4c1a02e9fb cowboy: reuse some code 2022-07-23 09:27:21 -04:00
Chris Sexton 274d8f6966 cowboy: fix original url 2022-07-23 09:10:38 -04:00
Chris Sexton 51da6187b0 emojy: swap in emojy command 2022-07-23 09:02:57 -04:00
Chris Sexton 0453c5ec24 cowboy: show the emojy when its made 2022-07-23 08:59:32 -04:00
Chris Sexton 3297878421 cowboy: fix overlay capture bug 2022-07-23 00:39:45 -04:00
Chris Sexton 93cfc0ddfb cowboy: optionally disable overlay command for now 2022-07-23 00:22:13 -04:00
Chris Sexton a64f4800b1 cowboy: add slash command 2022-07-23 00:22:13 -04:00
Chris Sexton 2ce2b01295 cowboy: use cache to set bounds 2022-07-23 00:22:13 -04:00
Chris Sexton 112ccea89a cowboy: add cache 2022-07-23 00:22:13 -04:00
Chris Sexton ba99b2113c discord: add slash command structure 2022-07-23 00:22:13 -04:00
Chris Sexton 22658949a8 emojy: update web UI a bit
- cards on list
- add text name to stats
2022-07-22 10:18:52 -04:00
Chris Sexton cf19a2bc15 cowboy: anchor emojy pages to URLs
This also refactored a bunch of junk and eliminated about 4k calls to
the config/database on emojy listing.
2022-07-22 10:18:52 -04:00
Chris Sexton 79cdd0f828 cowboy: stop scaling the base image so much 2022-07-22 09:16:54 -04:00
Chris Sexton 1d30a25277 cowboy: rm the original message 2022-07-21 11:42:48 -04:00
Chris Sexton f548f74be9 cowboy: make plugin 2022-07-21 11:29:45 -04:00
Chris Sexton b2ec081d51 counter: trim some spaces near aliases 2022-07-18 21:47:03 -04:00
Chris Sexton 2e0be87dd9 counter: fix ID null string regression
Also remove shared DB cache as it seems to not be necessary.
2022-07-17 14:46:09 -04:00
Chris Sexton 96229c9e11 counter: change http rate limiter criteria 2022-07-17 14:46:09 -04:00
Chris Sexton 72c32e1c16 counter: fix bug where anything but the right password worked 2022-07-17 14:46:09 -04:00
Chris Sexton df0b5d709b counter: fix bug where user ID was not passed to resolveUser 2022-07-17 14:46:09 -04:00
Chris Sexton aa7d377c08 counter: update model to reflect that the ID may be null 2022-07-17 14:46:09 -04:00
Chris Sexton 60678fcad2 add rate limit middleware 2022-07-07 11:28:22 -04:00
Chris Sexton 56120b168c emojy: add swap and disallow upload overwrites 2022-06-08 21:24:44 -04:00
Chris Sexton feb42b8293 emojy: allow creation and removal of emojy
- includes a web interface for uploading new images
- includes a web interface for viewing 'possible' images
2022-06-08 21:03:21 -04:00
Chris Sexton 2f8bf0edcb emojy: trim some characters here and there 2022-06-07 10:30:07 -04:00
Chris Sexton 61cdb66546 emojy: indicate if an emojy is on the server 2022-06-06 10:49:27 -04:00
Chris Sexton e8c7e1e07e emojy: make the web page nicer
- show custom emojy
- categorize by source type
- record emojy used in messages
2022-06-06 10:24:54 -04:00
Chris Sexton aa88ef44f5 emojy: redo database schema
- record emojy as timestamped log instead of a count
2022-06-02 11:03:45 -04:00