Commit Graph

244 Commits

Author SHA1 Message Date
yanyongyu
dc5c35a9ed 💡 update command docstrinrg 2020-10-28 13:17:41 +08:00
rkroom
59a8bd8c97
add matched_string when rule regex
当使用正则匹配消息成功时,向state添加matched_string以保存匹配到的内容供接下来使用。
2020-10-26 17:18:26 +08:00
yanyongyu
5d08d53c27 👽 update auth header 2020-10-25 14:42:46 +08:00
yanyongyu
32388d070d 🎨 improve command implementation 2020-10-22 22:08:19 +08:00
yanyongyu
d9f8bf38c6 🐛 fix matcher group send 2020-10-22 00:00:29 +08:00
yanyongyu
24141b1a4b 🎨 remove shebang line #31 2020-10-20 22:40:16 +08:00
yanyongyu
308824d0b1 🐛 fix matcher group args parser 2020-10-20 00:01:26 +08:00
yanyongyu
7c17412106 💡 add plugin docstring 2020-10-18 15:04:45 +08:00
yanyongyu
26207f762b 🏷️ fix class inherit in pyi 2020-10-18 15:02:56 +08:00
yanyongyu
56c9c24dc6 add kwargs support for matcher send/finish/pause/reject 2020-10-17 19:50:25 +08:00
yanyongyu
1d79ac232f 🐛 fix missing param for on event 2020-10-16 15:12:15 +08:00
yanyongyu
0a64959973 💡 add driver docstring 2020-10-16 01:10:46 +08:00
yanyongyu
b4e0034876 💡 add driver docstring 2020-10-10 23:40:01 +08:00
yanyongyu
1377f7337d 🚑 fix message segment setitem 2020-10-09 00:57:30 +08:00
yanyongyu
f164d85c5c 🐛 fix message segment getitem 2020-10-09 00:10:50 +08:00
yanyongyu
ce758a2231 📝 add nonebot quick import doc 2020-10-08 21:36:57 +08:00
yanyongyu
1d31e646ad 🔇 reduce log for meta event #21 2020-10-08 21:25:13 +08:00
yanyongyu
927a963d4f 🐛 fix nickname 2020-10-06 22:29:05 +08:00
yanyongyu
727eef9a34 💡 add matcher docstring 2020-10-06 17:03:05 +08:00
yanyongyu
9f8d009309 add matcher.send method 2020-10-06 16:24:04 +08:00
yanyongyu
734d3cd333 💡 update docstring for several modules 2020-10-06 02:08:48 +08:00
yanyongyu
2e989b5fe1 💡 add matcher docstring 2020-10-05 23:10:20 +08:00
yanyongyu
781d0cf654 ⚗️ rewrite echo and say builtin plugin 2020-10-04 18:10:01 +08:00
yanyongyu
0a11bd3e8e ✏️ fix cqhttp sub_type typo 2020-10-04 16:27:58 +08:00
yanyongyu
2574ef3e7a 💡 add message docstring 2020-10-03 18:18:43 +08:00
yanyongyu
c7f1859d99 🐛 fix white space before plain text #18 2020-10-03 14:56:38 +08:00
yanyongyu
d71260ed68 🐛 fix group attrs 2020-10-02 00:28:53 +08:00
yanyongyu
3e4dc1a123 💡 add adapter docstring 2020-10-01 23:52:56 +08:00
yanyongyu
1016986663 🔖 Pre Release 2.0.0a2 2020-10-01 00:55:03 +08:00
yanyongyu
ef29280585 💡 add escape_tag docstring 2020-10-01 00:39:44 +08:00
yanyongyu
921acff09e 🐛 fix logger escape tag #14 2020-09-30 18:01:31 +08:00
yanyongyu
edc3aadbb5 💡 add cqhttp event 2020-09-29 23:10:29 +08:00
yanyongyu
f3986ace51 💡 add cqhttp docstring 2020-09-29 22:33:08 +08:00
yanyongyu
0eafedefa1 🏷️ update cqhttp.pyi 2020-09-29 22:32:15 +08:00
yanyongyu
00f22e5f05 🏷️ update pyi files 2020-09-28 12:45:55 +08:00
yanyongyu
e13561c374 🏷️ add typing for plugin 2020-09-28 00:09:12 +08:00
yanyongyu
2921ba0120 add command alias/group test 2020-09-27 23:52:03 +08:00
yanyongyu
e0cba7c20c 🎨 add command group to entry file 2020-09-27 18:20:39 +08:00
yanyongyu
2042097f83 🎨 change args into optional 2020-09-27 18:05:13 +08:00
yanyongyu
3dc95b904f ⚗️ add command alias and group #11 2020-09-27 17:55:28 +08:00
yanyongyu
ecbe465232 ⚗️ add matcher group #11 2020-09-27 13:34:16 +08:00
yanyongyu
2e87c40434 🐛 fix error ws closing 2020-09-27 12:37:15 +08:00
yanyongyu
3467eb3c29 🚑 (Close #12)fix matcher key parser 2020-09-26 17:36:04 +08:00
yanyongyu
457fdfb057 🏷️ update cqhttp pyi 2020-09-26 16:33:57 +08:00
yanyongyu
44fef77288 🚑 fix matcher key parser 2020-09-26 16:33:30 +08:00
yanyongyu
bbeea86fd5 🏷️ update pyi 2020-09-26 14:40:08 +08:00
yanyongyu
e68ce8b3a9 🐛 fix args_parser: dont ignore if exists 2020-09-22 11:28:38 +08:00
yanyongyu
342d879add 📝 add matcher tutorial 2020-09-22 00:18:57 +08:00
yanyongyu
7207b8c8d7 ✏️ fix typo 2020-09-17 18:21:13 +08:00
yanyongyu
44722a11d3 🔒 fix wrong auth check 2020-09-15 14:48:15 +08:00
yanyongyu
50601934b9 🔧 load extra config value from env if empty in file 2020-09-14 22:38:03 +08:00
yanyongyu
adc69a2763 🔊 fix error uncatched in bot.handle_message 2020-09-14 21:51:40 +08:00
yanyongyu
c2badaec42 📝 add getting started guide 2020-09-14 21:40:05 +08:00
yanyongyu
fe35e8956b 💡 add permission docstring 2020-09-14 20:48:03 +08:00
yanyongyu
75df494de2 using set for rule and perm 2020-09-13 22:36:40 +08:00
yanyongyu
b36acc94f1 🐛 fix reply 2020-09-13 15:21:49 +08:00
yanyongyu
f79eabdc61 💡 add rule utils docstring 2020-09-13 13:01:23 +08:00
yanyongyu
ce2700c1d2 💡 add utils docstring 2020-09-13 00:43:31 +08:00
yanyongyu
60c70804ed 💡 add scheduler docstring 2020-09-13 00:18:31 +08:00
yanyongyu
4a890298db add apscheduler 2020-09-12 13:34:36 +08:00
yanyongyu
bd7aaa94c6 🐛 fix: strip after at bot 2020-09-10 18:31:53 +08:00
yanyongyu
6d37417d21 🏗️ make event handling in background 2020-09-08 15:55:53 +08:00
yanyongyu
b3a796e726 🐛 fix: key erro when command not found 2020-09-08 14:36:21 +08:00
yanyongyu
e0e23283c1 🏗️ store plugin info as dataclass 2020-08-29 22:32:40 +08:00
yanyongyu
f5b655ef71 🔧 change command and add builtin plugin 2020-08-29 21:59:36 +08:00
yanyongyu
def5caedbc check for reply 2020-08-28 11:54:21 +08:00
yanyongyu
43bd9d0a96 🔊 add more logs 2020-08-27 16:43:58 +08:00
yanyongyu
858098b946 🔊 change log types 2020-08-27 13:27:42 +08:00
yanyongyu
1f09023f66 🔊 change logger into loguru 2020-08-26 22:55:42 +08:00
yanyongyu
777343ac1a 🏷️ Add typing for cqhttp api 2020-08-26 17:47:36 +08:00
yanyongyu
24e03ed0e7 ⬆️ Update to cqhttp v11 2020-08-26 14:43:27 +08:00
yanyongyu
cef3a8236e add more logs 2020-08-25 18:02:18 +08:00
yanyongyu
c5ea8bc1c3 add contextvars and fix mutable default args 2020-08-25 15:23:10 +08:00
AsakuraMizu
60916434d6 Merge branch 'master' of https://github.com/nonebot/nonebot2 into fix_command_type 2020-08-24 23:11:53 +08:00
yanyongyu
6412840376 merge bug fix 2020-08-24 18:11:19 +08:00
yanyongyu
eaa9b98bd9 fix several bugs 2020-08-24 17:59:36 +08:00
AsakuraMizu
2e7c86dc23 fix command type 2020-08-23 20:01:58 +08:00
water_lift
d68fbdbacf
add py.typed 2020-08-23 19:17:41 +08:00
yanyongyu
a895089a8b fix some bug 2020-08-23 10:45:26 +08:00
yanyongyu
87a848d8c3 fix matcher decos 2020-08-22 15:22:46 +08:00
yanyongyu
5871330492 fix fastapi run bug 2020-08-22 14:11:04 +08:00
yanyongyu
e86362572b add check for self_id 2020-08-21 16:59:41 +08:00
yanyongyu
b99c9688e2 fix ws reverse 2020-08-21 15:42:33 +08:00
yanyongyu
c1d0eae34b make matcher running concurrently and add to me checking 2020-08-21 14:24:32 +08:00
yanyongyu
c01d3c7ca1 add matcher type 2020-08-20 17:15:05 +08:00
yanyongyu
26c697f5e4 add auth check and config docs 2020-08-20 16:34:07 +08:00
yanyongyu
02ca49f6d0 add log and config docs 2020-08-20 15:07:05 +08:00
yanyongyu
1d982fc77b add typing docs 2020-08-19 23:00:31 +08:00
yanyongyu
5e3d1c76cc add nonebot.typing docs 2020-08-19 20:29:37 +08:00
yanyongyu
e523aa8d89 add doc for __init__.py 2020-08-18 17:25:00 +08:00
yanyongyu
76cfe34fa5 add some matcher function like nb1 session 2020-08-18 11:28:33 +08:00
yanyongyu
6435e29e8b add permission and command 2020-08-17 16:09:41 +08:00
yanyongyu
865fd6af4c fix nonebot-test 2020-08-15 17:47:50 +08:00
yanyongyu
c4a5cfb513 change plugin load 2020-08-15 17:22:10 +08:00
yanyongyu
1dcc43161a change rule 2020-08-14 17:41:24 +08:00
yanyongyu
04f4d5028e fix config and import nonebot-test 2020-08-13 18:18:00 +08:00
yanyongyu
0eb5f51d2c add driver type prop 2020-08-13 15:56:09 +08:00
yanyongyu
e7f9b2c229 websocket api 2020-08-13 15:23:04 +08:00
yanyongyu
879904a0f5 change event 2020-08-11 16:54:45 +08:00
yanyongyu
b32d4a24d1 add startup shutdown deco 2020-08-11 10:44:05 +08:00