Commit Graph

407 Commits

Author SHA1 Message Date
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