Commit graph

126 commits

Author SHA1 Message Date
夜坂雅
c2d43c20bb Fix time counting 2023-06-10 11:56:34 +08:00
夜坂雅
33634c4fe5 Don't use streamed writing 2023-06-10 11:51:50 +08:00
夜坂雅
5b3f362722 Add missing EOF 2023-06-10 11:30:56 +08:00
夜坂雅
ad36e0e1c5 Add missing code 2023-06-10 11:23:30 +08:00
夜坂雅
d657b58733 Use a efficient query method 2023-06-10 11:15:17 +08:00
夜坂雅
a6366657bc Add lookup_message command 2023-05-08 21:02:48 +08:00
夜坂雅
6c0aea1013 Fix users count 2023-03-23 16:45:31 +08:00
夜坂雅
99cba7620c Sort server command output 2023-02-21 22:44:58 +08:00
夜坂雅
3b6b703fab Add servers command 2023-02-21 22:21:02 +08:00
夜坂雅
bbc2fd560f Also ignore maubot commands 2023-02-21 21:44:06 +08:00
夜坂雅
23883f730e Update 2023-02-15 17:23:56 +08:00
夜坂雅
5e90a6829d Use more proper stats 2023-02-15 17:04:17 +08:00
夜坂雅
99a752ac2d Use ordinary await instead of tasks 2023-02-15 16:07:10 +08:00
夜坂雅
364e1a671a Update 2023-02-15 15:50:40 +08:00
夜坂雅
036580ca45 Make origin_server_ts a BigIntegerField 2023-02-15 11:29:59 +08:00
夜坂雅
36d90644a0 Update 2023-02-15 10:47:58 +08:00
夜坂雅
98dc64cba2 Add MySQL support 2023-02-15 10:05:33 +08:00
夜坂雅
e7ce25807d Update 2023-02-15 09:42:45 +08:00
夜坂雅
976a0c28e3 Add ping command 2023-02-15 09:37:55 +08:00
夜坂雅
e7f330f1ec Add logging to wordcloud process 2023-02-15 09:22:37 +08:00
夜坂雅
d63ae5aac4 Update 2023-02-15 08:56:06 +08:00
夜坂雅
629a253210 Update 2023-02-15 08:17:30 +08:00
夜坂雅
12e35aca98 Update 2023-02-15 07:25:21 +08:00
夜坂雅
308396df74 Update 2023-02-15 07:11:31 +08:00
夜坂雅
b1e81e2c8d Update 2023-02-14 10:53:17 +08:00
夜坂雅
e013332e05 Update 2023-02-14 10:16:45 +08:00
夜坂雅
0274b0a8cf Properly preprocess forwarded message
Some forward message in Telegram, when forwarded to Matrix,
can also be a reply to some message.

Example:
https://t.me/archlinuxcn_offtopic/5472015
https://matrix.to/#/!TczZJIbozgTQfqUYBA:nichi.co/$vEBrHmAQxFTiH_rbUn_MkSfGYqhzGkGCUtmt-GazfUw

Correct this by stripping <mx-reply> first, then pattern match the
forwarded message content.
2023-02-13 17:27:07 +08:00
夜坂雅
d848f3f1bc Update 2023-02-13 17:23:29 +08:00
夜坂雅
1734650394 Update 2023-02-13 17:08:50 +08:00
夜坂雅
6b3e3edcde Update 2023-02-11 21:47:32 +08:00
夜坂雅
e4f241d8d9 Update 2023-02-09 14:18:19 +08:00
夜坂雅
e5e574a9b3 Update 2023-02-09 13:14:16 +08:00
夜坂雅
d50a0a9e51 Update 2023-02-09 13:10:14 +08:00
夜坂雅
b47b92fc01 Update 2023-02-01 21:13:04 +08:00
夜坂雅
da637a2ba3 Switch to TOML 2023-02-01 20:48:51 +08:00
夜坂雅
c752e52ade Update 2022-12-29 08:25:13 +08:00
夜坂雅
05f4d233a9 Update 2022-12-28 10:56:06 +08:00
夜坂雅
2e0f2dc902 Add word cloud functions 2022-12-25 21:10:23 +08:00
夜坂雅
584d131bfb Update 2022-12-25 14:26:25 +08:00
夜坂雅
8b693d862f Make encryption argument optional
Default is False (disables bot's support in encrypted rooms)
2022-12-25 10:28:52 +08:00
夜坂雅
f8e743c0bb Update 2022-12-25 10:24:59 +08:00
夜坂雅
bbe117a6b5 Update 2022-12-25 10:19:43 +08:00
夜坂雅
2a6a19b5d0 Update 2022-12-25 10:13:50 +08:00
夜坂雅
d6937661c5 Make recording messages optional 2022-12-25 10:03:07 +08:00
夜坂雅
49d428ebed Update 2022-12-25 09:48:21 +08:00
夜坂雅
871decdf86 Update 2022-12-25 09:47:24 +08:00
夜坂雅
3b9852d9a6 Update 2022-12-10 10:01:47 +08:00
夜坂雅
329516375f Update 2022-12-06 09:33:58 +08:00
夜坂雅
b4a907f26e Update 2022-11-29 11:49:01 +08:00
夜坂雅
5c8588d037 Update 2022-11-23 20:53:25 +08:00