Commit Graph

211 Commits

Author SHA1 Message Date
Harsh Shandilya 925f5acc18 fix(message): send typing action in replies 2024-05-10 17:10:23 +05:30
Harsh Shandilya 6b17ea94be fixup! fix(commands): use `try_reply` extension 2024-05-10 17:10:01 +05:30
Harsh Shandilya 6d23873b1b fix(commands): use `try_reply` extension 2024-05-10 17:08:59 +05:30
Harsh Shandilya b3032e2404 chore: fmt 2024-05-10 17:07:55 +05:30
Sphericalkat bce639c914
feat(commands): add a command to roll dice
Signed-off-by: Sphericalkat <amolele@gmail.com>
2024-05-10 16:10:53 +05:30
Harsh Shandilya d7c0e8574e refactor: match on domains rather than regex 2024-05-05 22:15:43 +05:30
Harsh Shandilya f696f25913 refactor: use typed URLs 2024-05-05 22:06:39 +05:30
Harsh Shandilya 7c8dfd2912 feat(medium): switch to LibMedium 2024-04-30 13:37:25 +05:30
Harsh Shandilya 0afdad7a3d chore: address Clippy lints 2024-04-29 12:48:22 +05:30
Harsh Shandilya 74c7259ae1 fix: simplify private chat short-circuit 2024-04-29 12:45:44 +05:30
Harsh Shandilya cbfd9c394e fix: restore argument-less variant of commands 2024-04-29 12:45:44 +05:30
Harsh Shandilya 1ebdccff4a fix: prevent moving `Message` in `BotExt` 2024-04-29 12:45:44 +05:30
Harsh Shandilya dc6b8db163 fix: restore confirmation for fixer state toggle 2024-04-29 12:45:44 +05:30
Harsh Shandilya 24f9a5243f fix: special case PMs 2024-04-29 12:45:44 +05:30
Harsh Shandilya 61928ddea7 fix: use entry API for `update_fixer_state` 2024-04-29 12:45:44 +05:30
Harsh Shandilya a68a8204fe fix: insert default values 2024-04-29 12:23:16 +05:30
Harsh Shandilya e81fff6f24 refactor: commonize fixer state update 2024-04-29 12:23:16 +05:30
Harsh Shandilya db626e403c refactor: commonize authorization check 2024-04-29 12:23:16 +05:30
Harsh Shandilya 65c6979881 refactor: add a typealias for async errors 2024-04-29 12:23:16 +05:30
Harsh Shandilya bdc9b21bb6 refactor: simplify fixer state handling 2024-04-29 12:23:16 +05:30
Harsh Shandilya 9cf2a70291 refactor: track fixer state per-chat rather than globally 2024-04-29 12:23:16 +05:30
Harsh Shandilya 15ba617041 Revert "feat: set up Sentry integration"
This reverts commit bc27f92872.
2024-03-30 12:22:15 +05:30
Harsh Shandilya 7729173433 refactor: de-dupe message sending 2024-03-18 14:31:04 +05:30
Harsh Shandilya bc27f92872 feat: set up Sentry integration 2024-03-18 14:20:45 +05:30
Harsh Shandilya cd1e671fd5 fix(deps): upgrade to teloxide unstable 2024-02-18 00:54:15 +05:30
Harsh Shandilya 3769487741 feat(rust): upgrade to latest nightly 2024-01-10 14:44:24 +05:30
Harsh Shandilya 9514569ddd
feat(rust): upgrade to latest nightly 2023-10-22 15:16:15 +05:30
Harsh Shandilya 6fc05e05f0
chore(twitter): add tests for root match group 2023-08-17 23:45:48 +05:30
Harsh Shandilya a939a7781c
feat(twitter): fuck Musk 2023-08-17 16:50:01 +05:30
Harsh Shandilya fa4d6bfd42
feat: remove ThreadsFix
No longer useful
2023-07-30 23:13:27 +05:30
Harsh Shandilya 54d1f3062d
fix(threads): disable by default 2023-07-14 12:43:07 +05:30
Harsh Shandilya 16966558c7
fix: ensure Threads handler respects its filter logic 2023-07-07 13:42:47 +05:30
Harsh Shandilya e795c66168
fix(utils): adjust logging levels 2023-07-07 00:22:42 +05:30
Harsh Shandilya 083b5b03eb
fix(utils): remove unsound URL cache
This was never doing anything
2023-07-07 00:18:44 +05:30
Harsh Shandilya ac45ed0140
feat: add fixer for threads.net 2023-07-07 00:17:23 +05:30
Harsh Shandilya 106cc90b1f
fix(twitter): temporarily use BetterTwitFix
fxtwitter is having issues right now
2023-06-30 11:18:32 +05:30
Harsh Shandilya 75af807cd1
fix: fmt 2023-06-06 00:02:16 +05:30
Harsh Shandilya 081a9122d1
fix: add custom assertion messages to regex tests 2023-06-05 23:59:58 +05:30
Harsh Shandilya 877a3ad83c
fix(medium): add another URL pattern to tests 2023-06-05 23:53:41 +05:30
Harsh Shandilya 5faafd4555
fix(medium): enable by default 2023-06-05 23:53:33 +05:30
Harsh Shandilya 9cb298d180
feat(medium): switch over to `medium.rip` 2023-05-28 23:55:14 +05:30
Harsh Shandilya 4e512e3493
fix(medium): fix copy-pasta fails 2023-05-25 16:03:19 +05:30
Harsh Shandilya 1223f90412
fix: fmt 2023-05-25 15:52:13 +05:30
Harsh Shandilya 2f280c30ba
fix: add `/start` command 2023-05-25 15:48:17 +05:30
Harsh Shandilya c4d6bef31a
feat: add Medium link replacement via Scribe 2023-05-25 15:47:25 +05:30
Harsh Shandilya d32d309f8e feat: relax matcher regex to allow leading text 2023-02-23 05:09:36 +00:00
Harsh Shandilya ca68354b46 refactor: `SendLinkleanerMessage` -> `TryReplyMessage` 2023-02-11 13:05:46 +00:00
Harsh Shandilya e9afdeee7f fix: short-circuit commands in `get_urls_from_messages`
These will never need replacement
2023-02-10 09:33:38 +00:00
Harsh Shandilya 82481777bf fix(youtube): account for underscores in video IDs 2023-02-10 09:31:27 +00:00
Harsh Shandilya 1b1987db53 feat: memoize calls to `get_urls_from_message` 2023-01-26 17:24:15 +00:00