Commit Graph

58 Commits

Author SHA1 Message Date
yanyongyu
b4d12d905d ⚗️ change permission to use handler 2021-11-21 12:36:44 +08:00
yanyongyu
471d306e13 ⚗️ change rule to use handler 2021-11-19 18:18:53 +08:00
yanyongyu
dc31afbd18 improve command rule types 2021-11-17 00:27:58 +08:00
yanyongyu
0a1ae75b70 finish matcher process 2021-11-14 21:01:28 +08:00
yanyongyu
92a411e3b4 🎨 isort format code 2021-09-27 00:19:30 +08:00
ishkong
ed1f1c27e2
🐛 Fix endswith match bug 2021-08-29 19:18:36 +08:00
Muchan
f87c23c9a7 🐛 fix duplicated help 2021-06-17 10:14:36 +08:00
yanyongyu
accbf57776 🚨 remove some linter warning 2021-05-31 01:06:56 +08:00
yanyongyu
d1a438a287 ⚗️ support tuple prefix in startswith 2021-04-04 12:28:10 +08:00
yanyongyu
0d467d9275 add startswith endswith ignorecase option #312 2021-04-04 12:19:03 +08:00
yanyongyu
1f585d8bcb store message in ParserExit exception 2021-03-26 11:25:13 +08:00
yanyongyu
b861149e0b add argparse help message 2021-03-25 18:22:56 +08:00
yanyongyu
217b1a5fac revert command change 2021-02-07 20:57:08 +08:00
Mix
bdd9f5ae30 🐛 fix bad type hinting 2021-02-07 02:27:09 +08:00
Mix
abcdbc4de9 💥 🐛 add support for non-plaintext start message 2021-02-07 02:21:31 +08:00
yanyongyu
98b67ad829 📝 update docstring 2021-02-02 12:39:23 +08:00
yanyongyu
a54fd2f235 💡 update docstring 2021-02-02 12:15:20 +08:00
Ju4tCode
c9a8e7ff0d
Merge branch 'dev' into master 2021-02-02 12:04:01 +08:00
yanyongyu
9e4e9f29d1 rewrite shell command 2021-02-02 11:59:14 +08:00
AkiraXie
f8fb36a1f7 Support shell-like command 2021-02-02 01:20:36 +08:00
yanyongyu
f6c24ec92f 🐛 change matcher check-run 2021-02-01 11:42:05 +08:00
yanyongyu
49201f5346 📝 update doc 2020-12-31 17:58:09 +08:00
yanyongyu
799144e64d finish typing change 2020-12-17 21:09:30 +08:00
yanyongyu
72653c6116 🚧 update messages 2020-12-10 02:13:25 +08:00
yanyongyu
783efeaf0e 🚧 add event parser 2020-12-09 19:57:49 +08:00
yanyongyu
6b3f6a46e6 🎨 impove typing 2020-12-07 00:06:09 +08:00
yanyongyu
629eed08b6 🎨 update typing support 2020-12-06 02:30:19 +08:00
Artin
f332199baa ♻️ Encapsulation MessageSegment
close: #93
2020-12-03 00:57:02 +08:00
yanyongyu
e5463cc564 🎨 format docstring 2020-11-30 11:08:00 +08:00
yanyongyu
89c3aa38a6 🎨 allow multi value for keyword rule 2020-10-30 16:26:04 +08:00
Ju4tCode
5d9f354209
🔀 Merge pull request #37 2020-10-28 13:49:53 +08:00
Ju4tCode
c3bd8ebf57
🚧 change result store 2020-10-28 13:45:54 +08:00
Ju4tCode
47f491039c
💡 update regex docstring 2020-10-28 13:23:48 +08:00
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
32388d070d 🎨 improve command implementation 2020-10-22 22:08:19 +08:00
yanyongyu
24141b1a4b 🎨 remove shebang line #31 2020-10-20 22:40:16 +08:00
yanyongyu
7c17412106 💡 add plugin docstring 2020-10-18 15:04:45 +08:00
yanyongyu
734d3cd333 💡 update docstring for several modules 2020-10-06 02:08:48 +08:00
yanyongyu
2042097f83 🎨 change args into optional 2020-09-27 18:05:13 +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
f79eabdc61 💡 add rule utils docstring 2020-09-13 13:01:23 +08:00
yanyongyu
b3a796e726 🐛 fix: key erro when command not found 2020-09-08 14:36:21 +08:00
yanyongyu
f5b655ef71 🔧 change command and add builtin plugin 2020-08-29 21:59:36 +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
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
yanyongyu
a895089a8b fix some bug 2020-08-23 10:45:26 +08:00
yanyongyu
6435e29e8b add permission and command 2020-08-17 16:09:41 +08:00