Commit Graph

198 Commits

Author SHA1 Message Date
yanyongyu
b64b02bb45 ✏️ add missing annotationo 2021-12-07 02:16:18 +08:00
yanyongyu
d80c02ae46 ♻️ rewrite adapter abc class 2021-12-06 22:19:05 +08:00
yanyongyu
a6112fdf64 support for mock api result (resolve #605) 2021-11-28 02:34:01 +08:00
yanyongyu
a98d98cd12 🎨 format code using black and isort 2021-11-22 23:21:26 +08:00
yanyongyu
e12e18022b ⚗️ template support raw string 2021-10-04 22:00:32 +08:00
Mix
b9c91dc5c3 💡 add document for extended format spec 2021-10-03 16:39:43 +08:00
Mix
6b79106cd1 support use MessageSegment method as template format spec 2021-10-03 16:26:55 +08:00
Mix
c8a8ff28ec support use Message object as message template 2021-10-02 14:05:54 +08:00
yanyongyu
92a411e3b4 🎨 isort format code 2021-09-27 00:19:30 +08:00
StarHeartHunt
5cd61c09a8 🚨 re-export base adapter init
according to pep484
2021-09-18 20:22:38 +08:00
yanyongyu
44d13acc81 ♻️ rename message formatter into template 2021-09-11 19:48:46 +08:00
yanyongyu
b635d01519 💥 matcher prompt support message formatter 2021-09-11 13:45:03 +08:00
yanyongyu
3fa75b1c78 ♻️ separate adapter abstract classes 2021-08-29 00:24:28 +08:00
yanyongyu
5cf665fa21 🐛 fix format field error 2021-08-28 19:42:32 +08:00
yanyongyu
116f16b470 🐛 fix stringify when formatting 2021-08-28 19:39:54 +08:00
Mix
1c73a9adfa 💡 add comment to describe template formatter usage 2021-08-27 19:13:08 +08:00
yanyongyu
7cfdc2dd37 🔥 use Any for format type 2021-08-27 15:08:26 +08:00
yanyongyu
58d10abd32 🎨 change typing for formatter 2021-08-27 14:46:15 +08:00
Mix
f0bc47ec5e Add message template formatter
ref: https://github.com/nonebot/discussions/discussions/27
2021-08-27 02:52:24 +08:00
yanyongyu
8e97a84ad8 💥 correct message segment mapping funcs 2021-08-04 19:35:03 +08:00
yanyongyu
3564228183 🐛 fix message segment mapping error 2021-08-04 19:11:59 +08:00
yanyongyu
04b3fda40c cqhttp support forward websocket 2021-07-19 23:46:29 +08:00
yanyongyu
0c5bbdaabe 🎨 remove linter error 2021-06-19 15:18:57 +08:00
yanyongyu
cd12718dcb 🐛 update mirai adapter 2021-06-18 01:23:13 +08:00
yanyongyu
b2f21ab974 🎨 fix message typing error 2021-06-17 01:07:19 +08:00
yanyongyu
8e6f8fada8 🐛 fix import recursion when same plugin and file name (fix #401) 2021-06-15 01:13:05 +08:00
yanyongyu
ddd96271b0 🎨 improve typing 2021-06-14 19:52:35 +08:00
StarHeartHunt
c0d78449be support custom response 2021-06-14 02:06:37 +08:00
yanyongyu
918b375ece 💥 drop self_id call_api support 2021-05-24 16:49:27 +08:00
yanyongyu
f8ad9ef278 ⚗️ support segment typing for message 2021-05-10 00:54:15 +08:00
yanyongyu
e425571b08 🐛 fix protocol not found in py37 2021-04-02 01:17:33 +08:00
yanyongyu
f0a6ff4627 ⚗️ add called api hook 2021-04-01 20:23:55 +08:00
yanyongyu
59ec5bacde 📝 update changelog 2021-03-31 21:20:07 +08:00
yanyongyu
8f99b01fb5 ⚗️ add call_api hook 2021-03-31 16:53:10 +08:00
yanyongyu
f00ce8b4f6 🐛 matcher.send returned none 2021-03-24 00:28:37 +08:00
yanyongyu
2166595e50 🐛 fix cqhttp secret checking #289 2021-03-20 14:49:58 +08:00
yanyongyu
6bd12b7f2c ⚗️ add handler class 2021-03-18 19:16:18 +08:00
yanyongyu
9e04e497b7 ⚗️ add type and permission updater hook 2021-03-03 16:06:19 +08:00
yanyongyu
f6289ff1b3 🐛 fix prompt error 2021-03-02 14:35:02 +08:00
yanyongyu
f9d4bcba3d ⚗️ change allowed types for cqhttp #222
Co-authored-by: synodriver <624805065@qq.com>
2021-02-21 11:00:45 +08:00
yanyongyu
247456df56 📝 update docs 2021-02-19 15:24:52 +08:00
yanyongyu
31b8a5ff77 🏗️ change nonebot project structure 2021-02-11 17:29:16 +08:00
Mix
0761a60443 🩹 fix reply process in mirai adapter 2021-02-07 21:28:58 +08:00
Mix
f3b77a7f60 ✏️ fix typo in docs 2021-02-07 17:16:12 +08:00
Mix
382a9b6e12 🔊 improve message logging 2021-02-07 12:40:31 +08:00
Mix
85aba9e36f 🐛 fix bug founded during test in mirai adapter 2021-02-07 12:17:21 +08:00
Mix
49010bf5b7 ⚗️ trying to change mirai adapter message processing behavior 2021-02-07 11:52:50 +08:00
Mix
ad8429e7fa 🐛 fix log escape in mirai adapter 2021-02-05 20:09:19 +08:00
yanyongyu
c268e0105d 🐛 fix escape comma 2021-02-05 14:26:03 +08:00
yanyongyu
ff9f0bc74a 📝 update doc 2021-02-05 13:31:33 +08:00