Commit Graph

1160 Commits

Author SHA1 Message Date
Richard Chien
838213d438 Check nickname before parsing command, allowing users call commands with nickname instead of explicit "at" 2019-02-21 21:41:17 +08:00
Richard Chien
fdc7327a0c Allow no space nor comma between nickname and message body 2019-02-14 21:56:28 +08:00
Richard Chien
0fd3cc0365 Bump version to 1.2.3 2019-02-03 11:53:10 +08:00
Richard Chien
c1486ebbbe Move scheduler staring to Quart's before serving hook 2019-02-03 11:49:59 +08:00
Richard Chien
bfba4d1bd4 Remove a useless parameter 2019-02-02 21:22:14 +08:00
Richard Chien
6857d0d2df Bump version to 1.2.2 2019-02-01 19:45:35 +08:00
Richard Chien
23d0a57a5f Update docs 2019-02-01 19:45:23 +08:00
Richard Chien
9190b65b6d Allow positional arguments while rendering expressions 2019-02-01 19:39:09 +08:00
Richard Chien
7860c02973 Fix bug of IntentCommand 2019-02-01 19:38:50 +08:00
Richard Chien
b37ead1640 Fix docs 2019-01-27 16:26:37 +08:00
Richard Chien
e22e4a019f Update docs 2019-01-26 22:21:51 +08:00
Richard Chien
00ff96aed0 Fix bug of context_id() 2019-01-26 20:41:22 +08:00
Richard Chien
7713dc3be8 Update builtin plugins 2019-01-26 16:43:02 +08:00
Richard Chien
0256ae4216 Fix setup.py 2019-01-25 22:41:59 +08:00
Richard Chien
c4ce046b96 Bump version to 1.2.0 2019-01-25 22:35:30 +08:00
Richard Chien
541a41d00c Update docs 2019-01-25 22:35:20 +08:00
Richard Chien
0ecaa57230 Fix detail behavior 2019-01-25 22:30:35 +08:00
Richard Chien
189cf23720 Adjust 2019-01-25 21:55:07 +08:00
Richard Chien
bd1c272eec Adjust type hints 2019-01-25 19:11:18 +08:00
Richard Chien
78d48fb163 Rearrange some code 2019-01-25 18:51:42 +08:00
Richard Chien
d88eda7c66 Revert "Add deprecate comment"
This reverts commit 366d7d9b
2019-01-25 18:30:44 +08:00
Richard Chien
366d7d9bfd Add deprecate comment 2019-01-25 18:29:48 +08:00
Richard Chien
ca49aa7c98 Add default behavior while there is no args_parser_func 2019-01-25 16:37:50 +08:00
Richard Chien
128cb8ce29 Adjust 2019-01-25 16:25:00 +08:00
Richard Chien
218a6c5665 Fix setup.py to include stub files 2019-01-25 16:03:08 +08:00
Richard Chien
347318aaaa Use stub file to keep class CommandGroup clean 2019-01-25 15:29:30 +08:00
Richard Chien
ae35c2e08a Keep send_kwargs through get() and argument filter 2019-01-25 14:03:57 +08:00
Richard Chien
1fd740d223 Make current_arg_text and current_arg_images readonly properties 2019-01-25 13:48:28 +08:00
Richard Chien
73838ac46a Add comment 2019-01-25 13:29:15 +08:00
Richard Chien
368b6290b3 Add default validation failure expression config 2019-01-25 12:59:06 +08:00
Richard Chien
0079cd1876 Use functions to implement validators 2019-01-25 12:57:28 +08:00
Richard Chien
f8ecc7bba1 Implement argument filters 2019-01-25 00:14:30 +08:00
Richard Chien
6b6daf7235 Add State_T 2019-01-25 00:13:53 +08:00
Richard Chien
41803be7d8 Import context_id() to nonebot module 2019-01-24 22:33:41 +08:00
Richard Chien
322852d4cf Fix typo 2019-01-24 17:04:20 +08:00
Richard Chien
f1aa28e14b Update comments 2019-01-21 22:01:47 +08:00
Richard Chien
35ba57c059 Add class IntentCommand to replace class NLPResult 2019-01-21 21:31:26 +08:00
Richard Chien
9d138a0595 Add docs for writing "usage" command 2019-01-21 15:25:45 +08:00
Richard Chien
f8ec3ace43 Update changelog 2019-01-21 10:40:53 +08:00
Richard Chien
04219275d0 Add "usage" command demo 2019-01-21 10:39:06 +08:00
Richard Chien
0a3d07b70e Fix to_me while in a session 2019-01-21 10:38:48 +08:00
Richard Chien
9359904fe7 Fix unhashable __plugin_usage__ bug 2019-01-09 21:29:10 +08:00
Richard Chien
251e80b81b Bump version to 1.1.0 2019-01-06 22:02:11 +08:00
Richard Chien
dd58241bb0 Update docs 2019-01-06 21:50:45 +08:00
Richard Chien
3ab3904d60 Allow "at" segment at the end of messages 2019-01-06 21:38:48 +08:00
Richard Chien
f494e5db47 Fix typo 2019-01-06 14:10:10 +08:00
Richard Chien
06553c454b Log self_id while receiving messages 2019-01-05 22:41:15 +08:00
Richard Chien
99fd832441 Update docs 2019-01-05 22:36:55 +08:00
Richard Chien
16c15bca41 Add BaseSession.self_id property 2019-01-05 22:36:47 +08:00
Richard Chien
1b6567afe1 Update docs 2019-01-05 21:46:29 +08:00