yanyongyu
|
761d725aed
|
change Matcher class
|
2020-05-05 16:11:05 +08:00 |
|
yanyongyu
|
06b7ef2a45
|
init version 2
|
2020-05-02 20:03:36 +08:00 |
|
yanyongyu
|
51a2ca0841
|
fix remove command and update api docs
|
2020-04-27 11:38:59 +08:00 |
|
yanyongyu
|
39804852a8
|
fix plugin reload and update docs
|
2020-04-22 20:38:51 +08:00 |
|
yanyongyu
|
4794a4bacb
|
fix import
|
2020-04-22 13:55:50 +08:00 |
|
yanyongyu
|
4f9a9136f9
|
move decorators to plugin module
|
2020-04-20 13:50:38 +08:00 |
|
yanyongyu
|
9fbd09331c
|
fix docstring missing for nlp and event handler
|
2020-04-11 23:04:31 +08:00 |
|
yanyongyu
|
a67fa5107c
|
fix docstring missing for command handler
|
2020-04-11 22:53:30 +08:00 |
|
yanyongyu
|
8ae248738e
|
add more manage func
|
2020-04-11 14:56:39 +08:00 |
|
yanyongyu
|
52b2f635ad
|
add manager objects
|
2020-04-07 21:58:10 +08:00 |
|
Richard Chien
|
6b288f0e60
|
adjust on_websocket_connect
|
2020-03-16 21:04:43 +08:00 |
|
Richard Chien
|
cfce94e890
|
add on_startup and on_websocket_connect
|
2020-03-16 20:50:20 +08:00 |
|
Richard Chien
|
0ac6a03f0a
|
restore Context_T for compatibility
|
2020-03-16 20:24:50 +08:00 |
|
Richard Chien
|
035782715f
|
adjust log content
|
2020-03-16 16:55:56 +08:00 |
|
Richard Chien
|
9b54af70e6
|
rename session.ctx to session.event for consistency
|
2020-03-15 22:48:22 +08:00 |
|
Richard Chien
|
c366e6c950
|
fix docstring of command handler function
|
2020-03-14 22:45:17 +08:00 |
|
Richard Chien
|
0b7980a4a4
|
reformat
|
2020-02-24 14:12:51 +08:00 |
|
Mix
|
22462c8ed6
|
Update __init__.py
把格式改回来
|
2020-02-22 18:09:21 +08:00 |
|
Mix
|
bdb64569e7
|
Update __init__.py
修复CommandSession.pause和CommandSession.finish在多线程环境下可能运行出错的bug
|
2020-02-22 10:03:50 +08:00 |
|
Mix
|
6166ee10f5
|
Update message.py
删掉一个不知道从哪冒出来的一段
|
2020-02-21 18:48:55 +08:00 |
|
Mix
|
4bb1ea7c35
|
Update message.py
不好意思犯了脑抽错误……
|
2020-02-21 18:37:19 +08:00 |
|
Mix
|
cd7749936e
|
Update message.py
优化日志输出多行消息的方法,使得收到的消息显示在一行中,便于日志记录
|
2020-02-21 18:20:57 +08:00 |
|
Richard Chien
|
d363cea58f
|
Warn if failed to register command
|
2020-02-14 17:03:54 +08:00 |
|
Richard Chien
|
f7e4223dc6
|
Support str type for aliases
|
2020-02-14 16:44:22 +08:00 |
|
Richard Chien
|
9a818f781b
|
Reformat
|
2020-02-14 11:05:38 +08:00 |
|
hemengyang
|
4d1d9c50f3
|
Update helpers.py
Fix ValueError: too many values to unpack (expected 2)
|
2020-02-14 09:33:46 +08:00 |
|
Richard Chien
|
76f1dfc2a5
|
Fix #98
|
2020-02-10 13:26:33 +08:00 |
|
Richard Chien
|
3d030fdd03
|
Escape *args in render_expression, fix #86
|
2020-02-10 12:43:04 +08:00 |
|
Richard Chien
|
932d178c15
|
Fix compatibility with Quart 0.11
|
2020-02-10 12:17:00 +08:00 |
|
Richard Chien
|
c2de849ea7
|
Update natural_language.py
|
2019-07-01 09:59:49 +08:00 |
|
Yorushika
|
a3c40092d9
|
add type check for argument keywords
|
2019-06-27 14:36:15 +08:00 |
|
Richard Chien
|
569b3b5803
|
Add missing type hints
|
2019-02-22 17:49:52 +08:00 |
|
Richard Chien
|
5986afb200
|
Add max validation failures check of command arguments
|
2019-02-21 22:23:43 +08:00 |
|
Richard Chien
|
635fc70756
|
Fix bug of handle_cancellation()
|
2019-02-21 22:20:31 +08:00 |
|
Richard Chien
|
ab4d12d214
|
Add argfilter type "controllers"
|
2019-02-21 21:57:05 +08:00 |
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
3ab3904d60
|
Allow "at" segment at the end of messages
|
2019-01-06 21:38:48 +08:00 |
|
Richard Chien
|
06553c454b
|
Log self_id while receiving messages
|
2019-01-05 22:41:15 +08:00 |
|
Richard Chien
|
16c15bca41
|
Add BaseSession.self_id property
|
2019-01-05 22:36:47 +08:00 |
|
Richard Chien
|
245c0db3c7
|
Add return value to Session.send()
|
2019-01-05 21:36:57 +08:00 |
|
Richard Chien
|
07aa0b81f7
|
Update plugin module
|
2019-01-05 21:03:36 +08:00 |
|
Richard Chien
|
2e2ac2304c
|
Add comment
|
2019-01-03 20:04:31 +08:00 |
|
Richard Chien
|
17ce1e8e67
|
Improve Plugin class
|
2019-01-03 20:03:14 +08:00 |
|
Richard Chien
|
a20996d83a
|
Add get_loaded_plugins() function
|
2019-01-03 19:58:56 +08:00 |
|
Richard Chien
|
a2469b45f4
|
Adjust kill_current_session() function
|
2018-12-27 20:33:28 +08:00 |
|
Richard Chien
|
663797219a
|
Rename package to "nonebot"
|
2018-12-27 20:23:45 +08:00 |
|