Commit Graph

766 Commits

Author SHA1 Message Date
StarHeart
edb7c79acf
📝 typo 2021-06-15 09:53:25 +08:00
yanyongyu
76c830739c 🎨 change reverse driver abstract methods 2021-06-15 01:23:12 +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
b2f5f93603 🐛 fix error inherit state in session when using state_factory 2021-05-31 21:54:17 +08:00
yanyongyu
830276d110 🐛 fix state error when matcher update(fix #397) 2021-05-31 21:49:25 +08:00
yanyongyu
accbf57776 🚨 remove some linter warning 2021-05-31 01:06:56 +08:00
yanyongyu
62c0dd6e74 💡 add docstring 2021-05-31 00:27:31 +08:00
yanyongyu
916bb5b0e6 💡 update docstring 2021-05-30 11:07:27 +08:00
yanyongyu
45e1126f37 🐛 fix missing update when reject or pause (fix #394) 2021-05-30 10:55:34 +08:00
yanyongyu
c4b83a60f1 🚧 add http request and response class 2021-05-27 01:01:58 +08:00
StarHeart
e659b4b2b6
🐛 typo 2021-05-25 20:46:27 +08:00
yanyongyu
918b375ece 💥 drop self_id call_api support 2021-05-24 16:49:27 +08:00
StarHeartHunt
3939dfa024 🙈 ignore .DS_Store 2021-05-22 11:27:16 +08:00
yanyongyu
8680a954f8 ♻️ separate driver 2021-05-21 17:06:20 +08:00
yanyongyu
61512ff01f 🏷️ add type hint for logger 2021-05-21 15:15:04 +08:00
yanyongyu
faf7a3b500 📝 update doc 2021-05-10 18:42:32 +08:00
yanyongyu
41c5ac0ac7 improve plugin matcher system 2021-05-10 18:39:59 +08:00
yanyongyu
f8ad9ef278 ⚗️ support segment typing for message 2021-05-10 00:54:15 +08:00
yanyongyu
9052214e6d raise ImportError when exec_module 2021-04-21 18:26:58 +08:00
Ju4tCode
4ba6ff106c
Merge pull request #334 from nonebot/yanyongyu/issue332
Fix: log module name error
2021-04-19 21:50:11 +08:00
yanyongyu
64d51448b8 🐛 fix log module name error 2021-04-19 21:43:28 +08:00
yanyongyu
79d3bbcdfe 🔊 change log level add level config 2021-04-19 21:15:10 +08:00
Ju4tCode
92b035bea8
🔀 Merge pull request #322
New: `handle_event` will return excecption
2021-04-09 12:50:47 +08:00
yanyongyu
9801a8cebd 🎨 format code 2021-04-09 12:26:27 +08:00
Mix
f5a22b3d4b
🥅 return event handling exception 2021-04-08 23:35:08 +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
c402b7599f 🐛 fix missing matcher when load external plugin with dot 2021-04-03 17:32:01 +08:00
yanyongyu
e425571b08 🐛 fix protocol not found in py37 2021-04-02 01:17:33 +08:00
yanyongyu
85f0023350 🔥 improve matcher store 2021-04-02 01:09:40 +08:00
yanyongyu
0eadf5f4e9 🐛 fix load error 2021-04-02 00:05:27 +08:00
yanyongyu
f0a6ff4627 ⚗️ add called api hook 2021-04-01 20:23:55 +08:00
yanyongyu
fcb1c5d316 🚑 fix matcher got recursion 2021-04-01 20:05:31 +08:00
yanyongyu
59ec5bacde 📝 update changelog 2021-03-31 21:20:07 +08:00
yanyongyu
ca08c56df7 🐛 fix import hook export 2021-03-31 20:38:00 +08:00
yanyongyu
8f99b01fb5 ⚗️ add call_api hook 2021-03-31 16:53:10 +08:00
yanyongyu
43b185a3b8 🔊 add log for event handle 2021-03-27 14:42:43 +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
f00ce8b4f6 🐛 matcher.send returned none 2021-03-24 00:28:37 +08:00
yanyongyu
45199a247b 🐛 fix plugin matcher data 2021-03-22 16:41:29 +08:00
yanyongyu
f0a8b47c06 💩 remove __manager__ 2021-03-22 01:23:09 +08:00
yanyongyu
6371cd6bfe 🐛 fix error matcher module when import 2021-03-22 01:15:15 +08:00
yanyongyu
1527fb55f5 💡 update handler docstring 2021-03-20 16:33:16 +08:00
yanyongyu
2166595e50 🐛 fix cqhttp secret checking #289 2021-03-20 14:49:58 +08:00
yanyongyu
22033e1cfb 🐛 fix typing 2021-03-19 15:02:01 +08:00
yanyongyu
fc334ec7b9 add logger id 2021-03-19 00:24:38 +08:00
yanyongyu
e7dc4e1eec ⚗️ finish handler class 2021-03-18 21:30:52 +08:00
yanyongyu
6bd12b7f2c ⚗️ add handler class 2021-03-18 19:16:18 +08:00
yanyongyu
62135dc117 🔊 fix logger color tag 2021-03-16 16:20:58 +08:00
yanyongyu
211c571508 🐛 fix reimport by require 2021-03-13 18:21:56 +08:00
yanyongyu
785eac1345 🏷️ fix regex rule typing error 2021-03-13 15:35:13 +08:00
yanyongyu
bb64c6fb71 🐛 fix type and permission updater 2021-03-12 16:28:56 +08:00
StarHeart
efacff698d
🐛 typo 2021-03-11 10:55:18 +08:00
yanyongyu
ac613b5839 🐛 fix subplugin detect bug 2021-03-06 22:25:50 +08:00
yanyongyu
33412f9bd2 ⚗️ add reload dir config for fastapi 2021-03-06 11:56:58 +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
b23e845726 ⬆️ fit pydantic 1.8 2021-03-01 00:30:06 +08:00
yanyongyu
dc38a98180 ⬆️ bump and fit pydantic 1.8 2021-02-28 00:35:40 +08:00
yanyongyu
8c9e096a84 🐛 ignore adapter register with same name 2021-02-26 17:22:39 +08:00
Ju4tCode
19a780eabb
🔀 Merge pull request #242
Docs: update how-to-work doc
2021-02-26 17:06:26 +08:00
yanyongyu
3c312d9759 📝 update how to work doc
Co-authored-by: AkiraXie <l997460364@outlook.com>
2021-02-26 17:00:38 +08:00
yanyongyu
bb37d757da 💡 remove comment 2021-02-26 12:03:48 +08:00
Ju4tCode
9ea80abf8c
🔀 Merge pull request #238
fix builtin plugin single session
2021-02-25 10:56:20 +08:00
AkiraXie
da290dad07 🥅 fix ValueError to Exception 2021-02-24 23:56:52 +08:00
AkiraXie
6f2b9a1d13 🐛 fix single_session bug 2021-02-24 22:21:47 +08:00
yanyongyu
04e11c3b3e 💡 update docstring 2021-02-24 17:56:43 +08:00
yanyongyu
eb8e5aa39d add plugin loading using json/toml 2021-02-24 17:48:08 +08:00
yanyongyu
507000b63b 🐛 fix command match #235 2021-02-23 22:50:25 +08:00
yanyongyu
f31318b7f4 🚸 wrap version with try 2021-02-22 10:44:42 +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
9bbadddfa9 🐛 fix sub plugin relative import 2021-02-20 11:09:16 +08:00
yanyongyu
247456df56 📝 update docs 2021-02-19 15:24:52 +08:00
yanyongyu
be674c0efc ⚗️ add load all plugin function 2021-02-19 15:15:46 +08:00
yanyongyu
f26fb9d6fb ⚗️ change import hook 2021-02-19 14:58:26 +08:00
yanyongyu
31b8a5ff77 🏗️ change nonebot project structure 2021-02-11 17:29:16 +08:00
yanyongyu
2b67b0f12e 🔇 remove unused type hint 2021-02-07 23:36:04 +08:00
Mix
0761a60443 🩹 fix reply process in mirai adapter 2021-02-07 21:28:58 +08:00
yanyongyu
217b1a5fac revert command change 2021-02-07 20:57:08 +08:00
yanyongyu
ef98a6f23c 🔖 bump version 2.0.0a10 2021-02-07 20:51:09 +08:00
Mix
f3b77a7f60 ✏️ fix typo in docs 2021-02-07 17:16:12 +08:00
Ju4tCode
a3fe3a1ad8
🔀 Merge pull request #199
Fix mirai adapter command process
2021-02-07 12:55:49 +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
Ju4tCode
458ddaa167
🔀 Merge pull request #196
New: Quart driver
2021-02-07 11:02:23 +08:00
Mix
b59ff03abf revert changes to change implement method
This reverts commit bf7b2a8cbe.
2021-02-07 10:15:18 +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
Mix
6cb9fda53a 🎨 remove unused imports 2021-02-06 11:43:01 +08:00
Mix
4f7a033b9c use dynamic routing in quart driver 2021-02-06 11:38:21 +08:00
Mix
86965ee06d 💡 add comments in quart driver 2021-02-06 11:15:30 +08:00
Mix
496f64f103 🐛 fix bugs in quart driver 2021-02-06 10:34:52 +08:00
Mix
9e0862bc97 finish quart driver implement 2021-02-06 09:41:17 +08:00
yanyongyu
bf7b2a8cbe matcher.send will return bot.send 2021-02-05 23:13:35 +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
yanyongyu
59bdd03b1e 🐛 fix rule override bug 2021-02-05 11:49:12 +08:00
yanyongyu
e6a68feb0c 🚑 hotfix missing return when rule check failed 2021-02-03 11:23:13 +08:00
yanyongyu
d913be5c0d 🐛 fix matcher 2021-02-02 12:48:16 +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
Ju4tCode
bbeeb11502
🔀 Merge pull request #179
New mah adapter
2021-02-01 21:16:20 +08:00
yanyongyu
00858416f9 🎨 format code and bump dependency 2021-02-01 20:58:12 +08:00
Mix
d6ae1ca01c 📄 add agpl v3 license for mirai adapter 2021-02-01 19:28:56 +08:00
Mix
ad3a08f514 💡 🗑️ remove some invalid comments in mirai adapter 2021-02-01 16:53:06 +08:00
Mix
c0fa137fed 🚸 add support of rule to_me in mirai adapter 2021-02-01 16:38:15 +08:00
Mix
5a63827f22 💬 💡 rename MiraiBot to Bot, fix a comment style 2021-02-01 16:38:15 +08:00
Mix
d2a62ebd3d 📝 💡 fix some typo and style in mirai adapter 2021-02-01 13:50:25 +08:00
Mix
8fe562e864 💡 🚸 complete comments and optimize usage in mirai adapter 2021-02-01 13:19:37 +08:00
yanyongyu
f6c24ec92f 🐛 change matcher check-run 2021-02-01 11:42:05 +08:00
Mix
56592fc413 🚧 💡 add comments for message etc. in mirai adapter 2021-02-01 01:04:41 +08:00
Mix
7c9cbe7b58 💬 💡 rename some dataclass, add comments for events in mirai adapter 2021-02-01 00:01:31 +08:00
Mix
858639bebe 💡 📝 add some comments in code, add document build struct for mirai adapter 2021-01-31 22:43:43 +08:00
Mix
a39785d6d9 💡 add some comments in mirai adapter 2021-01-31 18:00:40 +08:00
Mix
20b299c758 🚸 add .approve and .reject method for request event in mirai adapter 2021-01-31 17:01:04 +08:00
Mix
3f56da9245 🚧 add support of reverse post and forward ws for mirai adapter 2021-01-31 16:03:15 +08:00
Mix
73be9151b0 🚸 add factory classmethods in MessageSegment at mirai adapter 2021-01-30 21:51:51 +08:00
Mix
95f27824ee 🚧 add api methods define 2021-01-30 20:40:00 +08:00
Mix
c82ceefc8b revert call method to http post, add api handle 2021-01-30 19:11:17 +08:00
Mix
5b3ef53301 🎨 add support for on_bot_* event handler 2021-01-30 13:45:55 +08:00
Mix
8b3eb4e076 add retry for mirai adapter when websocket connection down 2021-01-30 13:36:31 +08:00
yanyongyu
b140ebd149 🐛 fix wrong data in CQ:share #170 2021-01-30 10:56:58 +08:00
Mix
5de41a18f9 🎨 sort imports in file 2021-01-30 06:10:04 +08:00
Mix
02af1c1227 🚧 finish forward websocket receive 2021-01-30 05:58:30 +08:00
Mix
0bb0d16d93 🚧 basically completed event serialize 2021-01-29 21:19:13 +08:00
Mix
5a9798121c 🚧 add some support for mirai basic events 2021-01-29 17:38:39 +08:00
Mix
8574b2ec72 🚧 start working on mirai-api-http adapter 2021-01-29 17:37:44 +08:00
Artin
27e06dd4e8 🐛 fix ding adapter
1. fix send `at_sender`
2. fix event parse error
3. `MessageSegment` add `atDingtalkIds`/`code`
2021-01-29 14:31:36 +08:00
yanyongyu
5e3f1b5435 new common config loading from .env 2021-01-27 11:39:34 +08:00
yanyongyu
2e75671d56 ⚗️ add processor to ensure single matcher 2021-01-26 15:03:37 +08:00
yanyongyu
f8304406c5 ⚗️ add new builtin plugin 2021-01-25 18:15:25 +08:00
yanyongyu
853b797cd9 🐛 change USER perm and temp matcher type 2021-01-24 18:16:18 +08:00
yanyongyu
109125b583 🐛 remove args in creating bot 2021-01-21 12:41:52 +08:00
yanyongyu
9685a4b1bf ⚗️ seperate configs 2021-01-17 13:46:29 +08:00
yanyongyu
7c3b2b514a add request event approve reject 2021-01-16 11:47:48 +08:00
yanyongyu
fcac6f8a0f improve session id support 2021-01-16 11:10:54 +08:00
yanyongyu
a1d801ba14 ⚗️ new fastapi config settings 2021-01-12 18:02:05 +08:00
yanyongyu
9d047daef5 🚧 move cqhttp config into adapter 2021-01-12 17:55:27 +08:00
yanyongyu
01fa2ece6e 🐛 fix wrong space strip 2021-01-12 15:48:31 +08:00
yanyongyu
e7993a4485 🐛 fix plain text escaped 2021-01-08 18:14:18 +08:00
yanyongyu
b6bf477551 ⚗️ add got receive overload #142 2021-01-06 18:29:41 +08:00
Ju4tCode
a211f09a99
🔀 Merge pull request #143
fix config typo
2021-01-05 23:11:35 +08:00
yanyongyu
0c517acee2 ✏️ fix config typo 2021-01-05 23:06:36 +08:00
yanyongyu
60fd092410 🐛 fix none message 2021-01-05 12:12:41 +08:00
Artin
877fa1a75a 🐛 Fix cqhttp Message null parameter 2021-01-04 22:24:43 +08:00
yanyongyu
2218fa2b33 🐛 fix missing return after close ws 2021-01-04 18:09:42 +08:00
yanyongyu
bc5391d711 🐛 ensure message is not empty 2021-01-04 13:27:49 +08:00
yanyongyu
a4cb7f13be 🐛 fix error guess when reply to event #136 2021-01-02 14:42:13 +08:00
yanyongyu
4dffc879d9 🐛 fix incorrect remove temp matcher 2021-01-02 10:57:55 +08:00
yanyongyu
b446fcc929 🐛 fix action failed info display error 2021-01-01 18:18:01 +08:00
yanyongyu
5cc5375cb5 🐛 fix missing group_id when PokeNotifyEvent 2021-01-01 18:01:05 +08:00
Mix
fbaf19e454
:critical: fix group event serialization error 2021-01-01 15:16:55 +08:00
yanyongyu
49201f5346 📝 update doc 2020-12-31 17:58:09 +08:00
yanyongyu
938b5bf275 🐛 fix message construct typing and plugins loading 2020-12-31 14:00:59 +08:00
Ju4tCode
a98417a878
🔀 Merge pull request #127
Update ding adapter
2020-12-30 20:29:18 +08:00
yanyongyu
55f1bd1f2d ✏️ update code style 2020-12-30 20:08:22 +08:00
Artin
086a998b20 improve ding adapter
add tests/test_ding.py
add some log
2020-12-30 18:33:54 +08:00
yanyongyu
d4f344d247 improve command 2020-12-30 12:42:10 +08:00
yanyongyu
c8cd6de2f2 improve ding adapter 2020-12-30 00:36:29 +08:00
Artin
a5947922b6
Update nonebot/adapters/__init__.py
Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
2020-12-29 14:50:24 +08:00
Artin
13f6a692a7
Update nonebot/adapters/__init__.py
Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
2020-12-29 14:50:15 +08:00
Artin
f13befc4d8
Update nonebot/adapters/__init__.py
Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
2020-12-29 14:50:07 +08:00
Artin
1bdbbca12f Update ding adapter event logic 2020-12-29 12:12:35 +08:00
yanyongyu
ab61be26a9 improve radd support for messagesegment 2020-12-28 17:39:33 +08:00
yanyongyu
1c9df5ac02 🎨 change method into private 2020-12-28 13:59:54 +08:00
yanyongyu
299c259d50 🐛 fix hook block event receiving bug 2020-12-28 13:53:24 +08:00
yanyongyu
c993f15bca ⚗️ add ws connection hook 2020-12-28 13:36:00 +08:00
yanyongyu
2d63eb32e1 🚑 hotfix due to cq security problem 2020-12-28 00:24:18 +08:00
yanyongyu
2ae76ff78b ⚗️ new stop propagation method 2020-12-24 22:19:08 +08:00
yanyongyu
41663e1b08 🚧 update cqcode 2020-12-23 17:12:53 +08:00
yanyongyu
ab256e57b1 🐛 fix missing escape in builtin plugin #117 2020-12-22 20:12:00 +08:00
yanyongyu
44a15d684b ✏️ fix typo 2020-12-21 19:32:58 +08:00
yanyongyu
bc459b5ff4 🐛 fix non text cqcode not unescaped 2020-12-21 16:19:02 +08:00
yanyongyu
e44cde0600 add test case 2020-12-20 12:09:30 +08:00
yanyongyu
1b00fe7921 add state factory support #113 2020-12-20 11:59:51 +08:00
yanyongyu
4ec4adf003 💡 add adapter docstring 2020-12-19 15:30:34 +08:00
yanyongyu
a88a2f4a4f 🔊 revert log string 2020-12-19 14:16:47 +08:00
yanyongyu
a539fd0062 🔊 improve adapter not found log 2020-12-19 11:20:41 +08:00
yanyongyu
83addf045f improve actionfailed info 2020-12-19 00:50:17 +08:00
yanyongyu
00305a8436 🎨 change event log 2020-12-19 00:26:24 +08:00
yanyongyu
799144e64d finish typing change 2020-12-17 21:09:30 +08:00
yanyongyu
6bd69e6708 🐛 fix typing 2020-12-17 01:52:16 +08:00
yanyongyu
784bc7b0cf ⚗️ new dynamic handler args 2020-12-16 23:13:00 +08:00
yanyongyu
a63a5fea3c 🐛 fix invalid cq code catched 2020-12-16 13:35:34 +08:00
yanyongyu
e4377faa67 💄 update docs 2020-12-13 12:53:33 +08:00
yanyongyu
12ef3e7bf1 🚧 update cqhttp adapter event 2020-12-13 12:53:16 +08:00
yanyongyu
3d4adaa444 ⚗️ auto import plugin when require 2020-12-13 12:19:01 +08:00
yanyongyu
6c08982ca7 🚧 update process 2020-12-11 16:29:12 +08:00
yanyongyu
f4cea065d8 ✏️ fix validator 2020-12-10 21:33:51 +08:00
yanyongyu
72653c6116 🚧 update messages 2020-12-10 02:13:25 +08:00
yanyongyu
a57cd396fa 🚧 update cqhttp event parse 2020-12-10 00:39:43 +08:00
yanyongyu
783efeaf0e 🚧 add event parser 2020-12-09 19:57:49 +08:00
yanyongyu
2c97902f4e 🚧 update cqhttp bot 2020-12-09 17:51:24 +08:00
yanyongyu
2bc05b2576 🚧 update event models 2020-12-09 14:39:25 +08:00
yanyongyu
73bda494d9 🏗️ update cqhttp models 2020-12-09 13:20:14 +08:00
yanyongyu
ddf044d6d3 🏗️ add model for cqhttp 2020-12-09 11:13:37 +08:00
yanyongyu
f220a01a30 📝 update doc 2020-12-07 22:15:26 +08:00
yanyongyu
f8d0b691ec 📝 update docs typing 2020-12-07 14:09:43 +08:00
yanyongyu
e0d44f3fa7 📝 update api docs 2020-12-07 00:52:26 +08:00
yanyongyu
a420af75fc 🐛 fix type checking for bot 2020-12-07 00:31:14 +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
yanyongyu
3345142db2 🔥 remove useless noreturn 2020-12-05 20:32:38 +08:00
Mix
b1ab5d91a4
🐛 Fix some wrong type hint 2020-12-05 17:19:23 +08:00
yanyongyu
621f93f75a 📝 update nonebot docstring 2020-12-05 01:43:58 +08:00
yanyongyu
f6806c1d55 test matchergroup 2020-12-04 01:55:03 +08:00
yanyongyu
5b42454a55 add matcher group for plugin #90 2020-12-04 01:41:23 +08:00
Ju4tCode
0838cdfbe7
🎨 improve format 2020-12-03 19:24:55 +08:00
Ju4tCode
71c5cdc445
revert plain text 2020-12-03 19:12:46 +08:00
Artin
be244f4538 🐛 Fix Message._construct error 2020-12-03 18:47:58 +08:00
yanyongyu
afd01796aa 🚧 update ding adapter 2020-12-03 17:08:16 +08:00
yanyongyu
dc691889e3 🎨 improve cqhttp 2020-12-03 16:04:14 +08:00
yanyongyu
9658e446e5 🏗️ change exception structure 2020-12-03 15:07:03 +08:00
yanyongyu
7116532081 🚧 add exception 2020-12-03 13:22:12 +08:00
Artin
3638da7f2d 🐛 Fix ding adapter exception 2020-12-03 12:22:45 +08:00
Artin
e718f25c3f 🏷️ 完善 typing 及注释 2020-12-03 12:08:09 +08:00
Artin
8c5c02f040 🏷️ Update BaseEvent typing 2020-12-03 01:46:55 +08:00
Artin
edb4458031 Add ding adapter 2020-12-03 01:02:09 +08:00
Artin
f332199baa ♻️ Encapsulation MessageSegment
close: #93
2020-12-03 00:57:02 +08:00
Artin
8cda1b5417 ♻️ Split adapter by category 2020-12-03 00:56:25 +08:00
yanyongyu
064ed81758 📝 update adapter connection guide 2020-12-02 15:14:24 +08:00
yanyongyu
8601c61cd8 💄 update log style 2020-12-02 13:25:57 +08:00
yanyongyu
0738b275a5 💥 remove builtin adapter auto register 2020-12-02 13:17:27 +08:00
yanyongyu
ad994f04fc 💬 update cqhttp links 2020-12-01 11:03:08 +08:00
yanyongyu
d624f13f96 💥 remove nonebot test auto init 2020-12-01 10:44:58 +08:00
yanyongyu
38d502f7f5 💥 remove built-in scheduler support 2020-12-01 10:28:03 +08:00
yanyongyu
0775a232ce ✏️ fix docstring typo 2020-11-30 12:43:44 +08:00
yanyongyu
e5463cc564 🎨 format docstring 2020-11-30 11:08:00 +08:00
yanyongyu
d70f622a24 💡 update docstring 2020-11-21 20:50:33 +08:00
yanyongyu
9373bd09ed ⚗️ add export require option 2020-11-21 20:40:09 +08:00
yanyongyu
71fad44d23 get plugin func 2020-11-21 18:33:35 +08:00
yanyongyu
7b15d0d01f 🚑 fix not delete empty text 2020-11-20 12:53:31 +08:00
yanyongyu
7fdddf4d8f ✏️ fix typo 2020-11-20 01:37:53 +08:00
yanyongyu
a734790bcf 🐛 fix remain space after reply 2020-11-20 01:07:24 +08:00
yanyongyu
a5935e77c9 🚑 fix matcher check 2020-11-19 23:18:03 +08:00
yanyongyu
0b6a1ca1a4 🐛 fix #69 stop running expired matcher 2020-11-19 22:04:44 +08:00
Ju4tCode
e9127f505a
🔀 Merge pull request #67
dynamic propagation block
2020-11-19 21:36:52 +08:00
yanyongyu
49ad65f449 🐛 fix #66 resolve reply message 2020-11-19 21:21:54 +08:00
Muchan
8b3af9fb47 feat(message): 传递matcher抛出的StopPropagation 2020-11-19 20:53:28 +08:00
yanyongyu
9e1eee166b 🐛 fix index error when check to me 2020-11-19 13:57:49 +08:00
synodriver
03c7b59df5 修复了at机器人时的bug 2020-11-19 13:07:02 +08:00
hemengyang
31123b0573 修复阻止事件传递信号无效的问题 2020-11-18 14:43:12 +08:00
yanyongyu
872df975f5 ✏️ fix rst typo 2020-11-16 19:57:49 +08:00
yanyongyu
1c31453ba0 🔥 remove unused exception 2020-11-16 19:39:51 +08:00
yanyongyu
b3e6d1c803 💡 add message docstring 2020-11-16 15:06:37 +08:00
yanyongyu
829f085340 🐛 fix coding error 2020-11-16 12:35:04 +08:00
yanyongyu
6986232290 🎨 change temp matcher process #50 2020-11-16 11:25:42 +08:00
yanyongyu
730cb82eb7 🥚 add __version__ 2020-11-15 16:18:23 +08:00
yanyongyu
bc00c1be82 💡 add message docstring 2020-11-13 17:15:45 +08:00
yanyongyu
781ec1ef67 🚑 fix index error in cqhttp check to_me 2020-11-13 16:51:14 +08:00
yanyongyu
28e3177e60 💡 update source docstring #46 #49 2020-11-13 01:46:26 +08:00
yanyongyu
b2a2234d5c 🎨 change permission check from driver into adapter #46 2020-11-11 15:14:29 +08:00
Artin
c3c2c7935d ♻️ add adapters/cqhttp directory 2020-11-10 17:34:02 +08:00
yanyongyu
286036a936 ✏️ fix module docstring 2020-11-10 14:29:50 +08:00
yanyongyu
9b3dffaab9 ⚗️ add prompt format support 2020-11-09 16:34:14 +08:00
yanyongyu
746b608d10 ⚗️ add pre and post processor #40 2020-11-07 17:35:44 +08:00
yanyongyu
9d7da873c4 📝 add plugin load doc 2020-11-07 12:36:47 +08:00
yanyongyu
d9ea95c67e 🚑 fix message segment get 2020-11-01 19:20:18 +08:00
yanyongyu
70c7927006 💡 add docstring for cqhttp message 2020-10-30 16:49:31 +08:00
yanyongyu
89c3aa38a6 🎨 allow multi value for keyword rule 2020-10-30 16:26:04 +08:00
yanyongyu
06f20281a5 🔇 remove meta event logs #21 2020-10-29 17:06:07 +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
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