From 141d6e2dc3ea0c585f7b9235474959117cfe22ff Mon Sep 17 00:00:00 2001 From: snowykami Date: Fri, 6 Sep 2024 11:51:10 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20docs=20from=20@=20LiteyukiStud?= =?UTF-8?q?io/LiteyukiBot@a97747b7c4f6940060403a51bc8df716e8cf08a1=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 404.html | 4 +- assets/{app.BPfG2q4o.js => app.ChOa5xOx.js} | 2 +- assets/chunks/@localSearchIndexen.BcLUld7V.js | 1 + assets/chunks/@localSearchIndexen.DnsjWnxN.js | 1 - .../chunks/@localSearchIndexroot.B8WeOrAr.js | 1 - .../chunks/@localSearchIndexroot.C3h34E_f.js | 1 + ...B9OqmyVx.js => ContributorBar.jTMkL6UJ.js} | 2 +- ...6r1vRh.js => VPLocalSearchBox.N_ODFmQP.js} | 2 +- .../{theme.BaW5BF9l.js => theme.CUFI0Yt1.js} | 4 +- assets/dev_api_bot_index.md.CuMl1rvj.lean.js | 1 - ...vj.js => dev_api_bot_index.md.DNY8cUbE.js} | 105 +---------------- assets/dev_api_bot_index.md.DNY8cUbE.lean.js | 1 + assets/dev_api_bot_lifespan.md.DR2MDUz6.js | 104 ----------------- assets/dev_api_bot_lifespan.md.cXpYfBFa.js | 1 + ... dev_api_bot_lifespan.md.cXpYfBFa.lean.js} | 2 +- ...js => dev_api_comm_channel.md.Rby8KuoW.js} | 55 +-------- ... dev_api_comm_channel.md.Rby8KuoW.lean.js} | 2 +- ...W2E.js => dev_api_comm_rpc.md.CATS97wW.js} | 2 +- ...s => dev_api_comm_rpc.md.CATS97wW.lean.js} | 2 +- .../dev_api_comm_socks_channel.md.C9HkfsuW.js | 26 ----- .../dev_api_comm_socks_channel.md.DowR8ySw.js | 1 + ...pi_comm_socks_channel.md.DowR8ySw.lean.js} | 2 +- ...js => dev_api_comm_storage.md.BTq8RCp9.js} | 58 +--------- ... dev_api_comm_storage.md.BTq8RCp9.lean.js} | 2 +- ...q1UWB.js => dev_api_config.md.DBrWZGxB.js} | 38 +----- assets/dev_api_config.md.DBrWZGxB.lean.js | 1 + assets/dev_api_config.md.Dvcq1UWB.lean.js | 1 - ...js => dev_api_core_manager.md.CEfbZ5pK.js} | 31 +---- ... dev_api_core_manager.md.CEfbZ5pK.lean.js} | 2 +- ...js => dev_api_dev_observer.md.1UR7dS3y.js} | 16 +-- ... dev_api_dev_observer.md.1UR7dS3y.lean.js} | 2 +- ...5.js => dev_api_dev_plugin.md.C_CkUgwx.js} | 9 +- ...=> dev_api_dev_plugin.md.C_CkUgwx.lean.js} | 2 +- ...DEgtvOME.js => dev_api_log.md.CJtELCL9.js} | 5 - ...ean.js => dev_api_log.md.CJtELCL9.lean.js} | 0 .../dev_api_message_event.md.CCba4fQM.lean.js | 1 - ...s => dev_api_message_event.md.z4kIykti.js} | 25 +--- .../dev_api_message_event.md.z4kIykti.lean.js | 1 + ...=> dev_api_message_matcher.md.Dl6noJmI.js} | 22 +--- ...ev_api_message_matcher.md.Dl6noJmI.lean.js | 1 + ...ev_api_message_matcher.md.RkLnG-L_.lean.js | 1 - ...VTt-3m.js => dev_api_mkdoc.md.KHhZ0jbQ.js} | 38 ------ ...n.js => dev_api_mkdoc.md.KHhZ0jbQ.lean.js} | 0 assets/dev_api_plugin_index.md.BEvzlWex.js | 7 -- .../dev_api_plugin_index.md.BEvzlWex.lean.js | 1 - assets/dev_api_plugin_index.md.CcmFWY5K.js | 1 + .../dev_api_plugin_index.md.CcmFWY5K.lean.js | 1 + ....js => dev_api_plugin_load.md.CssacMr6.js} | 25 +--- ...> dev_api_plugin_load.md.CssacMr6.lean.js} | 2 +- ...plugins_plugin_loader_index.md.CY6QBGMz.js | 8 -- ...plugins_plugin_loader_index.md.VShWijpV.js | 1 + ...s_plugin_loader_index.md.VShWijpV.lean.js} | 2 +- ...jOjsY8.js => dev_api_utils.md.BCCrA2Tn.js} | 39 +------ ...n.js => dev_api_utils.md.BCCrA2Tn.lean.js} | 2 +- ...d.Bk5y8hUs.js => dev_guide.md.Dy0vCFVc.js} | 2 +- ....lean.js => dev_guide.md.Dy0vCFVc.lean.js} | 2 +- .../en_dev_api_bot_index.md.DL6mnrEN.lean.js | 1 - ...js => en_dev_api_bot_index.md.Etpbg95G.js} | 105 +---------------- .../en_dev_api_bot_index.md.Etpbg95G.lean.js | 1 + assets/en_dev_api_bot_lifespan.md.B5dt163D.js | 1 + ...n_dev_api_bot_lifespan.md.B5dt163D.lean.js | 1 + assets/en_dev_api_bot_lifespan.md.DTXU8rb1.js | 104 ----------------- ...n_dev_api_bot_lifespan.md.DTXU8rb1.lean.js | 1 - ...=> en_dev_api_comm_channel.md.Db8NECOS.js} | 51 -------- ..._dev_api_comm_channel.md.Db8NECOS.lean.js} | 0 ....js => en_dev_api_comm_rpc.md.CY-ENZCj.js} | 2 +- ...> en_dev_api_comm_rpc.md.CY-ENZCj.lean.js} | 2 +- ..._dev_api_comm_socks_channel.md.CndQIApl.js | 1 + ...api_comm_socks_channel.md.CndQIApl.lean.js | 1 + ..._dev_api_comm_socks_channel.md.CvJGb0kT.js | 26 ----- ...api_comm_socks_channel.md.CvJGb0kT.lean.js | 1 - ...=> en_dev_api_comm_storage.md.CBNLmX3O.js} | 54 --------- ..._dev_api_comm_storage.md.CBNLmX3O.lean.js} | 0 ...UD.js => en_dev_api_config.md.Dm7JCHCl.js} | 38 +----- assets/en_dev_api_config.md.Dm7JCHCl.lean.js | 1 + assets/en_dev_api_config.md.xYJgIkUD.lean.js | 1 - ...=> en_dev_api_core_manager.md.BEvIQjQG.js} | 29 +---- ..._dev_api_core_manager.md.BEvIQjQG.lean.js} | 2 +- ...=> en_dev_api_dev_observer.md.B50F8CO1.js} | 14 +-- ..._dev_api_dev_observer.md.B50F8CO1.lean.js} | 2 +- ...s => en_dev_api_dev_plugin.md.CGOTYIDu.js} | 9 +- ...en_dev_api_dev_plugin.md.CGOTYIDu.lean.js} | 2 +- ...2h68g.js => en_dev_api_log.md.DR6xjPic.js} | 9 +- ....js => en_dev_api_log.md.DR6xjPic.lean.js} | 2 +- ...> en_dev_api_message_event.md.DPY-2dlG.js} | 25 +--- ...dev_api_message_event.md.DPY-2dlG.lean.js} | 2 +- ...en_dev_api_message_matcher.md.EXm6yebY.js} | 22 +--- ...v_api_message_matcher.md.EXm6yebY.lean.js} | 2 +- ...rHh.js => en_dev_api_mkdoc.md.DyhS85pU.js} | 38 ------ ...s => en_dev_api_mkdoc.md.DyhS85pU.lean.js} | 0 assets/en_dev_api_plugin_index.md.BlDLlzQ8.js | 1 + ...n_dev_api_plugin_index.md.BlDLlzQ8.lean.js | 1 + assets/en_dev_api_plugin_index.md.CKq64mgl.js | 7 -- ...n_dev_api_plugin_index.md.CKq64mgl.lean.js | 1 - ... => en_dev_api_plugin_load.md.CNTMTSZw.js} | 21 ---- ...n_dev_api_plugin_load.md.CNTMTSZw.lean.js} | 0 ...plugins_plugin_loader_index.md.0ZrZ4ySj.js | 8 -- ...ns_plugin_loader_index.md.0ZrZ4ySj.lean.js | 1 - ...plugins_plugin_loader_index.md.Dyg-8Oyz.js | 1 + ...ns_plugin_loader_index.md.Dyg-8Oyz.lean.js | 1 + ...8Fd.js => en_dev_api_utils.md.pu8aZDZV.js} | 39 +------ ...s => en_dev_api_utils.md.pu8aZDZV.lean.js} | 2 +- ...uefj7oz.js => en_dev_guide.md.Cex6uBmZ.js} | 2 +- ...an.js => en_dev_guide.md.Cex6uBmZ.lean.js} | 2 +- deploy/config.html | 6 +- deploy/fandq.html | 6 +- deploy/install.html | 6 +- dev/api/bot/index.html | 109 +----------------- dev/api/bot/lifespan.html | 77 +------------ dev/api/comm/channel.html | 59 +--------- dev/api/comm/event.html | 6 +- dev/api/comm/index.html | 6 +- dev/api/comm/rpc.html | 11 +- dev/api/comm/socks_channel.html | 26 +---- dev/api/comm/storage.html | 62 +--------- dev/api/config.html | 42 +------ dev/api/core/index.html | 6 +- dev/api/core/manager.html | 35 +----- dev/api/dev/index.html | 6 +- dev/api/dev/observer.html | 20 +--- dev/api/dev/plugin.html | 13 +-- dev/api/exception.html | 6 +- dev/api/index.html | 6 +- dev/api/log.html | 13 +-- dev/api/message/event.html | 29 +---- dev/api/message/index.html | 6 +- dev/api/message/matcher.html | 26 +---- dev/api/message/on.html | 6 +- dev/api/message/rule.html | 6 +- dev/api/message/session.html | 6 +- dev/api/mkdoc.html | 46 +------- dev/api/plugin/index.html | 13 +-- dev/api/plugin/load.html | 29 +---- dev/api/plugin/manager.html | 6 +- dev/api/plugin/model.html | 6 +- dev/api/plugins/index.html | 6 +- dev/api/plugins/liteecho.html | 6 +- dev/api/plugins/plugin_loader/index.html | 11 +- dev/api/utils.html | 45 +------- dev/comm.html | 6 +- dev/guide.html | 10 +- dev/lyfunc.html | 6 +- dev/plugin.html | 6 +- dev/resource.html | 6 +- en/deploy/config.html | 6 +- en/deploy/fandq.html | 6 +- en/deploy/install.html | 6 +- en/dev/api/bot/index.html | 109 +----------------- en/dev/api/bot/lifespan.html | 77 +------------ en/dev/api/comm/channel.html | 59 +--------- en/dev/api/comm/event.html | 6 +- en/dev/api/comm/index.html | 6 +- en/dev/api/comm/rpc.html | 11 +- en/dev/api/comm/socks_channel.html | 26 +---- en/dev/api/comm/storage.html | 62 +--------- en/dev/api/config.html | 42 +------ en/dev/api/core/index.html | 6 +- en/dev/api/core/manager.html | 35 +----- en/dev/api/dev/index.html | 6 +- en/dev/api/dev/observer.html | 20 +--- en/dev/api/dev/plugin.html | 13 +-- en/dev/api/exception.html | 6 +- en/dev/api/index.html | 6 +- en/dev/api/log.html | 13 +-- en/dev/api/message/event.html | 29 +---- en/dev/api/message/index.html | 6 +- en/dev/api/message/matcher.html | 26 +---- en/dev/api/message/on.html | 6 +- en/dev/api/message/rule.html | 6 +- en/dev/api/message/session.html | 6 +- en/dev/api/mkdoc.html | 46 +------- en/dev/api/plugin/index.html | 13 +-- en/dev/api/plugin/load.html | 29 +---- en/dev/api/plugin/manager.html | 6 +- en/dev/api/plugin/model.html | 6 +- en/dev/api/plugins/index.html | 6 +- en/dev/api/plugins/liteecho.html | 6 +- en/dev/api/plugins/plugin_loader/index.html | 11 +- en/dev/api/utils.html | 45 +------- en/dev/comm.html | 6 +- en/dev/guide.html | 10 +- en/dev/lyfunc.html | 6 +- en/dev/plugin.html | 6 +- en/dev/resource.html | 6 +- en/index.html | 6 +- en/store/plugin.html | 6 +- en/store/resource.html | 6 +- en/usage/agreement.html | 6 +- en/usage/basic.html | 6 +- en/usage/extra.html | 6 +- hashmap.json | 2 +- index.html | 6 +- store/plugin.html | 6 +- store/resource.html | 6 +- usage/agreement.html | 6 +- usage/basic.html | 6 +- usage/extra.html | 6 +- 197 files changed, 410 insertions(+), 2576 deletions(-) rename assets/{app.BPfG2q4o.js => app.ChOa5xOx.js} (95%) create mode 100644 assets/chunks/@localSearchIndexen.BcLUld7V.js delete mode 100644 assets/chunks/@localSearchIndexen.DnsjWnxN.js delete mode 100644 assets/chunks/@localSearchIndexroot.B8WeOrAr.js create mode 100644 assets/chunks/@localSearchIndexroot.C3h34E_f.js rename assets/chunks/{ContributorBar.B9OqmyVx.js => ContributorBar.jTMkL6UJ.js} (88%) rename assets/chunks/{VPLocalSearchBox.CC6r1vRh.js => VPLocalSearchBox.N_ODFmQP.js} (99%) rename assets/chunks/{theme.BaW5BF9l.js => theme.CUFI0Yt1.js} (99%) delete mode 100644 assets/dev_api_bot_index.md.CuMl1rvj.lean.js rename assets/{dev_api_bot_index.md.CuMl1rvj.js => dev_api_bot_index.md.DNY8cUbE.js} (79%) create mode 100644 assets/dev_api_bot_index.md.DNY8cUbE.lean.js delete mode 100644 assets/dev_api_bot_lifespan.md.DR2MDUz6.js create mode 100644 assets/dev_api_bot_lifespan.md.cXpYfBFa.js rename assets/{dev_api_bot_lifespan.md.DR2MDUz6.lean.js => dev_api_bot_lifespan.md.cXpYfBFa.lean.js} (53%) rename assets/{dev_api_comm_channel.md.B5pa646I.js => dev_api_comm_channel.md.Rby8KuoW.js} (89%) rename assets/{dev_api_comm_channel.md.B5pa646I.lean.js => dev_api_comm_channel.md.Rby8KuoW.lean.js} (59%) rename assets/{dev_api_comm_rpc.md.BvyY4W2E.js => dev_api_comm_rpc.md.CATS97wW.js} (80%) rename assets/{dev_api_comm_rpc.md.BvyY4W2E.lean.js => dev_api_comm_rpc.md.CATS97wW.lean.js} (57%) delete mode 100644 assets/dev_api_comm_socks_channel.md.C9HkfsuW.js create mode 100644 assets/dev_api_comm_socks_channel.md.DowR8ySw.js rename assets/{dev_api_comm_socks_channel.md.C9HkfsuW.lean.js => dev_api_comm_socks_channel.md.DowR8ySw.lean.js} (50%) rename assets/{dev_api_comm_storage.md.azZ6WC8l.js => dev_api_comm_storage.md.BTq8RCp9.js} (89%) rename assets/{dev_api_comm_storage.md.azZ6WC8l.lean.js => dev_api_comm_storage.md.BTq8RCp9.lean.js} (67%) rename assets/{dev_api_config.md.Dvcq1UWB.js => dev_api_config.md.DBrWZGxB.js} (87%) create mode 100644 assets/dev_api_config.md.DBrWZGxB.lean.js delete mode 100644 assets/dev_api_config.md.Dvcq1UWB.lean.js rename assets/{dev_api_core_manager.md.CYk6oifO.js => dev_api_core_manager.md.CEfbZ5pK.js} (89%) rename assets/{dev_api_core_manager.md.CYk6oifO.lean.js => dev_api_core_manager.md.CEfbZ5pK.lean.js} (59%) rename assets/{dev_api_dev_observer.md.r5tZ34Ke.js => dev_api_dev_observer.md.1UR7dS3y.js} (91%) rename assets/{dev_api_dev_observer.md.r5tZ34Ke.lean.js => dev_api_dev_observer.md.1UR7dS3y.lean.js} (59%) rename assets/{dev_api_dev_plugin.md.B0UWZ865.js => dev_api_dev_plugin.md.C_CkUgwx.js} (82%) rename assets/{dev_api_dev_plugin.md.B0UWZ865.lean.js => dev_api_dev_plugin.md.C_CkUgwx.lean.js} (72%) rename assets/{dev_api_log.md.DEgtvOME.js => dev_api_log.md.CJtELCL9.js} (96%) rename assets/{dev_api_log.md.DEgtvOME.lean.js => dev_api_log.md.CJtELCL9.lean.js} (100%) delete mode 100644 assets/dev_api_message_event.md.CCba4fQM.lean.js rename assets/{dev_api_message_event.md.CCba4fQM.js => dev_api_message_event.md.z4kIykti.js} (82%) create mode 100644 assets/dev_api_message_event.md.z4kIykti.lean.js rename assets/{dev_api_message_matcher.md.RkLnG-L_.js => dev_api_message_matcher.md.Dl6noJmI.js} (78%) create mode 100644 assets/dev_api_message_matcher.md.Dl6noJmI.lean.js delete mode 100644 assets/dev_api_message_matcher.md.RkLnG-L_.lean.js rename assets/{dev_api_mkdoc.md.BHVTt-3m.js => dev_api_mkdoc.md.KHhZ0jbQ.js} (95%) rename assets/{dev_api_mkdoc.md.BHVTt-3m.lean.js => dev_api_mkdoc.md.KHhZ0jbQ.lean.js} (100%) delete mode 100644 assets/dev_api_plugin_index.md.BEvzlWex.js delete mode 100644 assets/dev_api_plugin_index.md.BEvzlWex.lean.js create mode 100644 assets/dev_api_plugin_index.md.CcmFWY5K.js create mode 100644 assets/dev_api_plugin_index.md.CcmFWY5K.lean.js rename assets/{dev_api_plugin_load.md.E8CzQJo7.js => dev_api_plugin_load.md.CssacMr6.js} (92%) rename assets/{dev_api_plugin_load.md.E8CzQJo7.lean.js => dev_api_plugin_load.md.CssacMr6.lean.js} (70%) delete mode 100644 assets/dev_api_plugins_plugin_loader_index.md.CY6QBGMz.js create mode 100644 assets/dev_api_plugins_plugin_loader_index.md.VShWijpV.js rename assets/{dev_api_plugins_plugin_loader_index.md.CY6QBGMz.lean.js => dev_api_plugins_plugin_loader_index.md.VShWijpV.lean.js} (53%) rename assets/{dev_api_utils.md.B-jOjsY8.js => dev_api_utils.md.BCCrA2Tn.js} (81%) rename assets/{dev_api_utils.md.B-jOjsY8.lean.js => dev_api_utils.md.BCCrA2Tn.lean.js} (58%) rename assets/{dev_guide.md.Bk5y8hUs.js => dev_guide.md.Dy0vCFVc.js} (97%) rename assets/{dev_guide.md.Bk5y8hUs.lean.js => dev_guide.md.Dy0vCFVc.lean.js} (75%) delete mode 100644 assets/en_dev_api_bot_index.md.DL6mnrEN.lean.js rename assets/{en_dev_api_bot_index.md.DL6mnrEN.js => en_dev_api_bot_index.md.Etpbg95G.js} (79%) create mode 100644 assets/en_dev_api_bot_index.md.Etpbg95G.lean.js create mode 100644 assets/en_dev_api_bot_lifespan.md.B5dt163D.js create mode 100644 assets/en_dev_api_bot_lifespan.md.B5dt163D.lean.js delete mode 100644 assets/en_dev_api_bot_lifespan.md.DTXU8rb1.js delete mode 100644 assets/en_dev_api_bot_lifespan.md.DTXU8rb1.lean.js rename assets/{en_dev_api_comm_channel.md.Dn9eV_fi.js => en_dev_api_comm_channel.md.Db8NECOS.js} (89%) rename assets/{en_dev_api_comm_channel.md.Dn9eV_fi.lean.js => en_dev_api_comm_channel.md.Db8NECOS.lean.js} (100%) rename assets/{en_dev_api_comm_rpc.md.CrPeq6TE.js => en_dev_api_comm_rpc.md.CY-ENZCj.js} (82%) rename assets/{en_dev_api_comm_rpc.md.CrPeq6TE.lean.js => en_dev_api_comm_rpc.md.CY-ENZCj.lean.js} (58%) create mode 100644 assets/en_dev_api_comm_socks_channel.md.CndQIApl.js create mode 100644 assets/en_dev_api_comm_socks_channel.md.CndQIApl.lean.js delete mode 100644 assets/en_dev_api_comm_socks_channel.md.CvJGb0kT.js delete mode 100644 assets/en_dev_api_comm_socks_channel.md.CvJGb0kT.lean.js rename assets/{en_dev_api_comm_storage.md.Dm0GM8mR.js => en_dev_api_comm_storage.md.CBNLmX3O.js} (90%) rename assets/{en_dev_api_comm_storage.md.Dm0GM8mR.lean.js => en_dev_api_comm_storage.md.CBNLmX3O.lean.js} (100%) rename assets/{en_dev_api_config.md.xYJgIkUD.js => en_dev_api_config.md.Dm7JCHCl.js} (87%) create mode 100644 assets/en_dev_api_config.md.Dm7JCHCl.lean.js delete mode 100644 assets/en_dev_api_config.md.xYJgIkUD.lean.js rename assets/{en_dev_api_core_manager.md.DbS9o93Z.js => en_dev_api_core_manager.md.BEvIQjQG.js} (89%) rename assets/{en_dev_api_core_manager.md.DbS9o93Z.lean.js => en_dev_api_core_manager.md.BEvIQjQG.lean.js} (86%) rename assets/{en_dev_api_dev_observer.md.5lqNCQBZ.js => en_dev_api_dev_observer.md.B50F8CO1.js} (91%) rename assets/{en_dev_api_dev_observer.md.5lqNCQBZ.lean.js => en_dev_api_dev_observer.md.B50F8CO1.lean.js} (78%) rename assets/{en_dev_api_dev_plugin.md._CvA4vrZ.js => en_dev_api_dev_plugin.md.CGOTYIDu.js} (81%) rename assets/{en_dev_api_dev_plugin.md._CvA4vrZ.lean.js => en_dev_api_dev_plugin.md.CGOTYIDu.lean.js} (60%) rename assets/{en_dev_api_log.md.PqB2h68g.js => en_dev_api_log.md.DR6xjPic.js} (95%) rename assets/{en_dev_api_log.md.PqB2h68g.lean.js => en_dev_api_log.md.DR6xjPic.lean.js} (57%) rename assets/{en_dev_api_message_event.md.B0wAhsAc.js => en_dev_api_message_event.md.DPY-2dlG.js} (83%) rename assets/{en_dev_api_message_event.md.B0wAhsAc.lean.js => en_dev_api_message_event.md.DPY-2dlG.lean.js} (64%) rename assets/{en_dev_api_message_matcher.md.BKMMUxTe.js => en_dev_api_message_matcher.md.EXm6yebY.js} (78%) rename assets/{en_dev_api_message_matcher.md.BKMMUxTe.lean.js => en_dev_api_message_matcher.md.EXm6yebY.lean.js} (50%) rename assets/{en_dev_api_mkdoc.md.Ct_avrHh.js => en_dev_api_mkdoc.md.DyhS85pU.js} (95%) rename assets/{en_dev_api_mkdoc.md.Ct_avrHh.lean.js => en_dev_api_mkdoc.md.DyhS85pU.lean.js} (100%) create mode 100644 assets/en_dev_api_plugin_index.md.BlDLlzQ8.js create mode 100644 assets/en_dev_api_plugin_index.md.BlDLlzQ8.lean.js delete mode 100644 assets/en_dev_api_plugin_index.md.CKq64mgl.js delete mode 100644 assets/en_dev_api_plugin_index.md.CKq64mgl.lean.js rename assets/{en_dev_api_plugin_load.md.MWafzOLA.js => en_dev_api_plugin_load.md.CNTMTSZw.js} (93%) rename assets/{en_dev_api_plugin_load.md.MWafzOLA.lean.js => en_dev_api_plugin_load.md.CNTMTSZw.lean.js} (100%) delete mode 100644 assets/en_dev_api_plugins_plugin_loader_index.md.0ZrZ4ySj.js delete mode 100644 assets/en_dev_api_plugins_plugin_loader_index.md.0ZrZ4ySj.lean.js create mode 100644 assets/en_dev_api_plugins_plugin_loader_index.md.Dyg-8Oyz.js create mode 100644 assets/en_dev_api_plugins_plugin_loader_index.md.Dyg-8Oyz.lean.js rename assets/{en_dev_api_utils.md.CvtH68Fd.js => en_dev_api_utils.md.pu8aZDZV.js} (81%) rename assets/{en_dev_api_utils.md.CvtH68Fd.lean.js => en_dev_api_utils.md.pu8aZDZV.lean.js} (71%) rename assets/{en_dev_guide.md.Juefj7oz.js => en_dev_guide.md.Cex6uBmZ.js} (98%) rename assets/{en_dev_guide.md.Juefj7oz.lean.js => en_dev_guide.md.Cex6uBmZ.lean.js} (76%) diff --git a/404.html b/404.html index cd6b39c2..dd9ded2c 100644 --- a/404.html +++ b/404.html @@ -8,7 +8,7 @@ - + @@ -17,7 +17,7 @@
- + \ No newline at end of file diff --git a/assets/app.BPfG2q4o.js b/assets/app.ChOa5xOx.js similarity index 95% rename from assets/app.BPfG2q4o.js rename to assets/app.ChOa5xOx.js index 76e685dc..0e3e0bbb 100644 --- a/assets/app.BPfG2q4o.js +++ b/assets/app.ChOa5xOx.js @@ -1 +1 @@ -import{R as p}from"./chunks/theme.BaW5BF9l.js";import{U as o,aa as u,ab as l,ac as c,ad as f,ae as d,af as m,ag as h,ah as g,ai as A,aj as y,d as P,u as v,y as w,x as C,ak as R,al as b,am as E,an as S}from"./chunks/framework.C4_mTacX.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=i(p),T=P({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=v();return w(()=>{C(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&R(),b(),E(),s.setup&&s.setup(),()=>S(s.Layout)}});async function j(){globalThis.__VITEPRESS__=!0;const e=D(),a=x();a.provide(l,e);const t=c(e.route);return a.provide(f,t),a.component("Content",d),a.component("ClientOnly",m),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:h}),{app:a,router:e,data:t}}function x(){return g(T)}function D(){let e=o,a;return A(t=>{let n=y(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=import(n)),o&&(e=!1),r},s.NotFound)}o&&j().then(({app:e,router:a,data:t})=>{a.go().then(()=>{u(a.route,t.site),e.mount("#app")})});export{j as createApp}; +import{R as p}from"./chunks/theme.CUFI0Yt1.js";import{U as o,aa as u,ab as l,ac as c,ad as f,ae as d,af as m,ag as h,ah as g,ai as A,aj as y,d as P,u as v,y as w,x as C,ak as R,al as b,am as E,an as S}from"./chunks/framework.C4_mTacX.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=i(p),T=P({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=v();return w(()=>{C(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&R(),b(),E(),s.setup&&s.setup(),()=>S(s.Layout)}});async function j(){globalThis.__VITEPRESS__=!0;const e=D(),a=x();a.provide(l,e);const t=c(e.route);return a.provide(f,t),a.component("Content",d),a.component("ClientOnly",m),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:h}),{app:a,router:e,data:t}}function x(){return g(T)}function D(){let e=o,a;return A(t=>{let n=y(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=import(n)),o&&(e=!1),r},s.NotFound)}o&&j().then(({app:e,router:a,data:t})=>{a.go().then(()=>{u(a.route,t.site),e.mount("#app")})});export{j as createApp}; diff --git a/assets/chunks/@localSearchIndexen.BcLUld7V.js b/assets/chunks/@localSearchIndexen.BcLUld7V.js new file mode 100644 index 00000000..c4444a9c --- /dev/null +++ b/assets/chunks/@localSearchIndexen.BcLUld7V.js @@ -0,0 +1 @@ +const e=`{"documentCount":305,"nextId":305,"documentIds":{"0":"/en/deploy/config.html#configurations","1":"/en/deploy/config.html#basic-configuration","2":"/en/deploy/config.html#other-configurations","3":"/en/deploy/config.html#example-configuration-of-onebot-implementation-side-connected-to-nonebot","4":"/en/deploy/config.html#other","5":"/en/deploy/fandq.html#faq","6":"/en/deploy/fandq.html#frequently-asked-questions","7":"/en/deploy/fandq.html#other-questions","8":"/en/deploy/fandq.html#recommended-solution-qq","9":"/en/deploy/fandq.html#recommended-solution-minecraft","10":"/en/deploy/fandq.html#acknowledgements","11":"/en/deploy/install.html#install","12":"/en/deploy/install.html#normal-installation","13":"/en/deploy/install.html#run-with-docker","14":"/en/deploy/install.html#use-trss-script","15":"/en/deploy/install.html#device-requirements","16":"/en/deploy/install.html#for-other-questions-please-refer-to-faq","17":"/en/dev/api/bot/#module-liteyuki-bot","18":"/en/dev/api/bot/#class-liteyukibot","19":"/en/dev/api/bot/#func-init-self-kwargs-none","20":"/en/dev/api/bot/#func-run-self","21":"/en/dev/api/bot/#async-func-keep-alive-self","22":"/en/dev/api/bot/#func-restart-self-delay-int-0","23":"/en/dev/api/bot/#func-restart-process-self-name-optional-str-none","24":"/en/dev/api/bot/#func-init-self-args-kwargs","25":"/en/dev/api/bot/#func-init-logger-self","26":"/en/dev/api/bot/#func-stop-self","27":"/en/dev/api/bot/#func-on-before-start-self-func-lifespan-func-lifespan-func","28":"/en/dev/api/bot/#func-on-after-start-self-func-lifespan-func","29":"/en/dev/api/bot/#func-on-after-shutdown-self-func-lifespan-func","30":"/en/dev/api/bot/#func-on-before-process-shutdown-self-func-process-lifespan-func","31":"/en/dev/api/bot/#func-on-before-process-restart-self-func-process-lifespan-func-process-lifespan-func","32":"/en/dev/api/bot/#func-on-after-restart-self-func-lifespan-func","33":"/en/dev/api/bot/#func-get-bot-liteyukibot","34":"/en/dev/api/bot/#func-get-config-key-str-default-any-none-any","35":"/en/dev/api/bot/#func-get-config-with-compat-key-str-compat-keys-tuple-str-default-any-none-any","36":"/en/dev/api/bot/lifespan.html#module-liteyuki-bot-lifespan","37":"/en/dev/api/bot/lifespan.html#var-sync-lifespan-func","38":"/en/dev/api/bot/lifespan.html#var-async-lifespan-func","39":"/en/dev/api/bot/lifespan.html#var-lifespan-func","40":"/en/dev/api/bot/lifespan.html#var-sync-process-lifespan-func","41":"/en/dev/api/bot/lifespan.html#var-async-process-lifespan-func","42":"/en/dev/api/bot/lifespan.html#var-process-lifespan-func","43":"/en/dev/api/bot/lifespan.html#class-lifespan","44":"/en/dev/api/bot/lifespan.html#func-init-self-none","45":"/en/dev/api/bot/lifespan.html#async-func-run-funcs-funcs-sequence-lifespan-func-process-lifespan-func-args-kwargs-none","46":"/en/dev/api/bot/lifespan.html#func-on-before-start-self-func-lifespan-func-lifespan-func","47":"/en/dev/api/bot/lifespan.html#func-on-after-start-self-func-lifespan-func-lifespan-func","48":"/en/dev/api/bot/lifespan.html#func-on-before-process-shutdown-self-func-process-lifespan-func-process-lifespan-func","49":"/en/dev/api/bot/lifespan.html#func-on-after-shutdown-self-func-lifespan-func-lifespan-func","50":"/en/dev/api/bot/lifespan.html#func-on-before-process-restart-self-func-process-lifespan-func-process-lifespan-func","51":"/en/dev/api/bot/lifespan.html#func-on-after-restart-self-func-lifespan-func-lifespan-func","52":"/en/dev/api/bot/lifespan.html#async-func-before-start-self-none","53":"/en/dev/api/bot/lifespan.html#async-func-after-start-self-none","54":"/en/dev/api/bot/lifespan.html#async-func-before-process-shutdown-self-args-kwargs-none","55":"/en/dev/api/bot/lifespan.html#async-func-after-shutdown-self-none","56":"/en/dev/api/bot/lifespan.html#async-func-before-process-restart-self-args-kwargs-none","57":"/en/dev/api/bot/lifespan.html#async-func-after-restart-self-none","58":"/en/dev/api/comm/channel.html#module-liteyuki-comm-channel","59":"/en/dev/api/comm/channel.html#var-sync-on-receive-func","60":"/en/dev/api/comm/channel.html#var-async-on-receive-func","61":"/en/dev/api/comm/channel.html#var-on-receive-func","62":"/en/dev/api/comm/channel.html#var-sync-filter-func","63":"/en/dev/api/comm/channel.html#var-async-filter-func","64":"/en/dev/api/comm/channel.html#var-filter-func","65":"/en/dev/api/comm/channel.html#class-channel-generic-t","66":"/en/dev/api/comm/channel.html#func-init-self-name-str-type-check-optional-bool-none","67":"/en/dev/api/comm/channel.html#func-send-self-data-t","68":"/en/dev/api/comm/channel.html#func-receive-self-t","69":"/en/dev/api/comm/channel.html#async-func-async-receive-self-t","70":"/en/dev/api/comm/channel.html#func-on-receive-self-filter-func-optional-filter-func-none-callable-callable-t-any-callable-t-any","71":"/en/dev/api/comm/channel.html#var-active-channel","72":"/en/dev/api/comm/channel.html#var-passive-channel","73":"/en/dev/api/comm/channel.html#var-publish-channel","74":"/en/dev/api/comm/channel.html#var-channel-deliver-active-channel","75":"/en/dev/api/comm/channel.html#var-channel-deliver-passive-channel","76":"/en/dev/api/comm/channel.html#func-set-channel-name-str-channel-channel","77":"/en/dev/api/comm/channel.html#func-set-channels-channels-dict-str-channel","78":"/en/dev/api/comm/channel.html#func-get-channel-name-str-channel","79":"/en/dev/api/comm/channel.html#func-get-channels-dict-str-channel","80":"/en/dev/api/comm/channel.html#var-channel-deliver-active-channel-1","81":"/en/dev/api/comm/channel.html#var-channel-deliver-passive-channel-1","82":"/en/dev/api/comm/channel.html#func-on-set-channel-data-tuple-str-dict-str-any","83":"/en/dev/api/comm/channel.html#func-on-get-channel-data-tuple-str-dict-str-any","84":"/en/dev/api/comm/channel.html#func-on-get-channels-data-tuple-str-dict-str-any","85":"/en/dev/api/comm/event.html#module-liteyuki-comm-event","86":"/en/dev/api/comm/event.html#class-event","87":"/en/dev/api/comm/event.html#func-init-self-name-str-data-dict-str-any","88":"/en/dev/api/comm/#module-liteyuki-comm","89":"/en/dev/api/comm/rpc.html#module-liteyuki-comm-rpc","90":"/en/dev/api/comm/rpc.html#class-rpc","91":"/en/dev/api/comm/rpc.html#func-init-self-on-calling-on-calling-func-none","92":"/en/dev/api/comm/rpc.html#func-call-self-args-tuple-kwargs-dict-any","93":"/en/dev/api/comm/socks_channel.html#module-liteyuki-comm-socks-channel","94":"/en/dev/api/comm/socks_channel.html#class-sockschannel","95":"/en/dev/api/comm/socks_channel.html#func-init-self-name-str","96":"/en/dev/api/comm/socks_channel.html#func-send-self-data","97":"/en/dev/api/comm/socks_channel.html#func-receive-self","98":"/en/dev/api/comm/socks_channel.html#func-close-self","99":"/en/dev/api/comm/storage.html#module-liteyuki-comm-storage","100":"/en/dev/api/comm/storage.html#var-on-main-subscriber-receive-funcs","101":"/en/dev/api/comm/storage.html#var-on-sub-subscriber-receive-funcs","102":"/en/dev/api/comm/storage.html#class-keyvaluestore","103":"/en/dev/api/comm/storage.html#func-init-self","104":"/en/dev/api/comm/storage.html#func-set-self-key-str-value-any-none","105":"/en/dev/api/comm/storage.html#func-get-self-key-str-default-optional-any-none-optional-any","106":"/en/dev/api/comm/storage.html#func-delete-self-key-str-ignore-key-error-bool-true-none","107":"/en/dev/api/comm/storage.html#func-get-all-self-dict-str-any","108":"/en/dev/api/comm/storage.html#func-publish-self-channel-str-data-any-none","109":"/en/dev/api/comm/storage.html#func-on-subscriber-receive-self-channel-str-callable-on-receive-func-on-receive-func","110":"/en/dev/api/comm/storage.html#async-func-run-subscriber-receive-funcs-channel-str-data-any","111":"/en/dev/api/comm/storage.html#async-func-start-receive-loop-self","112":"/en/dev/api/comm/storage.html#class-globalkeyvaluestore","113":"/en/dev/api/comm/storage.html#func-get-instance-cls","114":"/en/dev/api/comm/storage.html#attr-instance-none","115":"/en/dev/api/comm/storage.html#attr-lock-threading-lock","116":"/en/dev/api/comm/storage.html#var-shared-memory","117":"/en/dev/api/comm/storage.html#var-ref-count","118":"/en/dev/api/comm/storage.html#func-on-get-data-tuple-str-dict-str-any","119":"/en/dev/api/comm/storage.html#func-on-set-data-tuple-str-dict-str-any","120":"/en/dev/api/comm/storage.html#func-on-delete-data-tuple-str-dict-str-any","121":"/en/dev/api/comm/storage.html#func-on-get-all-data-tuple-str-dict-str-any","122":"/en/dev/api/config.html#module-liteyuki-config","123":"/en/dev/api/config.html#func-flat-config-config-dict-str-any-dict-str-any","124":"/en/dev/api/config.html#func-load-from-yaml-file-str-dict-str-any","125":"/en/dev/api/config.html#func-load-from-json-file-str-dict-str-any","126":"/en/dev/api/config.html#func-load-from-toml-file-str-dict-str-any","127":"/en/dev/api/config.html#func-load-from-files-files-str-no-warning-bool-false-dict-str-any","128":"/en/dev/api/config.html#func-load-configs-from-dirs-directories-str-no-waring-bool-false-dict-str-any","129":"/en/dev/api/config.html#func-load-config-in-default-no-waring-bool-false-dict-str-any","130":"/en/dev/api/core/#module-liteyuki-core","131":"/en/dev/api/core/manager.html#module-liteyuki-core-manager","132":"/en/dev/api/core/manager.html#class-channeldeliver","133":"/en/dev/api/core/manager.html#func-init-self-active-channel-any-passive-channel-any-channel-deliver-active-channel-channel-any-channel-deliver-passive-channel-tuple-str-dict-publish-channel-tuple-str-any","134":"/en/dev/api/core/manager.html#class-processmanager","135":"/en/dev/api/core/manager.html#func-init-self-lifespan-lifespan","136":"/en/dev/api/core/manager.html#func-start-all-self","137":"/en/dev/api/core/manager.html#func-add-target-self-name-str-target-target-func-args-tuple-kwargs-none","138":"/en/dev/api/core/manager.html#func-join-all-self","139":"/en/dev/api/core/manager.html#func-terminate-self-name-str","140":"/en/dev/api/core/manager.html#func-terminate-all-self","141":"/en/dev/api/core/manager.html#func-is-process-alive-self-name-str-bool","142":"/en/dev/api/dev/#module-liteyuki-dev","143":"/en/dev/api/dev/observer.html#module-liteyuki-dev-observer","144":"/en/dev/api/dev/observer.html#var-callback-func","145":"/en/dev/api/dev/observer.html#var-filter-func","146":"/en/dev/api/dev/observer.html#func-debounce-wait","147":"/en/dev/api/dev/observer.html#class-codemodifiedhandler-filesystemeventhandler","148":"/en/dev/api/dev/observer.html#func-on-modified-self-event","149":"/en/dev/api/dev/observer.html#func-on-created-self-event","150":"/en/dev/api/dev/observer.html#func-on-deleted-self-event","151":"/en/dev/api/dev/observer.html#func-on-moved-self-event","152":"/en/dev/api/dev/observer.html#func-on-any-event-self-event","153":"/en/dev/api/dev/observer.html#func-on-file-system-event-directories-tuple-str-recursive-bool-true-event-filter-filter-func-none-callable-callback-func-callback-func","154":"/en/dev/api/dev/plugin.html#module-liteyuki-dev-plugin","155":"/en/dev/api/dev/plugin.html#func-run-plugins-module-path-str-path","156":"/en/dev/api/exception.html#module-liteyuki-exception","157":"/en/dev/api/exception.html#class-liteyukiexception-baseexception","158":"/en/dev/api/#module-liteyuki","159":"/en/dev/api/#var-version","160":"/en/dev/api/log.html#module-liteyuki-log","161":"/en/dev/api/log.html#func-get-format-level-str-str","162":"/en/dev/api/log.html#func-init-log-config-dict","163":"/en/dev/api/message/event.html#module-liteyuki-message-event","164":"/en/dev/api/message/event.html#class-messageevent","165":"/en/dev/api/message/event.html#func-init-self-bot-id-str-message-list-dict-str-any-str-message-type-str-raw-message-str-session-id-str-user-id-str-session-type-str-receive-channel-optional-channel-messageevent-none-data-optional-dict-str-any-none","166":"/en/dev/api/message/event.html#func-reply-self-message-str-dict-str-any","167":"/en/dev/api/message/#module-liteyuki-message","168":"/en/dev/api/message/matcher.html#module-liteyuki-message-matcher","169":"/en/dev/api/message/matcher.html#class-matcher","170":"/en/dev/api/message/matcher.html#func-init-self-rule-rule-priority-int-block-bool","171":"/en/dev/api/message/matcher.html#func-handle-self-callable-eventhandler-eventhandler","172":"/en/dev/api/message/matcher.html#async-func-run-self-event-messageevent-none","173":"/en/dev/api/message/on.html#module-liteyuki-message-on","174":"/en/dev/api/message/on.html#func-add-matcher-matcher-matcher","175":"/en/dev/api/message/on.html#func-on-message-rule-rule-empty-rule-priority-int-0-block-bool-false-matcher","176":"/en/dev/api/message/on.html#func-on-keywords-keywords-list-str-rule-empty-rule-priority-int-0-block-bool-false-matcher","177":"/en/dev/api/message/rule.html#module-liteyuki-message-rule","178":"/en/dev/api/message/rule.html#var-rulehandlerfunc","179":"/en/dev/api/message/rule.html#class-rule","180":"/en/dev/api/message/rule.html#func-init-self-handler-rulehandlerfunc","181":"/en/dev/api/message/rule.html#func-or-self-other-rule-rule","182":"/en/dev/api/message/rule.html#func-and-self-other-rule-rule","183":"/en/dev/api/message/rule.html#async-func-call-self-event-messageevent-bool","184":"/en/dev/api/message/rule.html#async-func-empty-rule-event-messageevent-bool","185":"/en/dev/api/message/rule.html#async-func-is-su-rule-event-messageevent-bool","186":"/en/dev/api/message/session.html#module-liteyuki-message-session","187":"/en/dev/api/mkdoc.html#module-liteyuki-mkdoc","188":"/en/dev/api/mkdoc.html#class-deftype-enum","189":"/en/dev/api/mkdoc.html#attr-function-function","190":"/en/dev/api/mkdoc.html#attr-method-method","191":"/en/dev/api/mkdoc.html#attr-static-method-staticmethod","192":"/en/dev/api/mkdoc.html#attr-class-method-classmethod","193":"/en/dev/api/mkdoc.html#attr-property-property","194":"/en/dev/api/mkdoc.html#class-functioninfo-basemodel","195":"/en/dev/api/mkdoc.html#attr-name-str-no-default","196":"/en/dev/api/mkdoc.html#attr-args-list-tuple-str-str-no-default","197":"/en/dev/api/mkdoc.html#attr-return-type-str-no-default","198":"/en/dev/api/mkdoc.html#attr-docstring-str-no-default","199":"/en/dev/api/mkdoc.html#attr-source-code-str","200":"/en/dev/api/mkdoc.html#attr-type-deftype-no-default","201":"/en/dev/api/mkdoc.html#attr-is-async-bool-no-default","202":"/en/dev/api/mkdoc.html#class-attributeinfo-basemodel","203":"/en/dev/api/mkdoc.html#attr-name-str-no-default-1","204":"/en/dev/api/mkdoc.html#attr-type-str-no-default","205":"/en/dev/api/mkdoc.html#attr-value-any-none","206":"/en/dev/api/mkdoc.html#attr-docstring-str","207":"/en/dev/api/mkdoc.html#class-classinfo-basemodel","208":"/en/dev/api/mkdoc.html#attr-name-str-no-default-2","209":"/en/dev/api/mkdoc.html#attr-docstring-str-no-default-1","210":"/en/dev/api/mkdoc.html#attr-methods-list-functioninfo-no-default","211":"/en/dev/api/mkdoc.html#attr-attributes-list-attributeinfo-no-default","212":"/en/dev/api/mkdoc.html#attr-inherit-list-str-no-default","213":"/en/dev/api/mkdoc.html#class-moduleinfo-basemodel","214":"/en/dev/api/mkdoc.html#attr-module-path-str-no-default","215":"/en/dev/api/mkdoc.html#attr-functions-list-functioninfo-no-default","216":"/en/dev/api/mkdoc.html#attr-classes-list-classinfo-no-default","217":"/en/dev/api/mkdoc.html#attr-attributes-list-attributeinfo-no-default-1","218":"/en/dev/api/mkdoc.html#attr-docstring-str-no-default-2","219":"/en/dev/api/mkdoc.html#func-get-relative-path-base-path-str-target-path-str-str","220":"/en/dev/api/mkdoc.html#func-write-to-files-file-data-dict-str-str","221":"/en/dev/api/mkdoc.html#func-get-file-list-module-folder-str","222":"/en/dev/api/mkdoc.html#func-get-module-info-normal-file-path-str-ignore-private-bool-true-moduleinfo","223":"/en/dev/api/mkdoc.html#func-generate-markdown-module-info-moduleinfo-front-matter-none-lang-str-zh-cn-str","224":"/en/dev/api/mkdoc.html#func-generate-docs-module-folder-str-output-dir-str-with-top-bool-false-lang-str-zh-cn-ignored-paths-none","225":"/en/dev/api/mkdoc.html#var-no-module-name-pyfile-path","226":"/en/dev/api/plugin/#module-liteyuki-plugin","227":"/en/dev/api/plugin/#func-get-loaded-plugins-dict-str-plugin","228":"/en/dev/api/plugin/load.html#module-liteyuki-plugin-load","229":"/en/dev/api/plugin/load.html#func-load-plugin-module-path-str-path-optional-plugin","230":"/en/dev/api/plugin/load.html#func-load-plugins-plugin-dir-str-ignore-warning-bool-true-set-plugin","231":"/en/dev/api/plugin/load.html#func-format-display-name-display-name-str-plugin-type-plugintype-str","232":"/en/dev/api/plugin/manager.html#module-liteyuki-plugin-manager","233":"/en/dev/api/plugin/model.html#module-liteyuki-plugin-model","234":"/en/dev/api/plugin/model.html#class-plugintype-enum","235":"/en/dev/api/plugin/model.html#attr-application-application","236":"/en/dev/api/plugin/model.html#attr-service-service","237":"/en/dev/api/plugin/model.html#attr-module-module","238":"/en/dev/api/plugin/model.html#attr-unclassified-unclassified","239":"/en/dev/api/plugin/model.html#attr-test-test","240":"/en/dev/api/plugin/model.html#class-pluginmetadata-basemodel","241":"/en/dev/api/plugin/model.html#attr-name-str-no-default","242":"/en/dev/api/plugin/model.html#attr-description-str","243":"/en/dev/api/plugin/model.html#attr-usage-str","244":"/en/dev/api/plugin/model.html#attr-type-plugintype-plugintype-unclassified","245":"/en/dev/api/plugin/model.html#attr-author-str","246":"/en/dev/api/plugin/model.html#attr-homepage-str","247":"/en/dev/api/plugin/model.html#attr-extra-dict-str-any","248":"/en/dev/api/plugin/model.html#class-plugin-basemodel","249":"/en/dev/api/plugin/model.html#func-hash-self","250":"/en/dev/api/plugin/model.html#attr-model-config-arbitrary-types-allowed-true","251":"/en/dev/api/plugin/model.html#attr-name-str-no-default-1","252":"/en/dev/api/plugin/model.html#attr-module-moduletype-no-default","253":"/en/dev/api/plugin/model.html#attr-module-name-str-no-default","254":"/en/dev/api/plugin/model.html#attr-metadata-optional-pluginmetadata-none","255":"/en/dev/api/plugins/#module-liteyuki-plugins","256":"/en/dev/api/plugins/liteecho.html#module-liteyuki-plugins-liteecho","257":"/en/dev/api/plugins/liteecho.html#async-func-liteecho-event-messageevent","258":"/en/dev/api/plugins/plugin_loader/#module-liteyuki-plugins-plugin-loader","259":"/en/dev/api/plugins/plugin_loader/#func-default-plugins-loader","260":"/en/dev/api/utils.html#module-liteyuki-utils","261":"/en/dev/api/utils.html#func-is-coroutine-callable-call-callable-any-bool","262":"/en/dev/api/utils.html#func-run-coroutine-coro-coroutine","263":"/en/dev/api/utils.html#func-run-coroutine-in-thread-coro-coroutine","264":"/en/dev/api/utils.html#func-path-to-module-name-path-path-str","265":"/en/dev/api/utils.html#func-async-wrapper-func-callable-any-callable-coroutine","266":"/en/dev/comm.html#channel-communication","267":"/en/dev/comm.html#introduction","268":"/en/dev/comm.html#example","269":"/en/dev/comm.html#共享内存通信","270":"/en/dev/comm.html#简介","271":"/en/dev/comm.html#示例","272":"/en/dev/guide.html#development-guide","273":"/en/dev/guide.html#how-to-develop","274":"/en/dev/guide.html#suggestions","275":"/en/dev/guide.html#project-structure","276":"/en/dev/guide.html#standardization","277":"/en/dev/guide.html#finally","278":"/en/dev/lyfunc.html#轻雪函数","279":"/en/dev/lyfunc.html#函数文件","280":"/en/dev/lyfunc.html#命令文档","281":"/en/dev/lyfunc.html#示例","282":"/en/dev/lyfunc.html#api","283":"/en/dev/lyfunc.html#结束关键字","284":"/en/dev/plugin.html#简介","285":"/en/dev/plugin.html#开始","286":"/en/dev/plugin.html#创建插件","287":"/en/dev/plugin.html#编写逻辑部分","288":"/en/dev/plugin.html#加载插件","289":"/en/dev/plugin.html#方法1","290":"/en/dev/plugin.html#方法2","291":"/en/dev/resource.html#简介","292":"/en/dev/resource.html#加载资源包","293":"/en/usage/agreement.html#用户协议","294":"/en/usage/basic.html#基础插件","295":"/en/usage/basic.html#轻雪命令liteyuki-command","296":"/en/usage/basic.html#命令别名","297":"/en/usage/basic.html#插件-包管理器-liteyuki-pacman","298":"/en/usage/basic.html#命令别名-1","299":"/en/usage/basic.html#用户管理liteyuki-user","300":"/en/usage/extra.html#功能插件命令","301":"/en/usage/extra.html#轻雪天气liteyuki-weather","302":"/en/usage/extra.html#命令别名","303":"/en/usage/extra.html#统计信息liteyuki-statistics","304":"/en/usage/extra.html#命令别名-1"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[1,1,50],"1":[2,1,82],"2":[2,1,67],"3":[9,1,71],"4":[1,1,21],"5":[1,1,1],"6":[3,1,172],"7":[2,1,18],"8":[4,1,31],"9":[4,1,25],"10":[1,1,14],"11":[1,1,1],"12":[2,1,59],"13":[3,1,57],"14":[3,1,18],"15":[2,1,83],"16":[6,3,1],"17":[3,1,1],"18":[2,3,1],"19":[6,5,60],"20":[4,5,31],"21":[6,5,33],"22":[8,5,62],"23":[10,5,38],"24":[6,5,19],"25":[5,5,16],"26":[4,5,18],"27":[8,5,22],"28":[8,5,21],"29":[8,5,22],"30":[10,5,24],"31":[10,5,25],"32":[8,5,22],"33":[5,3,37],"34":[10,3,29],"35":[14,3,48],"36":[4,1,24],"37":[4,4,8],"38":[4,4,9],"39":[3,4,11],"40":[5,4,9],"41":[5,4,10],"42":[4,4,12],"43":[2,4,1],"44":[5,6,34],"45":[13,6,41],"46":[8,6,23],"47":[8,6,23],"48":[10,6,25],"49":[8,6,23],"50":[10,6,25],"51":[8,6,23],"52":[7,6,23],"53":[7,6,23],"54":[10,6,26],"55":[7,6,24],"56":[10,6,26],"57":[7,6,24],"58":[4,1,3],"59":[5,4,9],"60":[5,4,10],"61":[4,4,12],"62":[4,4,9],"63":[4,4,11],"64":[3,4,11],"65":[5,4,1],"66":[12,9,74],"67":[6,9,47],"68":[5,9,32],"69":[6,9,31],"70":[15,9,66],"71":[3,4,9],"72":[3,4,9],"73":[3,4,15],"74":[4,4,11],"75":[4,4,12],"76":[7,4,43],"77":[7,4,22],"78":[7,4,34],"79":[8,4,33],"80":[4,4,9],"81":[4,4,17],"82":[10,4,27],"83":[10,4,30],"84":[10,4,29],"85":[4,1,2],"86":[2,4,1],"87":[9,6,16],"88":[3,1,8],"89":[4,1,4],"90":[2,4,1],"91":[10,6,17],"92":[9,6,20],"93":[5,1,2],"94":[2,5,1],"95":[6,7,23],"96":[5,7,16],"97":[4,7,16],"98":[4,7,13],"99":[4,1,4],"100":[6,4,12],"101":[6,4,12],"102":[2,4,1],"103":[4,6,33],"104":[9,6,34],"105":[12,6,40],"106":[12,6,45],"107":[9,6,33],"108":[9,6,24],"109":[13,6,54],"110":[11,6,31],"111":[7,6,45],"112":[2,4,2],"113":[5,6,21],"114":[4,6,1],"115":[6,6,1],"116":[3,4,9],"117":[3,4,17],"118":[9,4,31],"119":[9,4,29],"120":[9,4,29],"121":[10,4,29],"122":[3,1,14],"123":[8,3,41],"124":[10,3,38],"125":[10,3,37],"126":[10,3,37],"127":[14,3,46],"128":[16,3,52],"129":[15,3,37],"130":[3,1,1],"131":[4,1,24],"132":[2,4,1],"133":[14,6,21],"134":[2,4,1],"135":[6,6,20],"136":[5,6,31],"137":[14,6,51],"138":[5,6,16],"139":[6,6,34],"140":[5,6,15],"141":[9,6,30],"142":[3,1,2],"143":[4,1,5],"144":[3,4,9],"145":[3,4,9],"146":[4,4,28],"147":[4,4,3],"148":[6,8,19],"149":[6,8,12],"150":[6,8,12],"151":[6,8,12],"152":[6,8,12],"153":[20,4,54],"154":[4,1,24],"155":[9,4,33],"156":[3,1,2],"157":[4,3,1],"158":[2,1,10],"159":[3,2,7],"160":[3,1,24],"161":[6,3,20],"162":[6,3,49],"163":[4,1,24],"164":[2,4,1],"165":[24,6,35],"166":[9,6,37],"167":[3,1,24],"168":[4,1,24],"169":[2,4,1],"170":[10,6,28],"171":[7,6,23],"172":[8,6,33],"173":[4,1,24],"174":[5,4,24],"175":[15,4,21],"176":[16,4,32],"177":[4,1,24],"178":[2,4,11],"179":[2,4,1],"180":[6,6,13],"181":[6,6,21],"182":[6,6,22],"183":[8,6,23],"184":[8,4,19],"185":[9,4,24],"186":[4,1,24],"187":[3,1,24],"188":[4,3,1],"189":[5,7,1],"190":[5,7,1],"191":[6,7,1],"192":[6,7,1],"193":[5,7,1],"194":[4,3,1],"195":[6,7,1],"196":[8,7,1],"197":[7,7,1],"198":[6,7,1],"199":[6,7,1],"200":[6,7,1],"201":[7,7,1],"202":[4,3,1],"203":[6,7,1],"204":[6,7,1],"205":[5,7,1],"206":[5,7,1],"207":[4,3,1],"208":[6,7,1],"209":[6,7,1],"210":[7,7,1],"211":[7,7,1],"212":[7,7,1],"213":[4,3,1],"214":[7,7,1],"215":[7,7,1],"216":[7,7,1],"217":[7,7,1],"218":[6,7,1],"219":[8,3,23],"220":[9,3,39],"221":[8,3,30],"222":[15,3,145],"223":[15,3,97],"224":[20,3,97],"225":[6,3,10],"226":[3,1,1],"227":[9,3,20],"228":[4,1,24],"229":[12,4,78],"230":[15,4,61],"231":[9,4,40],"232":[4,1,24],"233":[4,1,24],"234":[4,4,1],"235":[5,8,1],"236":[5,8,1],"237":[5,8,1],"238":[5,8,1],"239":[5,8,1],"240":[4,4,1],"241":[6,8,1],"242":[5,8,1],"243":[5,8,1],"244":[5,8,1],"245":[5,8,1],"246":[5,8,1],"247":[7,8,1],"248":[4,4,1],"249":[4,8,13],"250":[9,8,1],"251":[6,8,1],"252":[6,8,1],"253":[7,8,1],"254":[6,8,1],"255":[3,1,15],"256":[4,1,30],"257":[6,4,23],"258":[5,1,24],"259":[5,5,24],"260":[3,1,5],"261":[9,3,33],"262":[6,3,45],"263":[8,3,23],"264":[8,3,41],"265":[8,3,28],"266":[2,1,1],"267":[1,2,46],"268":[1,2,105],"269":[1,2,1],"270":[1,3,9],"271":[1,3,18],"272":[2,1,1],"273":[3,2,67],"274":[1,5,34],"275":[2,2,60],"276":[1,2,141],"277":[1,2,23],"278":[1,1,9],"279":[1,1,25],"280":[1,1,33],"281":[1,2,26],"282":[1,1,7],"283":[1,1,18],"284":[1,1,4],"285":[1,1,1],"286":[1,2,42],"287":[1,2,58],"288":[1,2,1],"289":[1,3,6],"290":[1,3,25],"291":[1,1,31],"292":[1,1,56],"293":[1,1,28],"294":[1,1,16],"295":[2,1,86],"296":[1,3,30],"297":[4,1,53],"298":[1,5,38],"299":[2,1,20],"300":[1,1,1],"301":[2,1,30],"302":[1,3,8],"303":[2,1,35],"304":[1,3,17]},"averageFieldLength":[5.642622950819669,4.170491803278688,22.127868852459034],"storedFields":{"0":{"title":"Configurations","titles":[]},"1":{"title":"Basic Configuration","titles":["Configurations"]},"2":{"title":"Other configurations","titles":["Configurations"]},"3":{"title":"Example: Configuration of OneBot implementation side connected to NoneBot","titles":["Configurations"]},"4":{"title":"Other","titles":["Configurations"]},"5":{"title":"FAQ","titles":[]},"6":{"title":"Frequently Asked Questions","titles":["FAQ"]},"7":{"title":"Other questions","titles":["FAQ"]},"8":{"title":"Recommended Solution(QQ)","titles":["FAQ"]},"9":{"title":"Recommended Solution(Minecraft)","titles":["FAQ"]},"10":{"title":"Acknowledgements","titles":["FAQ"]},"11":{"title":"Install","titles":[]},"12":{"title":"Normal Installation","titles":["Install"]},"13":{"title":"Run with Docker","titles":["Install"]},"14":{"title":"Use TRSS Script","titles":["Install"]},"15":{"title":"Device Requirements","titles":["Install"]},"16":{"title":"For other questions, please refer to","titles":["Install","Device Requirements"]},"17":{"title":"Module liteyuki.bot","titles":[]},"18":{"title":"class LiteyukiBot","titles":["Module liteyuki.bot"]},"19":{"title":"func __init__(self, **kwargs) -> None","titles":["Module liteyuki.bot","class LiteyukiBot"]},"20":{"title":"func run(self)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"21":{"title":"async func keep_alive(self)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"22":{"title":"func restart(self, delay: int = 0)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"23":{"title":"func restart_process(self, name: Optional[str] = None)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"24":{"title":"func init(self, *args, **kwargs)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"25":{"title":"func init_logger(self)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"26":{"title":"func stop(self)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"27":{"title":"func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["Module liteyuki.bot","class LiteyukiBot"]},"28":{"title":"func on_after_start(self, func: LIFESPAN_FUNC)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"29":{"title":"func on_after_shutdown(self, func: LIFESPAN_FUNC)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"30":{"title":"func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"31":{"title":"func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC","titles":["Module liteyuki.bot","class LiteyukiBot"]},"32":{"title":"func on_after_restart(self, func: LIFESPAN_FUNC)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"33":{"title":"func get_bot() -> LiteyukiBot","titles":["Module liteyuki.bot"]},"34":{"title":"func get_config(key: str, default: Any = None) -> Any","titles":["Module liteyuki.bot"]},"35":{"title":"func get_config_with_compat(key: str, compat_keys: tuple[str], default: Any = None) -> Any","titles":["Module liteyuki.bot"]},"36":{"title":"Module liteyuki.bot.lifespan","titles":[]},"37":{"title":"var SYNC_LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan"]},"38":{"title":"var ASYNC_LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan"]},"39":{"title":"var LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan"]},"40":{"title":"var SYNC_PROCESS_LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan"]},"41":{"title":"var ASYNC_PROCESS_LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan"]},"42":{"title":"var PROCESS_LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan"]},"43":{"title":"class Lifespan","titles":["Module liteyuki.bot.lifespan"]},"44":{"title":"func __init__(self) -> None","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"45":{"title":"async func run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"46":{"title":"func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"47":{"title":"func on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"48":{"title":"func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"49":{"title":"func on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"50":{"title":"func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"51":{"title":"func on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"52":{"title":"async func before_start(self) -> None","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"53":{"title":"async func after_start(self) -> None","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"54":{"title":"async func before_process_shutdown(self, *args, **kwargs) -> None","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"55":{"title":"async func after_shutdown(self) -> None","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"56":{"title":"async func before_process_restart(self, *args, **kwargs) -> None","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"57":{"title":"async func after_restart(self) -> None","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"58":{"title":"Module liteyuki.comm.channel","titles":[]},"59":{"title":"var SYNC_ON_RECEIVE_FUNC","titles":["Module liteyuki.comm.channel"]},"60":{"title":"var ASYNC_ON_RECEIVE_FUNC","titles":["Module liteyuki.comm.channel"]},"61":{"title":"var ON_RECEIVE_FUNC","titles":["Module liteyuki.comm.channel"]},"62":{"title":"var SYNC_FILTER_FUNC","titles":["Module liteyuki.comm.channel"]},"63":{"title":"var ASYNC_FILTER_FUNC","titles":["Module liteyuki.comm.channel"]},"64":{"title":"var FILTER_FUNC","titles":["Module liteyuki.comm.channel"]},"65":{"title":"class Channel(Generic[T])","titles":["Module liteyuki.comm.channel"]},"66":{"title":"func __init__(self, name: str, type_check: Optional[bool] = None)","titles":["Module liteyuki.comm.channel","class Channel(Generic[T])"]},"67":{"title":"func send(self, data: T)","titles":["Module liteyuki.comm.channel","class Channel(Generic[T])"]},"68":{"title":"func receive(self) -> T","titles":["Module liteyuki.comm.channel","class Channel(Generic[T])"]},"69":{"title":"async func async_receive(self) -> T","titles":["Module liteyuki.comm.channel","class Channel(Generic[T])"]},"70":{"title":"func on_receive(self, filter_func: Optional[FILTER_FUNC] = None) -> Callable[[Callable[[T], Any]], Callable[[T], Any]]","titles":["Module liteyuki.comm.channel","class Channel(Generic[T])"]},"71":{"title":"var active_channel","titles":["Module liteyuki.comm.channel"]},"72":{"title":"var passive_channel","titles":["Module liteyuki.comm.channel"]},"73":{"title":"var publish_channel","titles":["Module liteyuki.comm.channel"]},"74":{"title":"var channel_deliver_active_channel","titles":["Module liteyuki.comm.channel"]},"75":{"title":"var channel_deliver_passive_channel","titles":["Module liteyuki.comm.channel"]},"76":{"title":"func set_channel(name: str, channel: Channel)","titles":["Module liteyuki.comm.channel"]},"77":{"title":"func set_channels(channels: dict[str, Channel])","titles":["Module liteyuki.comm.channel"]},"78":{"title":"func get_channel(name: str) -> Channel","titles":["Module liteyuki.comm.channel"]},"79":{"title":"func get_channels() -> dict[str, Channel]","titles":["Module liteyuki.comm.channel"]},"80":{"title":"var channel_deliver_active_channel","titles":["Module liteyuki.comm.channel"]},"81":{"title":"var channel_deliver_passive_channel","titles":["Module liteyuki.comm.channel"]},"82":{"title":"func on_set_channel(data: tuple[str, dict[str, Any]])","titles":["Module liteyuki.comm.channel"]},"83":{"title":"func on_get_channel(data: tuple[str, dict[str, Any]])","titles":["Module liteyuki.comm.channel"]},"84":{"title":"func on_get_channels(data: tuple[str, dict[str, Any]])","titles":["Module liteyuki.comm.channel"]},"85":{"title":"Module liteyuki.comm.event","titles":[]},"86":{"title":"class Event","titles":["Module liteyuki.comm.event"]},"87":{"title":"func __init__(self, name: str, data: dict[str, Any])","titles":["Module liteyuki.comm.event","class Event"]},"88":{"title":"Module liteyuki.comm","titles":[]},"89":{"title":"Module liteyuki.comm.rpc","titles":[]},"90":{"title":"class RPC","titles":["Module liteyuki.comm.rpc"]},"91":{"title":"func __init__(self, on_calling: ON_CALLING_FUNC) -> None","titles":["Module liteyuki.comm.rpc","class RPC"]},"92":{"title":"func call(self, args: tuple, kwargs: dict) -> Any","titles":["Module liteyuki.comm.rpc","class RPC"]},"93":{"title":"Module liteyuki.comm.socks_channel","titles":[]},"94":{"title":"class SocksChannel","titles":["Module liteyuki.comm.socks_channel"]},"95":{"title":"func __init__(self, name: str)","titles":["Module liteyuki.comm.socks_channel","class SocksChannel"]},"96":{"title":"func send(self, data)","titles":["Module liteyuki.comm.socks_channel","class SocksChannel"]},"97":{"title":"func receive(self)","titles":["Module liteyuki.comm.socks_channel","class SocksChannel"]},"98":{"title":"func close(self)","titles":["Module liteyuki.comm.socks_channel","class SocksChannel"]},"99":{"title":"Module liteyuki.comm.storage","titles":[]},"100":{"title":"var _on_main_subscriber_receive_funcs","titles":["Module liteyuki.comm.storage"]},"101":{"title":"var _on_sub_subscriber_receive_funcs","titles":["Module liteyuki.comm.storage"]},"102":{"title":"class KeyValueStore","titles":["Module liteyuki.comm.storage"]},"103":{"title":"func __init__(self)","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"104":{"title":"func set(self, key: str, value: Any) -> None","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"105":{"title":"func get(self, key: str, default: Optional[Any] = None) -> Optional[Any]","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"106":{"title":"func delete(self, key: str, ignore_key_error: bool = True) -> None","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"107":{"title":"func get_all(self) -> dict[str, Any]","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"108":{"title":"func publish(self, channel_: str, data: Any) -> None","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"109":{"title":"func on_subscriber_receive(self, channel_: str) -> Callable[[ON_RECEIVE_FUNC], ON_RECEIVE_FUNC]","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"110":{"title":"async func run_subscriber_receive_funcs(channel_: str, data: Any)","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"111":{"title":"async func start_receive_loop(self)","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"112":{"title":"class GlobalKeyValueStore","titles":["Module liteyuki.comm.storage"]},"113":{"title":"func get_instance(cls)","titles":["Module liteyuki.comm.storage","class GlobalKeyValueStore"]},"114":{"title":"attr _instance = None","titles":["Module liteyuki.comm.storage","class GlobalKeyValueStore"]},"115":{"title":"attr _lock = threading.Lock()","titles":["Module liteyuki.comm.storage","class GlobalKeyValueStore"]},"116":{"title":"var shared_memory","titles":["Module liteyuki.comm.storage"]},"117":{"title":"var _ref_count","titles":["Module liteyuki.comm.storage"]},"118":{"title":"func on_get(data: tuple[str, dict[str, Any]])","titles":["Module liteyuki.comm.storage"]},"119":{"title":"func on_set(data: tuple[str, dict[str, Any]])","titles":["Module liteyuki.comm.storage"]},"120":{"title":"func on_delete(data: tuple[str, dict[str, Any]])","titles":["Module liteyuki.comm.storage"]},"121":{"title":"func on_get_all(data: tuple[str, dict[str, Any]])","titles":["Module liteyuki.comm.storage"]},"122":{"title":"Module liteyuki.config","titles":[]},"123":{"title":"func flat_config(config: dict[str, Any]) -> dict[str, Any]","titles":["Module liteyuki.config"]},"124":{"title":"func load_from_yaml(file_: str) -> dict[str, Any]","titles":["Module liteyuki.config"]},"125":{"title":"func load_from_json(file_: str) -> dict[str, Any]","titles":["Module liteyuki.config"]},"126":{"title":"func load_from_toml(file_: str) -> dict[str, Any]","titles":["Module liteyuki.config"]},"127":{"title":"func load_from_files(*files: str, *, no_warning: bool = False) -> dict[str, Any]","titles":["Module liteyuki.config"]},"128":{"title":"func load_configs_from_dirs(*directories: str, *, no_waring: bool = False) -> dict[str, Any]","titles":["Module liteyuki.config"]},"129":{"title":"func load_config_in_default(no_waring: bool = False) -> dict[str, Any]","titles":["Module liteyuki.config"]},"130":{"title":"Module liteyuki.core","titles":[]},"131":{"title":"Module liteyuki.core.manager","titles":[]},"132":{"title":"class ChannelDeliver","titles":["Module liteyuki.core.manager"]},"133":{"title":"func __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]])","titles":["Module liteyuki.core.manager","class ChannelDeliver"]},"134":{"title":"class ProcessManager","titles":["Module liteyuki.core.manager"]},"135":{"title":"func __init__(self, lifespan: Lifespan)","titles":["Module liteyuki.core.manager","class ProcessManager"]},"136":{"title":"func start_all(self)","titles":["Module liteyuki.core.manager","class ProcessManager"]},"137":{"title":"func add_target(self, name: str, target: TARGET_FUNC, args: tuple = (), kwargs = None)","titles":["Module liteyuki.core.manager","class ProcessManager"]},"138":{"title":"func join_all(self)","titles":["Module liteyuki.core.manager","class ProcessManager"]},"139":{"title":"func terminate(self, name: str)","titles":["Module liteyuki.core.manager","class ProcessManager"]},"140":{"title":"func terminate_all(self)","titles":["Module liteyuki.core.manager","class ProcessManager"]},"141":{"title":"func is_process_alive(self, name: str) -> bool","titles":["Module liteyuki.core.manager","class ProcessManager"]},"142":{"title":"Module liteyuki.dev","titles":[]},"143":{"title":"Module liteyuki.dev.observer","titles":[]},"144":{"title":"var CALLBACK_FUNC","titles":["Module liteyuki.dev.observer"]},"145":{"title":"var FILTER_FUNC","titles":["Module liteyuki.dev.observer"]},"146":{"title":"func debounce(wait)","titles":["Module liteyuki.dev.observer"]},"147":{"title":"class CodeModifiedHandler(FileSystemEventHandler)","titles":["Module liteyuki.dev.observer"]},"148":{"title":"func on_modified(self, event)","titles":["Module liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"149":{"title":"func on_created(self, event)","titles":["Module liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"150":{"title":"func on_deleted(self, event)","titles":["Module liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"151":{"title":"func on_moved(self, event)","titles":["Module liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"152":{"title":"func on_any_event(self, event)","titles":["Module liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"153":{"title":"func on_file_system_event(directories: tuple[str], recursive: bool = True, event_filter: FILTER_FUNC = None) -> Callable[[CALLBACK_FUNC], CALLBACK_FUNC]","titles":["Module liteyuki.dev.observer"]},"154":{"title":"Module liteyuki.dev.plugin","titles":[]},"155":{"title":"func run_plugins(*module_path: str | Path)","titles":["Module liteyuki.dev.plugin"]},"156":{"title":"Module liteyuki.exception","titles":[]},"157":{"title":"class LiteyukiException(BaseException)","titles":["Module liteyuki.exception"]},"158":{"title":"Module liteyuki","titles":[]},"159":{"title":"var __version__","titles":["Module liteyuki"]},"160":{"title":"Module liteyuki.log","titles":[]},"161":{"title":"func get_format(level: str) -> str","titles":["Module liteyuki.log"]},"162":{"title":"func init_log(config: dict)","titles":["Module liteyuki.log"]},"163":{"title":"Module liteyuki.message.event","titles":[]},"164":{"title":"class MessageEvent","titles":["Module liteyuki.message.event"]},"165":{"title":"func __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel[MessageEvent]] = None, data: Optional[dict[str, Any]] = None)","titles":["Module liteyuki.message.event","class MessageEvent"]},"166":{"title":"func reply(self, message: str | dict[str, Any])","titles":["Module liteyuki.message.event","class MessageEvent"]},"167":{"title":"Module liteyuki.message","titles":[]},"168":{"title":"Module liteyuki.message.matcher","titles":[]},"169":{"title":"class Matcher","titles":["Module liteyuki.message.matcher"]},"170":{"title":"func __init__(self, rule: Rule, priority: int, block: bool)","titles":["Module liteyuki.message.matcher","class Matcher"]},"171":{"title":"func handle(self) -> Callable[[EventHandler], EventHandler]","titles":["Module liteyuki.message.matcher","class Matcher"]},"172":{"title":"async func run(self, event: MessageEvent) -> None","titles":["Module liteyuki.message.matcher","class Matcher"]},"173":{"title":"Module liteyuki.message.on","titles":[]},"174":{"title":"func add_matcher(matcher: Matcher)","titles":["Module liteyuki.message.on"]},"175":{"title":"func on_message(rule: Rule = empty_rule, priority: int = 0, block: bool = False) -> Matcher","titles":["Module liteyuki.message.on"]},"176":{"title":"func on_keywords(keywords: list[str], rule = empty_rule, priority: int = 0, block: bool = False) -> Matcher","titles":["Module liteyuki.message.on"]},"177":{"title":"Module liteyuki.message.rule","titles":[]},"178":{"title":"var RuleHandlerFunc","titles":["Module liteyuki.message.rule"]},"179":{"title":"class Rule","titles":["Module liteyuki.message.rule"]},"180":{"title":"func __init__(self, handler: RuleHandlerFunc)","titles":["Module liteyuki.message.rule","class Rule"]},"181":{"title":"func __or__(self, other: Rule) -> Rule","titles":["Module liteyuki.message.rule","class Rule"]},"182":{"title":"func __and__(self, other: Rule) -> Rule","titles":["Module liteyuki.message.rule","class Rule"]},"183":{"title":"async func __call__(self, event: MessageEvent) -> bool","titles":["Module liteyuki.message.rule","class Rule"]},"184":{"title":"async func empty_rule(event: MessageEvent) -> bool","titles":["Module liteyuki.message.rule"]},"185":{"title":"async func is_su_rule(event: MessageEvent) -> bool","titles":["Module liteyuki.message.rule"]},"186":{"title":"Module liteyuki.message.session","titles":[]},"187":{"title":"Module liteyuki.mkdoc","titles":[]},"188":{"title":"class DefType(Enum)","titles":["Module liteyuki.mkdoc"]},"189":{"title":"attr FUNCTION = 'function'","titles":["Module liteyuki.mkdoc","class DefType(Enum)"]},"190":{"title":"attr METHOD = 'method'","titles":["Module liteyuki.mkdoc","class DefType(Enum)"]},"191":{"title":"attr STATIC_METHOD = 'staticmethod'","titles":["Module liteyuki.mkdoc","class DefType(Enum)"]},"192":{"title":"attr CLASS_METHOD = 'classmethod'","titles":["Module liteyuki.mkdoc","class DefType(Enum)"]},"193":{"title":"attr PROPERTY = 'property'","titles":["Module liteyuki.mkdoc","class DefType(Enum)"]},"194":{"title":"class FunctionInfo(BaseModel)","titles":["Module liteyuki.mkdoc"]},"195":{"title":"attr name: str = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class FunctionInfo(BaseModel)"]},"196":{"title":"attr args: list[tuple[str, str]] = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class FunctionInfo(BaseModel)"]},"197":{"title":"attr return_type: str = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class FunctionInfo(BaseModel)"]},"198":{"title":"attr docstring: str = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class FunctionInfo(BaseModel)"]},"199":{"title":"attr source_code: str = ''","titles":["Module liteyuki.mkdoc","class FunctionInfo(BaseModel)"]},"200":{"title":"attr type: DefType = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class FunctionInfo(BaseModel)"]},"201":{"title":"attr is_async: bool = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class FunctionInfo(BaseModel)"]},"202":{"title":"class AttributeInfo(BaseModel)","titles":["Module liteyuki.mkdoc"]},"203":{"title":"attr name: str = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class AttributeInfo(BaseModel)"]},"204":{"title":"attr type: str = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class AttributeInfo(BaseModel)"]},"205":{"title":"attr value: Any = None","titles":["Module liteyuki.mkdoc","class AttributeInfo(BaseModel)"]},"206":{"title":"attr docstring: str = ''","titles":["Module liteyuki.mkdoc","class AttributeInfo(BaseModel)"]},"207":{"title":"class ClassInfo(BaseModel)","titles":["Module liteyuki.mkdoc"]},"208":{"title":"attr name: str = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class ClassInfo(BaseModel)"]},"209":{"title":"attr docstring: str = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class ClassInfo(BaseModel)"]},"210":{"title":"attr methods: list[FunctionInfo] = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class ClassInfo(BaseModel)"]},"211":{"title":"attr attributes: list[AttributeInfo] = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class ClassInfo(BaseModel)"]},"212":{"title":"attr inherit: list[str] = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class ClassInfo(BaseModel)"]},"213":{"title":"class ModuleInfo(BaseModel)","titles":["Module liteyuki.mkdoc"]},"214":{"title":"attr module_path: str = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class ModuleInfo(BaseModel)"]},"215":{"title":"attr functions: list[FunctionInfo] = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class ModuleInfo(BaseModel)"]},"216":{"title":"attr classes: list[ClassInfo] = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class ModuleInfo(BaseModel)"]},"217":{"title":"attr attributes: list[AttributeInfo] = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class ModuleInfo(BaseModel)"]},"218":{"title":"attr docstring: str = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class ModuleInfo(BaseModel)"]},"219":{"title":"func get_relative_path(base_path: str, target_path: str) -> str","titles":["Module liteyuki.mkdoc"]},"220":{"title":"func write_to_files(file_data: dict[str, str])","titles":["Module liteyuki.mkdoc"]},"221":{"title":"func get_file_list(module_folder: str)","titles":["Module liteyuki.mkdoc"]},"222":{"title":"func get_module_info_normal(file_path: str, ignore_private: bool = True) -> ModuleInfo","titles":["Module liteyuki.mkdoc"]},"223":{"title":"func generate_markdown(module_info: ModuleInfo, front_matter = None, lang: str = 'zh-CN') -> str","titles":["Module liteyuki.mkdoc"]},"224":{"title":"func generate_docs(module_folder: str, output_dir: str, with_top: bool = False, lang: str = 'zh-CN', ignored_paths = None)","titles":["Module liteyuki.mkdoc"]},"225":{"title":"var no_module_name_pyfile_path","titles":["Module liteyuki.mkdoc"]},"226":{"title":"Module liteyuki.plugin","titles":[]},"227":{"title":"func get_loaded_plugins() -> dict[str, Plugin]","titles":["Module liteyuki.plugin"]},"228":{"title":"Module liteyuki.plugin.load","titles":[]},"229":{"title":"func load_plugin(module_path: str | Path) -> Optional[Plugin]","titles":["Module liteyuki.plugin.load"]},"230":{"title":"func load_plugins(*plugin_dir: str, *, ignore_warning: bool = True) -> set[Plugin]","titles":["Module liteyuki.plugin.load"]},"231":{"title":"func format_display_name(display_name: str, plugin_type: PluginType) -> str","titles":["Module liteyuki.plugin.load"]},"232":{"title":"Module liteyuki.plugin.manager","titles":[]},"233":{"title":"Module liteyuki.plugin.model","titles":[]},"234":{"title":"class PluginType(Enum)","titles":["Module liteyuki.plugin.model"]},"235":{"title":"attr APPLICATION = 'application'","titles":["Module liteyuki.plugin.model","class PluginType(Enum)"]},"236":{"title":"attr SERVICE = 'service'","titles":["Module liteyuki.plugin.model","class PluginType(Enum)"]},"237":{"title":"attr MODULE = 'module'","titles":["Module liteyuki.plugin.model","class PluginType(Enum)"]},"238":{"title":"attr UNCLASSIFIED = 'unclassified'","titles":["Module liteyuki.plugin.model","class PluginType(Enum)"]},"239":{"title":"attr TEST = 'test'","titles":["Module liteyuki.plugin.model","class PluginType(Enum)"]},"240":{"title":"class PluginMetadata(BaseModel)","titles":["Module liteyuki.plugin.model"]},"241":{"title":"attr name: str = NO_DEFAULT","titles":["Module liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"242":{"title":"attr description: str = ''","titles":["Module liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"243":{"title":"attr usage: str = ''","titles":["Module liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"244":{"title":"attr type: PluginType = PluginType.UNCLASSIFIED","titles":["Module liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"245":{"title":"attr author: str = ''","titles":["Module liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"246":{"title":"attr homepage: str = ''","titles":["Module liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"247":{"title":"attr extra: dict[str, Any] = {}","titles":["Module liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"248":{"title":"class Plugin(BaseModel)","titles":["Module liteyuki.plugin.model"]},"249":{"title":"func __hash__(self)","titles":["Module liteyuki.plugin.model","class Plugin(BaseModel)"]},"250":{"title":"attr model_config = {'arbitrary_types_allowed': True}","titles":["Module liteyuki.plugin.model","class Plugin(BaseModel)"]},"251":{"title":"attr name: str = NO_DEFAULT","titles":["Module liteyuki.plugin.model","class Plugin(BaseModel)"]},"252":{"title":"attr module: ModuleType = NO_DEFAULT","titles":["Module liteyuki.plugin.model","class Plugin(BaseModel)"]},"253":{"title":"attr module_name: str = NO_DEFAULT","titles":["Module liteyuki.plugin.model","class Plugin(BaseModel)"]},"254":{"title":"attr metadata: Optional[PluginMetadata] = None","titles":["Module liteyuki.plugin.model","class Plugin(BaseModel)"]},"255":{"title":"Module liteyuki.plugins","titles":[]},"256":{"title":"Module liteyuki.plugins.liteecho","titles":[]},"257":{"title":"async func liteecho(event: MessageEvent)","titles":["Module liteyuki.plugins.liteecho"]},"258":{"title":"Module liteyuki.plugins.plugin_loader","titles":[]},"259":{"title":"func default_plugins_loader()","titles":["Module liteyuki.plugins.plugin_loader"]},"260":{"title":"Module liteyuki.utils","titles":[]},"261":{"title":"func is_coroutine_callable(call: Callable[..., Any]) -> bool","titles":["Module liteyuki.utils"]},"262":{"title":"func run_coroutine(*coro: Coroutine)","titles":["Module liteyuki.utils"]},"263":{"title":"func run_coroutine_in_thread(*coro: Coroutine)","titles":["Module liteyuki.utils"]},"264":{"title":"func path_to_module_name(path: Path) -> str","titles":["Module liteyuki.utils"]},"265":{"title":"func async_wrapper(func: Callable[..., Any]) -> Callable[..., Coroutine]","titles":["Module liteyuki.utils"]},"266":{"title":"Channel Communication","titles":[]},"267":{"title":"Introduction","titles":["Channel Communication"]},"268":{"title":"Example","titles":["Channel Communication"]},"269":{"title":"共享内存通信","titles":["Channel Communication"]},"270":{"title":"简介","titles":["Channel Communication","共享内存通信"]},"271":{"title":"示例","titles":["Channel Communication","共享内存通信"]},"272":{"title":"Development Guide","titles":[]},"273":{"title":"How to Develop","titles":["Development Guide"]},"274":{"title":"Suggestions","titles":["Development Guide","How to Develop"]},"275":{"title":"Project Structure","titles":["Development Guide"]},"276":{"title":"Standardization","titles":["Development Guide"]},"277":{"title":"Finally","titles":["Development Guide"]},"278":{"title":"轻雪函数","titles":[]},"279":{"title":"函数文件","titles":["轻雪函数"]},"280":{"title":"命令文档","titles":["轻雪函数"]},"281":{"title":"示例","titles":["轻雪函数","命令文档"]},"282":{"title":"API","titles":["轻雪函数"]},"283":{"title":"结束关键字","titles":["轻雪函数"]},"284":{"title":"简介","titles":[]},"285":{"title":"开始","titles":["简介"]},"286":{"title":"创建插件","titles":["简介","开始"]},"287":{"title":"编写逻辑部分","titles":["简介","开始"]},"288":{"title":"加载插件","titles":["简介","开始"]},"289":{"title":"方法1","titles":["简介","开始","加载插件"]},"290":{"title":"方法2","titles":["简介","开始","加载插件"]},"291":{"title":"简介","titles":[]},"292":{"title":"加载资源包","titles":["简介"]},"293":{"title":"用户协议","titles":[]},"294":{"title":"基础插件","titles":[]},"295":{"title":"轻雪命令liteyuki_command","titles":["基础插件"]},"296":{"title":"命令别名","titles":["基础插件","轻雪命令liteyuki_command"]},"297":{"title":"插件/包管理器 liteyuki_pacman","titles":["基础插件"]},"298":{"title":"命令别名","titles":["基础插件","插件/包管理器 liteyuki_pacman"]},"299":{"title":"用户管理liteyuki_user","titles":["基础插件"]},"300":{"title":"功能插件命令","titles":[]},"301":{"title":"轻雪天气liteyuki_weather","titles":["功能插件命令"]},"302":{"title":"命令别名","titles":["功能插件命令","轻雪天气liteyuki_weather"]},"303":{"title":"统计信息liteyuki_statistics","titles":["功能插件命令"]},"304":{"title":"命令别名","titles":["功能插件命令","统计信息liteyuki_statistics"]}},"dirtCount":0,"index":[["或",{"2":{"303":2}}],["或插件路径",{"2":{"229":1}}],["当前bot",{"2":{"303":1}}],["当前群聊",{"2":{"303":1}}],["当前会话启用",{"2":{"297":1}}],["秒",{"2":{"303":2}}],["小时",{"2":{"303":2}}],["天",{"2":{"303":2}}],["天气",{"2":{"301":1,"302":1}}],["格式",{"2":{"303":1}}],["格式为onebot",{"2":{"295":1}}],["统计时间范围为duration",{"2":{"303":1}}],["统计周期为period",{"2":{"303":1}}],["统计信息",{"2":{"303":1}}],["统计信息liteyuki",{"0":{"303":1},"1":{"304":1}}],["功能",{"2":{"303":1}}],["功能插件命令",{"0":{"300":1},"1":{"301":1,"302":1,"303":1,"304":1}}],["绑定城市",{"2":{"302":1}}],["绑定查询城市",{"2":{"301":1}}],["个人全局生效",{"2":{"301":1}}],["个人信息",{"2":{"299":1}}],["海淀",{"2":{"301":1}}],["北京",{"2":{"301":1}}],["支持中英文",{"2":{"301":2}}],["支持中英文城市名",{"2":{"301":1}}],["支持多个关键词查询",{"2":{"301":1}}],["支持绑定城市",{"2":{"301":1}}],["支持单行注释",{"2":{"279":1}}],["受限于nonebot2钩子函数的依赖注入参数",{"2":{"298":1}}],["帮助",{"2":{"298":1}}],["列表",{"2":{"298":1}}],["列出所有资源包",{"2":{"297":1}}],["列出所有插件",{"2":{"297":1}}],["更改",{"2":{"298":1}}],["更新",{"2":{"298":1}}],["更新插件商店索引",{"2":{"297":1}}],["更新轻雪",{"2":{"295":1,"296":1}}],["全局停用",{"2":{"298":1}}],["全局启用",{"2":{"297":1,"298":1}}],["搜索",{"2":{"298":1}}],["卸载",{"2":{"298":2}}],["卸载资源包",{"2":{"297":1}}],["卸载插件",{"2":{"297":1}}],["私聊所有人可用",{"2":{"297":2}}],["包管理器",{"0":{"297":1},"1":{"298":1}}],["包括子task",{"2":{"280":1}}],["切换图片模式",{"2":{"296":1}}],["状态",{"2":{"296":1}}],["别名",{"2":{"296":1,"298":1,"299":1,"302":1,"304":1}}],["所有人",{"2":{"295":1,"297":1,"299":3}}],["所以在编写lyfunction时也要注意异步的调用",{"2":{"283":1}}],["群聊",{"2":{"296":1}}],["群聊仅群主",{"2":{"295":1,"297":2}}],["群号",{"2":{"295":1}}],["管理员",{"2":{"295":1,"297":2}}],["停用插件",{"2":{"297":2}}],["停用",{"2":{"296":1,"298":1}}],["停用机器人",{"2":{"295":1}}],["停止后钩子",{"2":{"55":1}}],["停止前钩子",{"2":{"54":1}}],["停止",{"2":{"44":1}}],["停止轻雪",{"2":{"23":1,"26":1}}],["该功能需要commit",{"2":{"295":1}}],["该模块封装通道实现",{"2":{"270":1}}],["该模块用于存放一些开发工具",{"2":{"142":1}}],["该模块用于常用配置文件的加载",{"2":{"122":1}}],["该模块用于轻雪主进程和nonebot子进程之间的通信",{"2":{"88":1}}],["推荐私聊使用",{"2":{"295":1}}],["推荐在编写html时同时更改对应js代码",{"2":{"291":1}}],["查询目标地实时天气",{"2":{"301":1}}],["查询实时天气",{"2":{"301":1}}],["查询",{"2":{"296":1,"299":1}}],["查询配置项",{"2":{"295":1}}],["查看用户信息菜单",{"2":{"299":1}}],["查看插件帮助",{"2":{"297":1}}],["查看轻雪文档",{"2":{"295":1}}],["查看统计信息和状态",{"2":{"295":1}}],["查看当前bot",{"2":{"295":1}}],["和风天气的天气key",{"2":{"301":1}}],["和",{"2":{"295":1}}],["和10是不一样的",{"2":{"295":1}}],["和config目录下的所有配置文件",{"2":{"129":1}}],["输入值会被执行以转换为正确的类型",{"2":{"295":1}}],["输出",{"2":{"279":1}}],["输出文件夹",{"2":{"224":1}}],["输出文件",{"2":{"220":1}}],["版本",{"2":{"295":1}}],["❌",{"2":{"295":11}}],["超级用户可用",{"2":{"295":1,"297":2}}],["超级用户",{"2":{"295":10,"297":10}}],["重载",{"2":{"298":1}}],["重载所有资源包",{"2":{"297":1}}],["重载资源",{"2":{"296":1}}],["重载轻雪",{"2":{"295":1}}],["重启轻雪",{"2":{"296":1}}],["重启轻雪即可加载插件",{"2":{"289":1}}],["重启轻雪本体",{"2":{"22":1}}],["重启后钩子",{"2":{"57":1}}],["重启前钩子",{"2":{"56":1}}],["重启",{"2":{"44":1}}],["举例",{"2":{"295":1}}],["权限",{"2":{"295":1,"297":2,"299":1}}],["说明",{"2":{"295":1,"297":2,"299":1}}],["~代替",{"2":{"294":1}}],["~可以使用插件",{"2":{"294":1}}],["安装插件",{"2":{"297":1}}],["安装",{"2":{"294":1,"298":1}}],["安装的插件",{"2":{"229":1}}],["命令",{"2":{"295":1,"296":1,"297":2,"298":1,"299":2,"301":1,"302":1,"303":1,"304":1}}],["命令别名",{"0":{"296":1,"298":1,"302":1,"304":1},"2":{"294":1,"299":1}}],["命令文档",{"0":{"280":1},"1":{"281":1}}],["为可选参数",{"2":{"294":1}}],["为必填参数",{"2":{"294":1}}],["为子进程重启时调用",{"2":{"31":1}}],["为子进程停止时调用",{"2":{"30":1}}],["且通过安全的方式传输到轻雪的服务器",{"2":{"293":1}}],["且通道标识为",{"2":{"268":1}}],["系统信息及python信息",{"2":{"293":1}}],["内存",{"2":{"293":1}}],["内存共享是线程安全的",{"2":{"270":1}}],["内存共享使得代码编写更加简洁",{"2":{"270":1}}],["分钟",{"2":{"303":2}}],["分发",{"2":{"293":1}}],["分工明确",{"2":{"122":1}}],["修改优先级",{"2":{"297":1}}],["修改",{"2":{"293":1}}],["本项目不会收集用户的任何隐私信息",{"2":{"293":1}}],["本项目遵循mit协议",{"2":{"293":1}}],["本模块用于实现rpc",{"2":{"89":1}}],["本模块用于轻雪主进程和子进程之间的通信的事件类",{"2":{"85":1}}],["本模块定义了一个通用的通道类",{"2":{"58":1}}],["同时用户也应该自行选择可用的资源包",{"2":{"292":1}}],["同步接收数据",{"2":{"68":1}}],["同步接收函数",{"2":{"59":1}}],["同步过滤函数",{"2":{"62":1}}],["同步进程生命周期函数",{"2":{"40":1}}],["同步生命周期函数",{"2":{"37":1}}],["第三方资源包开发者需要注意版本兼容性",{"2":{"292":1}}],["对于主动推送的插件不生效",{"2":{"298":1}}],["对于不同资源包的不同文件",{"2":{"292":1}}],["对外启动方法",{"2":{"136":1}}],["└─",{"2":{"292":1}}],["└───",{"2":{"292":1}}],["└─resource",{"2":{"292":2}}],["├─templates",{"2":{"292":1}}],["├─metadata",{"2":{"292":2}}],["正常的路径应该是这样的",{"2":{"292":1}}],["只需要将其解压到根目录resources目录下即可",{"2":{"292":1}}],["zip格式压缩的",{"2":{"292":1}}],["zh",{"0":{"223":1,"224":1},"2":{"2":1,"223":2,"224":1,"275":1}}],["以上内容仅用于项目的优化",{"2":{"293":1}}],["以避免出现无法预料的问题",{"2":{"291":1}}],["以下我们会编写一个简单的插件",{"2":{"287":1}}],["错位等无法预料的事情发生",{"2":{"291":1}}],["异常",{"2":{"291":1}}],["异步任务结束关键字",{"2":{"283":1}}],["异步等待",{"2":{"280":1}}],["异步包装器",{"2":{"265":1}}],["异步接收数据",{"2":{"69":1}}],["异步接收函数",{"2":{"60":1}}],["异步过滤函数",{"2":{"63":1}}],["异步进程生命周期函数",{"2":{"41":1}}],["异步生命周期函数",{"2":{"38":1}}],["请阅读插件主页的说明",{"2":{"298":1}}],["请确保您所编写的html代码能被bot解析",{"2":{"291":1}}],["请注意",{"2":{"291":1}}],["请不要将需要动态加载的内容写入配置文件",{"2":{"122":1}}],["欢迎各位投稿资源包到轻雪资源商店",{"2":{"291":1}}],["部分异常信息",{"2":{"293":1}}],["部分内容制作需要一点点前端基础",{"2":{"291":1}}],["部分来源于",{"2":{"260":1}}],["讲起打包成一个新的资源包",{"2":{"291":1}}],["仅需按照原有路径进行文件替换即可",{"2":{"291":1}}],["那么加载b包后",{"2":{"292":1}}],["那么你能够很快就上手",{"2":{"291":1}}],["那么当前所有函数包的task都会被截停销毁",{"2":{"283":1}}],["如果你接触过minecraft的资源包",{"2":{"291":1}}],["如果你想同时输出多行内容可以尝试换行符",{"2":{"279":1}}],["资源",{"2":{"291":1}}],["资源包管理",{"2":{"297":1}}],["资源包的结构会随着轻雪的更新而有变动",{"2":{"292":1}}],["资源包的制作很简单",{"2":{"291":1}}],["资源包加载遵循一个优先级",{"2":{"292":1}}],["资源包描述",{"2":{"292":1}}],["资源包名称",{"2":{"292":1}}],["资源包通常是以",{"2":{"292":1}}],["资源包",{"2":{"291":1,"298":1}}],["它允许你一定程度上自定义轻雪的外观",{"2":{"291":1}}],["它允许你在轻雪中运行一些自定义的由数据驱动的命令",{"2":{"278":1}}],["字体包",{"2":{"291":1}}],["字符串",{"2":{"223":1}}],["亦可根据用途称为主题包",{"2":{"291":1}}],["保存后轻雪会自动重载nonebot进程",{"2":{"290":1}}],["保持轻雪运行",{"2":{"21":1}}],["我们在src",{"2":{"290":1}}],["然后运行python",{"2":{"290":1}}],["方法2",{"0":{"290":1}}],["方法1",{"0":{"289":1}}],["用户管理liteyuki",{"0":{"299":1}}],["用户协议",{"0":{"293":1}}],["用observer的on",{"2":{"287":1}}],["用于统计bot接收到的消息",{"2":{"303":1}}],["用于开发nonebot时进行文件系统变更重载",{"2":{"287":1}}],["用于结束当前已完成function的执行",{"2":{"283":1}}],["用于存放内置插件",{"2":{"255":1}}],["用于获取和唯一标识",{"2":{"137":1}}],["用于进程间通信",{"2":{"58":1}}],["排除的文件扩展名",{"2":{"287":1}}],["因此插件主要是一些后台任务或者与聊天机器人的通信",{"2":{"287":1}}],["定义插件元数据",{"2":{"286":1}}],["定义变量",{"2":{"280":1}}],["导入轻雪bot和日志",{"2":{"287":1}}],["导入文件系统事件",{"2":{"287":1}}],["导入文件系统观察器",{"2":{"287":1}}],["导入文件夹下多个插件",{"2":{"230":1}}],["导入逻辑部分",{"2":{"286":1}}],["即后加载的资源包会覆盖前面的资源包",{"2":{"292":1}}],["即可创建一个插件",{"2":{"286":1}}],["即不等待",{"2":{"280":1}}],["首先创建一个文件夹",{"2":{"286":1}}],["开始",{"0":{"285":1},"1":{"286":1,"287":1,"288":1,"289":1,"290":1}}],["编写逻辑部分",{"0":{"287":1}}],["编写轻雪函数推荐你使用vs",{"2":{"283":1}}],["编辑时的语法高亮可采取shell格式",{"2":{"279":1}}],["有一个task任务没有完成而await被执行了",{"2":{"283":1}}],["的情况是效率提升的关键",{"2":{"283":1}}],["单线程走到底",{"2":{"283":1}}],["单位s",{"2":{"280":1}}],["避免出现",{"2":{"283":1}}],["由于liteyukibot基于异步运行",{"2":{"283":1}}],["结束关键字",{"0":{"283":1}}],["结束函数关键字",{"2":{"280":1}}],["理论上所有基于onebotv11的api都可调用",{"2":{"282":1}}],["则该文件夹不会被识别为资源包",{"2":{"292":1}}],["则需要删除await",{"2":{"281":1}}],["则传入泛型默认开启",{"2":{"66":1}}],["无需手动创建实例",{"2":{"290":1}}],["无需手动初始化bot",{"2":{"155":1}}],["无限戳",{"2":{"281":1}}],["执行",{"2":{"281":1}}],["疯狂戳好友",{"2":{"281":1}}],["否则会导致渲染失败或渲染结果不理想",{"2":{"291":1}}],["否则task对象会被销毁",{"2":{"280":1}}],["否则默认关闭",{"2":{"66":1}}],["需要在最后调用",{"2":{"280":1}}],["等待所有异步任务结束",{"2":{"280":1}}],["使用通用日期简写",{"2":{"303":2}}],["使用此项目代表你已经同意以上协议",{"2":{"293":1}}],["使用开发工具快速运行插件",{"2":{"290":1}}],["使用",{"2":{"281":1}}],["使用新的task执行命令",{"2":{"280":1}}],["使用watchdog监控文件变化并重启bot",{"2":{"143":1}}],["也支持句末注释",{"2":{"279":1}}],["例如npm",{"2":{"294":1}}],["例如nonebot插件中",{"2":{"268":1}}],["例如你在a中定义了templates",{"2":{"292":1}}],["例如html",{"2":{"291":1}}],["例如main",{"2":{"290":1}}],["例如watchdog",{"2":{"286":1,"289":1}}],["例如",{"2":{"279":2,"292":1,"301":1}}],["例如test",{"2":{"279":1,"290":1}}],["函数文件放在资源包的functions目录下",{"2":{"279":1}}],["函数文件",{"0":{"279":1}}],["函数列表",{"2":{"45":1}}],["属于资源包的一部分",{"2":{"278":1}}],["类似于minecraft的mcfunction",{"2":{"278":1}}],["类似于redis",{"2":{"99":1}}],["是可以相对引用的",{"2":{"292":1}}],["是轻雪的一个功能",{"2":{"278":1}}],["是否为协程可调用对象",{"2":{"261":1}}],["是否忽略警告",{"2":{"230":1}}],["是否忽略键不存在的错误",{"2":{"106":1}}],["是否包含顶层文件夹",{"2":{"224":1}}],["是否阻断后续优先级更低的匹配器",{"2":{"170":1}}],["是否递归监听子目录",{"2":{"153":1}}],["是否开启类型检查",{"2":{"66":1}}],["示例",{"0":{"271":1,"281":1}}],["线程锁会自动保护共享内存的读写操作",{"2":{"270":1}}],["相比于普通进程通信",{"2":{"270":1}}],["相对路径",{"2":{"220":1}}],["简介",{"0":{"270":1,"284":1,"291":1},"1":{"285":1,"286":1,"287":1,"288":1,"289":1,"290":1,"292":1}}],["被动模式",{"2":{"268":1}}],["被动通道传递通道",{"2":{"75":1,"81":1}}],["被动通道",{"2":{"72":1}}],["每隔0",{"2":{"281":1}}],["每行一个命令",{"2":{"279":1}}],["每次接收到字符串数据时都会运行",{"2":{"268":1}}],["每3秒发送一次消息",{"2":{"268":1}}],["每个配置文件给一个或一类服务提供配置",{"2":{"122":1}}],["创建入口文件",{"2":{"290":1}}],["创建插件",{"0":{"286":1}}],["创建子进程的同时会初始化一个被动通道和一个主动通道",{"2":{"268":1}}],["创建asyncio",{"2":{"136":1}}],["路径a",{"2":{"264":1}}],["转换路径为模块名",{"2":{"264":1}}],["可用",{"2":{"295":1}}],["可用参数",{"2":{"295":1}}],["可以在配置文件中把auto",{"2":{"293":1}}],["可以在a的index",{"2":{"292":1}}],["可以在此基础上进行修改",{"2":{"291":1}}],["可以很高程度地扩展轻雪的功能",{"2":{"284":1}}],["可以是本地插件或是通过",{"2":{"229":1}}],["可递归",{"2":{"280":1}}],["可调用对象",{"2":{"261":1}}],["判断是否为协程可调用对象",{"2":{"261":1}}],["并且应该在metadata",{"2":{"292":1}}],["并且不用修改源代码",{"2":{"291":1}}],["并在其中写入一些代码",{"2":{"290":1}}],["并在其中写入以下代码",{"2":{"290":1}}],["并在其中创建一个",{"2":{"286":1}}],["并遵循其许可进行修改",{"2":{"260":1}}],["并发运行异步函数",{"2":{"45":1}}],["一个",{"2":{"286":1}}],["一个键不要多次出现",{"2":{"122":1}}],["一些常用的工具类",{"2":{"260":1}}],["应在初始化时调用",{"2":{"259":1}}],["根据不同类型插件设置颜色",{"2":{"231":1}}],["加载",{"2":{"298":1}}],["加载资源包",{"0":{"292":1},"2":{"297":1}}],["加载插件",{"0":{"288":1},"1":{"289":1,"290":1}}],["加载插件加载器",{"2":{"19":1}}],["加载单个插件",{"2":{"229":1}}],["插件停用只能阻断传入响应",{"2":{"298":1}}],["插件管理",{"2":{"297":1,"298":1}}],["插件",{"0":{"297":1},"1":{"298":1}}],["插件信息",{"2":{"293":1}}],["插件描述",{"2":{"286":1}}],["插件版本",{"2":{"286":1}}],["插件类型",{"2":{"231":1,"286":1}}],["插件名称",{"2":{"229":1,"231":1,"286":1}}],["插件字典",{"2":{"227":1}}],["插件路径",{"2":{"155":1}}],["去头路径",{"2":{"225":1}}],["忽略的路径",{"2":{"224":1}}],["忽略私有函数和类",{"2":{"222":1}}],["模块名",{"2":{"264":1}}],["模块文件夹",{"2":{"224":1}}],["模块信息",{"2":{"222":1,"223":1}}],["源代码",{"2":{"223":1,"271":1}}],["+",{"2":{"223":2,"264":1}}],["+=",{"2":{"22":1,"70":1,"223":15}}],["语言包等",{"2":{"291":1}}],["语言",{"2":{"223":1,"224":1}}],["自定义选项title",{"2":{"223":1}}],["自动调用",{"2":{"24":1}}],["你在a包中定义了一个index",{"2":{"292":1}}],["你自己制作的资源包也应该遵循这个规则",{"2":{"292":1}}],["你也可以自己制作资源包",{"2":{"291":1}}],["你的插件代码",{"2":{"286":1}}],["你可以选择开启auto",{"2":{"293":1}}],["你可以自由使用",{"2":{"293":1}}],["你可以自定义一些信息",{"2":{"292":1}}],["你可以在多个线程中读写共享内存",{"2":{"270":1}}],["你可以通过storage模块实现内存共享通信",{"2":{"270":1}}],["你可在此自定义生成的markdown格式",{"2":{"223":1}}],["你应该使用其他储存方式",{"2":{"122":1}}],["生成文档",{"2":{"224":1}}],["生成模块的markdown",{"2":{"223":1}}],["生命周期函数",{"2":{"27":2,"28":2,"29":2,"30":2,"31":2,"32":2,"39":1,"46":2,"47":2,"49":2,"51":2}}],["生命周期管理",{"2":{"19":1}}],["文件内容为一系列的命令",{"2":{"279":1}}],["文件名以",{"2":{"279":1}}],["文件夹路径",{"2":{"230":1}}],["文件路径",{"2":{"222":1}}],["文件数据",{"2":{"220":1}}],["目标路径",{"2":{"219":1}}],["基础插件",{"0":{"294":1},"1":{"295":1,"296":1,"297":1,"298":1,"299":1}}],["基础路径",{"2":{"219":1}}],["基于socket的通道",{"2":{"93":1}}],["基于ipc",{"2":{"89":1}}],["x26",{"2":{"176":1,"223":4}}],["x3c",{"2":{"20":4,"22":1,"162":5,"174":1,"223":8,"229":2,"231":2,"280":6,"301":2,"303":2}}],["505468b及以后的lagrange",{"2":{"295":1}}],["59",{"2":{"228":1,"232":1}}],["55",{"2":{"177":1}}],["52",{"2":{"173":1}}],["51",{"2":{"168":1}}],["添加配置项",{"2":{"295":1}}],["添加sleep",{"2":{"281":1}}],["添加处理函数",{"2":{"171":1}}],["添加进程",{"2":{"137":1}}],["优先级",{"2":{"170":1}}],["规则函数签名",{"2":{"178":1}}],["规则",{"2":{"170":1}}],["匹配器",{"2":{"170":1}}],["回复消息",{"2":{"166":1}}],["下午12",{"2":{"256":1}}],["下午11",{"2":{"228":1,"232":1}}],["下午10",{"2":{"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"258":1}}],["下午8",{"2":{"36":1}}],["⭕",{"2":{"162":1}}],["⚠️",{"2":{"162":1}}],["✅",{"2":{"162":1}}],["ℹ️信息",{"2":{"268":4}}],["ℹ️",{"2":{"162":1}}],["🐛",{"2":{"162":1}}],["在群聊启用",{"2":{"295":1}}],["在普通图片和markdown大图之间切换",{"2":{"295":1}}],["在b中定义了templates",{"2":{"292":1}}],["在配置文件中的liteyuki",{"2":{"289":1}}],["在设备上执行命令",{"2":{"280":1}}],["在发信器输出",{"2":{"279":1}}],["在任意进程中均可使用",{"2":{"271":1}}],["在子进程中",{"2":{"268":1}}],["在轻雪插件中",{"2":{"268":1}}],["在新线程中运行协程",{"2":{"263":1}}],["在语言加载完成后执行",{"2":{"162":1}}],["在主进程中运行",{"2":{"111":1}}],["31",{"2":{"256":1}}],["3",{"2":{"159":1,"230":1,"268":1}}],["300~500mb",{"2":{"15":1}}],["6",{"2":{"159":1}}],["测试版本号",{"2":{"159":1}}],["此模块为内置插件文件夹",{"2":{"255":1}}],["此模块为liteyuki的框架整体",{"2":{"158":1}}],["此模块用于注册观察者函数",{"2":{"143":1}}],["参考liteyuki",{"2":{"155":1}}],["参数列表",{"2":{"295":2}}],["参数为调用set",{"2":{"268":1}}],["参数",{"2":{"24":1,"294":1,"303":1}}],["运行环境的设备信息",{"2":{"293":1}}],["运行在主进程中",{"2":{"284":1}}],["运行协程",{"2":{"262":1}}],["运行处理函数",{"2":{"172":1}}],["运行插件",{"2":{"155":1}}],["运行订阅者接收函数",{"2":{"110":1}}],["上午12",{"2":{"233":1}}],["上午11",{"2":{"131":1}}],["上午6",{"2":{"187":1}}],["上午9",{"2":{"160":1}}],["上午5",{"2":{"154":1}}],["装饰一个函数在接收到数据后执行",{"2":{"153":1}}],["装饰器",{"2":{"70":1,"109":1,"153":1,"171":2}}],["返回true则执行回调函数",{"2":{"153":1}}],["事件过滤器",{"2":{"153":1}}],["事件循环",{"2":{"19":1}}],["监听目录们",{"2":{"153":1}}],["防抖函数",{"2":{"146":1}}],["防止获取空指针",{"2":{"117":1}}],["位置1为filesystemevent",{"2":{"144":1,"145":1}}],["启用",{"2":{"296":1,"298":1}}],["启用插件后",{"2":{"290":1}}],["启用该模块需要在配置文件中设置dev",{"2":{"143":1}}],["启动后控制台输出",{"2":{"268":1}}],["启动后钩子",{"2":{"53":1}}],["启动所有进程",{"2":{"136":1}}],["启动发布订阅接收器循环",{"2":{"111":1}}],["启动前钩子",{"2":{"52":1}}],["启动",{"2":{"44":1}}],["检查进程是否存活",{"2":{"141":1}}],["终止进程并从进程字典中删除",{"2":{"139":1}}],["项目目录下的配置文件优先",{"2":{"129":1}}],["项目目录下的配置文件优先级高于config目录下的配置文件",{"2":{"122":1}}],["项目目录下的config",{"2":{"129":1}}],["按照读取文件的优先级反向覆盖",{"2":{"128":1}}],["不带key返回配置项列表",{"2":{"295":1}}],["不包含任何隐私信息",{"2":{"293":1}}],["不含隐私部分",{"2":{"293":1}}],["不含插件数据",{"2":{"293":1}}],["不同adapter",{"2":{"282":1}}],["不递归",{"2":{"128":1}}],["不要出现过多的嵌套",{"2":{"122":1}}],["从一个标准的轻雪项目加载配置文件",{"2":{"129":1}}],["从目录下加载配置文件",{"2":{"128":1}}],["从指定文件加载配置项",{"2":{"127":1}}],["默认普通图片",{"2":{"295":1}}],["默认开启",{"2":{"293":1}}],["默认插件加载器",{"2":{"259":1}}],["默认执行扁平化选项",{"2":{"127":1,"128":1}}],["默认值",{"2":{"34":1,"35":1,"105":1}}],["8",{"2":{"124":1,"125":1,"126":1,"154":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"220":1,"222":1,"256":1,"257":1,"258":1}}],["但请注意甄别第三方插件的安全性",{"2":{"293":1}}],["但请保证以上三个字段",{"2":{"292":1}}],["但是请保留原作者信息",{"2":{"293":1}}],["但是更加轻量级并且线程安全",{"2":{"99":1}}],["但若出现非单function的情况",{"2":{"283":1}}],["但需单独起篇幅",{"2":{"278":1}}],["但也包含原有的键值对",{"2":{"123":1}}],["扁平化后的配置文件",{"2":{"123":1}}],["扁平化配置文件",{"2":{"123":1}}],["扁平化编写",{"2":{"122":1}}],["注意不要嵌套文件夹",{"2":{"292":1}}],["注意冲突时的优先级",{"2":{"122":1}}],["注册一个函数在nonebot启动后运行",{"2":{"268":1}}],["注册一个函数在轻雪启动后运行",{"2":{"268":1}}],["注册文件系统变化监听器",{"2":{"153":1}}],["注册重启后的函数",{"2":{"32":1,"51":1}}],["注册进程重启前的函数",{"2":{"31":1,"50":1}}],["注册进程停止前的函数",{"2":{"30":1,"48":1}}],["注册停止后的函数",{"2":{"29":1,"49":1}}],["注册启动时的函数",{"2":{"46":1,"47":1}}],["注册启动后的函数",{"2":{"28":1}}],["注册启动前的函数",{"2":{"27":1}}],["尽量不要冲突",{"2":{"122":1}}],["多配置文件编写原则",{"2":{"122":1}}],["引用计数",{"2":{"117":1}}],["共享内存通信",{"0":{"269":1},"1":{"270":1,"271":1}}],["共享内存对象",{"2":{"116":1}}],["共享内存模块",{"2":{"99":1}}],["若不存在则返回空",{"2":{"295":1}}],["若不存在则创建于config",{"2":{"295":1}}],["若存在则返回",{"2":{"295":1}}],["若存在则覆盖",{"2":{"295":1}}],["若存在则会覆盖",{"2":{"295":1}}],["若你不希望提供这些信息",{"2":{"293":1}}],["若没有metadata",{"2":{"292":1}}],["若要戳20s后停止",{"2":{"281":1}}],["若函数中启动了其他task",{"2":{"280":1}}],["若有子进程订阅则推送给子进程",{"2":{"111":1}}],["若为空",{"2":{"66":1}}],["订阅者接收消息时的回调",{"2":{"109":1}}],["频道",{"2":{"108":1,"109":1,"110":1}}],["发布消息",{"2":{"108":1}}],["发送函数为同步函数",{"2":{"67":1}}],["发送数据",{"2":{"67":1,"96":1}}],["删除键值对",{"2":{"106":1}}],["值",{"2":{"104":1,"105":1}}],["键值对",{"2":{"107":1}}],["键",{"2":{"104":1,"105":1,"106":1}}],["设置用户信息或打开属性设置菜单",{"2":{"299":1}}],["设置",{"2":{"296":1,"299":1}}],["设置共享内存",{"2":{"271":1}}],["设置后的插件名称",{"2":{"231":1}}],["设置插件名称颜色",{"2":{"231":1}}],["设置键值对",{"2":{"104":1}}],["设置通道实例",{"2":{"76":1,"77":1}}],["关闭通道",{"2":{"98":1}}],["关键字参数",{"2":{"24":1}}],["调用机器人函数",{"2":{"295":1}}],["调用机器人api",{"2":{"295":1}}],["调用重启进程方法",{"2":{"287":1}}],["调用函数",{"2":{"280":1}}],["调用bot",{"2":{"280":1}}],["调用",{"2":{"92":1}}],["通过关键词搜索插件",{"2":{"297":1}}],["通过装饰器注册一个函数在接收到消息时运行",{"2":{"268":1}}],["通常是目录不存在或目录为空",{"2":{"230":1}}],["通常会默认传入chan",{"2":{"137":1}}],["通信",{"2":{"89":1}}],["通道实例",{"2":{"76":1,"77":1,"78":1,"79":1}}],["通道名称",{"2":{"76":1,"78":1}}],["通道传递通道",{"2":{"73":1,"74":1}}],["通道id",{"2":{"66":1,"95":1}}],["依赖关系",{"2":{"88":1}}],["主题包中的html渲染使用js来规定数据的渲染位置",{"2":{"291":1}}],["主题商店提供了一些资源包供你选择",{"2":{"291":1}}],["主进程中",{"2":{"268":1}}],["主进程中通过get",{"2":{"268":1}}],["主进程订阅者接收函数",{"2":{"100":1}}],["主进程创建单例",{"2":{"73":1,"74":1}}],["主动通道传递通道",{"2":{"80":1}}],["子进程中获取通道直接导入进程全局单例即可",{"2":{"268":1}}],["子进程中导入单例active",{"2":{"268":1}}],["子进程订阅者接收函数",{"2":{"101":1}}],["子进程初始化时实例化",{"2":{"73":1,"74":1}}],["子进程可用的主动和被动通道",{"2":{"71":1}}],["接收数据",{"2":{"97":1}}],["接收数据并执行函数",{"2":{"70":1}}],["接收函数",{"2":{"61":1}}],["会自动判断key版本",{"2":{"301":1}}],["会自动识别文件格式",{"2":{"127":1}}],["会话负载信息",{"2":{"293":1}}],["会触发最大递归深度限制",{"2":{"281":1}}],["会挂起等待",{"2":{"69":1}}],["会阻塞线程",{"2":{"68":1}}],["数据",{"2":{"67":1,"68":1,"69":1,"96":1,"97":1,"108":1,"110":1}}],["没有异步的必要",{"2":{"67":1}}],["过滤函数",{"2":{"64":1,"70":1}}],["轻雪天气liteyuki",{"0":{"301":1},"1":{"302":1}}],["轻雪文档",{"2":{"296":1}}],["轻雪命令liteyuki",{"0":{"295":1},"1":{"296":1}}],["轻雪会收集以下内容",{"2":{"293":1}}],["轻雪原版资源包请查看liteyukibot",{"2":{"291":1}}],["轻雪主进程不涉及聊天部分",{"2":{"287":1}}],["轻雪插件是轻雪内置的一部分功能",{"2":{"284":1}}],["轻雪函数",{"0":{"278":1},"1":{"279":1,"280":1,"281":1,"282":1,"283":1},"2":{"278":1}}],["轻雪框架提供了一个内存共享通信的接口",{"2":{"270":1}}],["轻雪抽象消息事件",{"2":{"165":1}}],["轻雪生命周期管理",{"2":{"44":1}}],["轻雪实例",{"2":{"33":1}}],["进程生命周期函数",{"2":{"48":2,"50":2}}],["进程函数关键字参数",{"2":{"137":1}}],["进程函数参数",{"2":{"137":1}}],["进程函数",{"2":{"42":1,"137":1}}],["进程名",{"2":{"23":1,"137":1}}],["|",{"0":{"45":1,"155":1,"165":1,"166":1,"229":1},"2":{"39":1,"42":1,"45":2,"61":1,"64":1,"155":1,"165":1,"166":1,"229":1}}],["7",{"2":{"36":1,"131":1,"160":1,"228":1,"232":1,"233":1}}],["兼容键",{"2":{"35":1}}],["兼容旧版本",{"2":{"35":1}}],["获取用户信息",{"2":{"299":1}}],["获取唯一的轻雪bot实例",{"2":{"287":1}}],["获取共享内存",{"2":{"271":1}}],["获取主动通道",{"2":{"268":1}}],["获取被动通道",{"2":{"268":1}}],["获取已加载的插件",{"2":{"227":1}}],["获取函数和类",{"2":{"222":1}}],["获取相对路径",{"2":{"219":1}}],["获取所有键值对",{"2":{"107":1}}],["获取键值对",{"2":{"105":1}}],["获取通道实例们",{"2":{"79":1}}],["获取通道实例",{"2":{"78":1}}],["获取配置",{"2":{"34":1,"35":1}}],["获取轻雪实例",{"2":{"33":1}}],["未实现",{"2":{"29":1,"32":1,"55":1,"57":1}}],["延迟重启时间",{"2":{"22":1}}],["外部启动接口",{"2":{"20":1}}],["初始化通道",{"2":{"66":1,"95":1}}],["初始化日志",{"2":{"25":1}}],["初始化轻雪",{"2":{"24":1}}],["初始化轻雪实例",{"2":{"19":1}}],["初始化",{"2":{"19":1}}],["=none",{"2":{"23":1,"66":1,"70":1,"105":1,"165":2}}],["==",{"2":{"22":3,"81":1,"82":2,"83":2,"84":1,"111":1,"117":1,"118":2,"119":2,"120":2,"121":1,"161":1,"222":4,"223":2,"264":1}}],["=",{"0":{"22":1,"23":1,"34":1,"35":1,"66":1,"70":1,"105":1,"106":1,"114":1,"115":1,"127":1,"128":1,"129":1,"137":2,"153":2,"165":2,"175":3,"176":3,"189":1,"190":1,"191":1,"192":1,"193":1,"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"203":1,"204":1,"205":1,"206":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"222":1,"223":2,"224":3,"230":1,"235":1,"236":1,"237":1,"238":1,"239":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"250":1,"251":1,"252":1,"253":1,"254":1},"2":{"19":7,"22":6,"23":2,"44":7,"45":1,"66":10,"67":1,"68":1,"69":2,"70":1,"76":1,"78":1,"79":1,"82":1,"83":1,"84":1,"87":2,"91":1,"95":4,"103":6,"104":2,"105":2,"106":1,"107":1,"109":2,"111":1,"113":1,"118":3,"119":2,"120":1,"121":1,"123":2,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":5,"135":3,"137":5,"139":1,"146":3,"153":2,"155":4,"162":1,"165":10,"166":1,"170":5,"175":1,"180":1,"221":1,"222":17,"223":16,"224":13,"229":12,"230":6,"231":5,"261":1,"262":2,"264":1,"265":1,"268":5,"271":1,"286":1,"287":2}}],["常规操作",{"2":{"19":1}}],[">",{"2":{"19":1,"27":1,"31":1,"33":1,"34":1,"35":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"68":1,"69":1,"70":3,"78":1,"79":1,"91":1,"92":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":2,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"141":1,"146":1,"153":2,"161":1,"171":2,"172":1,"175":1,"176":1,"181":2,"182":2,"183":1,"184":1,"185":1,"219":1,"222":1,"223":3,"224":1,"227":1,"229":1,"230":1,"231":3,"261":1,"264":1,"265":1,"301":2}}],["配置项",{"2":{"301":1}}],["配置项目",{"2":{"123":1}}],["配置了命令别名的命令可以使用别名代替原命令",{"2":{"294":1}}],["配置文件尽量扁平化",{"2":{"122":1}}],["配置值",{"2":{"34":1,"35":1}}],["配置键",{"2":{"34":1,"35":1}}],["配置",{"2":{"19":2,"296":1}}],["$",{"2":{"13":3}}],["kill",{"2":{"139":1}}],["k",{"2":{"123":2,"223":2}}],["keyword",{"2":{"176":2}}],["keywords为城市名",{"2":{"301":2}}],["keywords",{"0":{"176":2},"2":{"176":5,"297":1,"301":2}}],["keyerror",{"2":{"106":1}}],["keyvaluestore",{"0":{"102":1},"1":{"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1},"2":{"113":1,"116":1}}],["keys",{"0":{"35":1},"2":{"35":3}}],["key",{"0":{"34":1,"35":1,"104":1,"105":1,"106":2},"2":{"34":3,"35":10,"104":6,"105":6,"106":11,"118":3,"119":3,"120":3,"123":2,"271":2,"295":4,"299":2,"301":1}}],["keyboardinterrupt",{"2":{"20":1}}],["keeping",{"2":{"21":1}}],["keep",{"0":{"21":1},"2":{"21":1}}],["kwargs=none",{"2":{"137":1}}],["kwargs",{"0":{"19":1,"24":1,"45":1,"54":1,"56":1,"92":1,"137":1},"2":{"19":3,"24":2,"45":3,"54":2,"56":2,"92":2,"137":4,"146":2,"265":2,"295":2}}],["kritor",{"2":{"8":1}}],["knowledge",{"2":{"273":1}}],["know",{"2":{"6":2}}],["qq群号",{"2":{"303":1}}],["qq",{"0":{"8":1},"2":{"7":1,"8":3}}],["question",{"2":{"6":1}}],["questions",{"0":{"6":1,"7":1,"16":1}}],["quotes",{"2":{"276":2}}],["quot",{"2":{"3":2,"276":1,"283":2,"295":2,"301":4}}],["js",{"2":{"8":1}}],["json",{"0":{"125":1},"2":{"0":2,"125":4,"127":2,"129":1}}],["join",{"0":{"138":1},"2":{"7":1,"22":1,"128":1,"138":2,"139":1,"221":1,"223":4,"224":1,"230":2,"264":2}}],["guidelines",{"2":{"276":2}}],["guide",{"0":{"272":1},"1":{"273":1,"274":1,"275":1,"276":1,"277":1},"2":{"276":1}}],["g",{"2":{"231":1,"304":1}}],["group",{"2":{"295":9,"296":1,"297":2,"303":3,"304":1}}],["group775840726",{"2":{"7":1}}],["green>",{"2":{"162":1}}],["gather",{"2":{"45":1,"262":1}}],["getattr",{"2":{"261":1}}],["get",{"0":{"33":1,"34":1,"35":1,"78":1,"79":1,"83":1,"84":1,"105":1,"107":1,"113":1,"118":1,"121":1,"161":1,"219":1,"221":1,"222":1,"227":1},"2":{"23":2,"33":2,"34":3,"35":5,"66":2,"67":1,"69":1,"78":2,"79":2,"82":1,"83":4,"84":3,"104":1,"105":4,"106":1,"107":2,"113":1,"116":1,"117":1,"118":3,"120":1,"121":3,"155":1,"161":1,"162":2,"219":1,"221":1,"222":5,"224":3,"225":1,"227":1,"229":3,"230":1,"259":2,"262":1,"268":8,"271":1,"287":2,"295":3,"296":1,"299":2}}],["generic",{"0":{"65":1},"1":{"66":1,"67":1,"68":1,"69":1,"70":1},"2":{"66":2,"67":1}}],["generate",{"0":{"223":1,"224":1},"2":{"0":1,"223":1,"224":3,"276":1}}],["gensokyo",{"2":{"8":1}}],["globalkeyvaluestore",{"0":{"112":1},"1":{"113":1,"114":1,"115":1},"2":{"116":1}}],["global",{"2":{"19":1,"70":1,"297":2,"298":2}}],["gt",{"0":{"19":1,"27":1,"31":1,"33":1,"34":1,"35":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"68":1,"69":1,"70":1,"78":1,"79":1,"91":1,"92":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"141":1,"153":1,"161":1,"171":1,"172":1,"175":1,"176":1,"181":1,"182":1,"183":1,"184":1,"185":1,"219":1,"222":1,"223":1,"227":1,"229":1,"230":1,"231":1,"261":1,"264":1,"265":1},"2":{"88":3,"123":1,"170":1,"264":1,"276":2,"294":1,"295":7,"297":10,"299":2}}],["google",{"2":{"276":2}}],["go",{"2":{"8":2,"267":1}}],["gitmoji",{"2":{"276":2}}],["github",{"2":{"7":1,"12":1,"13":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":1,"67":1,"68":1,"69":1,"70":1,"76":1,"77":1,"78":1,"79":1,"82":1,"83":1,"84":1,"87":1,"91":1,"92":1,"95":1,"96":1,"97":1,"98":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"113":1,"118":1,"119":1,"120":1,"121":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"146":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"155":1,"161":1,"162":1,"165":1,"166":1,"170":1,"171":1,"172":1,"174":1,"175":1,"176":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"227":1,"229":1,"230":1,"231":1,"249":1,"257":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":1}}],["git",{"2":{"6":1,"12":2,"13":1,"15":2}}],["\`",{"2":{"3":1,"223":14}}],["validate",{"2":{"67":1}}],["value=ast",{"2":{"222":1}}],["valueerror",{"2":{"66":2,"76":1}}],["value2",{"2":{"2":1}}],["value1",{"2":{"2":1}}],["value",{"0":{"104":1,"205":1},"2":{"2":1,"3":3,"104":5,"119":3,"123":3,"222":6,"223":3,"271":2,"295":2,"299":1}}],["var=value",{"2":{"280":1}}],["var2=value2",{"2":{"280":1}}],["var1=value1>",{"2":{"280":1}}],["var",{"0":{"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"71":1,"72":1,"73":1,"74":1,"75":1,"80":1,"81":1,"100":1,"101":1,"116":1,"117":1,"144":1,"145":1,"159":1,"178":1,"225":1},"2":{"223":2}}],["version=",{"2":{"286":1}}],["version",{"0":{"159":1},"2":{"15":1,"292":1}}],["venv",{"2":{"12":4}}],["v",{"2":{"13":2,"123":2,"223":2}}],["vitepress",{"2":{"276":1}}],["view",{"2":{"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":1,"67":1,"68":1,"69":1,"70":1,"76":1,"77":1,"78":1,"79":1,"82":1,"83":1,"84":1,"87":1,"91":1,"92":1,"95":1,"96":1,"97":1,"98":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"113":1,"118":1,"119":1,"120":1,"121":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"146":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"155":1,"161":1,"162":1,"165":1,"166":1,"170":1,"171":1,"172":1,"174":1,"175":1,"176":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"227":1,"229":1,"230":1,"231":1,"249":1,"257":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":1}}],["virtual",{"2":{"6":1,"12":3}}],["visit",{"2":{"3":1}}],["v11协议api",{"2":{"295":2}}],["v11",{"2":{"3":1,"282":1}}],["2s戳两次",{"2":{"281":1}}],["22",{"2":{"256":1}}],["27",{"2":{"131":1,"160":1}}],["24",{"2":{"36":1,"233":1}}],["23",{"2":{"36":1,"187":1,"228":1,"232":1}}],["20代替空格",{"2":{"295":1}}],["20和end",{"2":{"281":1}}],["2024",{"2":{"36":2,"131":2,"154":2,"160":2,"163":2,"167":2,"168":2,"173":2,"177":2,"186":2,"187":2,"228":2,"232":2,"233":2,"256":2,"258":2}}],["2020",{"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["20216",{"2":{"1":1,"3":1,"13":4}}],["20",{"2":{"15":1}}],["2019+",{"2":{"15":1}}],["2",{"2":{"2":1,"281":1,"292":1}}],["object",{"2":{"267":1}}],["observer",{"0":{"143":1},"1":{"144":1,"145":1,"146":1,"147":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1},"2":{"153":1,"287":2}}],["occurred",{"2":{"262":1}}],["occupy",{"2":{"15":1}}],["overall",{"2":{"158":1}}],["os",{"2":{"127":1,"128":3,"219":1,"220":4,"221":2,"222":1,"224":2,"230":9,"287":2}}],["outlook",{"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["output",{"0":{"224":1},"2":{"2":1,"224":5}}],["open",{"2":{"22":1,"124":1,"125":1,"126":1,"220":1,"222":1,"277":1}}],["openshamrock",{"2":{"8":1}}],["option",{"2":{"294":1}}],["optional",{"0":{"23":1,"66":1,"70":1,"105":2,"165":2,"229":1,"254":1},"2":{"22":1,"23":2,"34":1,"35":1,"66":1,"70":3,"103":2,"105":3,"165":2,"229":1}}],["opt",{"2":{"20":2,"229":3}}],["ordinary",{"2":{"276":1}}],["order",{"2":{"224":1}}],["organization",{"2":{"273":1}}],["or",{"0":{"181":1},"2":{"4":1,"6":2,"15":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":1,"67":1,"68":1,"69":1,"70":1,"76":1,"77":1,"78":1,"79":1,"82":1,"83":1,"84":1,"87":1,"91":1,"92":1,"95":1,"96":1,"97":1,"98":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"113":1,"118":1,"119":1,"120":1,"121":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"146":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"155":1,"161":1,"162":1,"165":1,"166":1,"170":1,"171":1,"172":1,"174":1,"175":1,"176":1,"180":1,"181":3,"182":1,"183":1,"184":1,"185":1,"219":1,"220":1,"221":1,"222":5,"223":1,"224":1,"227":1,"229":1,"230":1,"231":1,"249":1,"257":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":1,"276":3}}],["of",{"0":{"3":1},"2":{"6":3,"9":1,"13":1,"15":1,"67":1,"76":1,"158":1,"229":1,"273":4,"276":5}}],["other",{"0":{"2":1,"4":1,"7":1,"16":1,"181":1,"182":1},"2":{"2":1,"3":1,"9":1,"15":2,"181":2,"182":2,"267":3}}],["one",{"2":{"6":1,"268":1}}],["onebotv11",{"2":{"8":4}}],["onebot",{"0":{"3":1},"2":{"2":2,"3":2,"4":1,"6":2,"8":1,"282":1,"295":1}}],["only",{"2":{"0":1,"6":1,"70":1,"268":1}}],["on",{"0":{"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"59":1,"60":1,"61":1,"70":1,"82":1,"83":1,"84":1,"91":2,"100":1,"101":1,"109":3,"118":1,"119":1,"120":1,"121":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"173":1,"175":1,"176":1},"1":{"174":1,"175":1,"176":1},"2":{"0":1,"3":1,"6":1,"7":1,"8":4,"12":1,"15":3,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":3,"28":3,"29":3,"30":3,"31":3,"32":3,"33":1,"34":1,"35":1,"44":1,"45":1,"46":2,"47":2,"48":2,"49":2,"50":2,"51":2,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"61":2,"66":3,"67":1,"68":1,"69":1,"70":5,"76":1,"77":1,"78":1,"79":1,"81":1,"82":4,"83":4,"84":3,"87":1,"91":5,"92":2,"95":1,"96":1,"97":1,"98":1,"100":1,"101":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":12,"110":2,"111":1,"113":1,"117":1,"118":4,"119":4,"120":4,"121":3,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"146":1,"148":3,"149":3,"150":3,"151":3,"152":3,"153":3,"155":1,"161":1,"162":1,"165":1,"166":1,"170":1,"171":1,"172":1,"173":1,"174":1,"175":2,"176":5,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"227":1,"229":1,"230":1,"231":1,"249":1,"256":1,"257":2,"259":1,"261":1,"262":1,"263":1,"264":1,"265":1,"268":6,"276":1,"287":1}}],["45m",{"2":{"303":2}}],["44",{"2":{"167":1}}],["47",{"2":{"163":1,"186":1}}],["41",{"2":{"13":1}}],["40",{"2":{"13":1}}],["4",{"2":{"1":1}}],["utility",{"2":{"275":1}}],["utils",{"0":{"260":1},"1":{"261":1,"262":1,"263":1,"264":1,"265":1},"2":{"275":1}}],["utf",{"2":{"124":1,"125":1,"126":1,"220":1,"222":1}}],["ubuntu",{"2":{"15":1}}],["unload",{"2":{"297":1,"298":1}}],["understand",{"2":{"276":1}}],["underlying",{"2":{"10":1}}],["unit",{"2":{"275":1}}],["uninstall",{"2":{"6":2,"297":1,"298":1}}],["until",{"2":{"262":2}}],["unclassified",{"0":{"238":2,"244":1}}],["unparse",{"2":{"222":10}}],["unsupported",{"2":{"127":1}}],["usage",{"0":{"243":1},"2":{"273":1}}],["using",{"2":{"6":2,"13":1}}],["users",{"2":{"276":1}}],["user",{"0":{"165":1,"299":1},"2":{"165":3,"166":2,"185":1,"276":1,"281":3}}],["used",{"2":{"70":1,"255":1,"268":1,"276":1}}],["use",{"0":{"14":1},"2":{"1":1,"3":2,"4":2,"6":6,"8":1,"12":4,"13":1,"14":1,"15":2,"35":1,"229":1,"274":1,"276":2}}],["updates",{"2":{"1":1}}],["update",{"2":{"1":2,"2":2,"6":1,"15":2,"127":3,"128":1,"129":1,"295":1,"296":1,"297":1,"298":1}}],["feat",{"2":{"276":1}}],["features",{"2":{"276":2}}],["feature",{"2":{"276":1}}],["flake8",{"2":{"274":1}}],["flat",{"0":{"123":1},"2":{"123":2,"124":1,"125":1,"126":1}}],["flag",{"2":{"44":1}}],["f",{"2":{"22":1,"23":2,"35":1,"66":4,"67":1,"76":2,"123":1,"124":1,"125":1,"126":1,"127":2,"128":1,"136":1,"139":2,"141":1,"220":2,"223":19,"224":1,"229":5,"230":9,"231":1,"262":1,"268":2,"287":1}}],["friend",{"2":{"281":2}}],["front",{"0":{"223":1},"2":{"223":5,"224":3,"273":1}}],["from",{"0":{"124":1,"125":1,"126":1,"127":1,"128":1},"2":{"68":1,"124":3,"125":3,"126":3,"127":4,"128":2,"129":2,"267":1,"268":4,"286":1,"287":3}}],["framework",{"2":{"10":1,"158":1,"267":1,"273":1,"275":3}}],["frequently",{"0":{"6":1}}],["future",{"2":{"262":1}}],["func=none",{"2":{"153":1}}],["func=lambda",{"2":{"81":1,"82":2,"83":2,"84":1,"268":1}}],["funcs",{"0":{"45":2,"100":1,"101":1,"110":1},"2":{"44":6,"45":4,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":2,"53":2,"54":2,"55":2,"56":2,"57":2,"70":1,"109":6,"110":2,"111":1}}],["func",{"0":{"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":4,"28":3,"29":3,"30":3,"31":4,"32":3,"33":1,"34":1,"35":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"44":1,"45":3,"46":4,"47":4,"48":4,"49":4,"50":4,"51":4,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"66":1,"67":1,"68":1,"69":1,"70":3,"76":1,"77":1,"78":1,"79":1,"82":1,"83":1,"84":1,"87":1,"91":2,"92":1,"95":1,"96":1,"97":1,"98":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":3,"110":1,"111":1,"113":1,"118":1,"119":1,"120":1,"121":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"135":1,"136":1,"137":2,"138":1,"139":1,"140":1,"141":1,"144":1,"145":1,"146":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":4,"155":1,"161":1,"162":1,"165":1,"166":1,"170":1,"171":1,"172":1,"174":1,"175":1,"176":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"227":1,"229":1,"230":1,"231":1,"249":1,"257":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":2},"2":{"27":7,"28":6,"29":6,"30":6,"31":7,"32":6,"39":2,"42":2,"44":6,"45":8,"46":8,"47":8,"48":8,"49":8,"50":8,"51":8,"61":2,"64":2,"66":2,"70":20,"91":1,"100":1,"101":1,"109":8,"110":2,"137":1,"146":2,"153":7,"222":2,"223":9,"261":2,"265":4,"280":1}}],["function实现语法高亮",{"2":{"283":1}}],["functiondef",{"2":{"222":3}}],["functioninfo",{"0":{"194":1,"210":1,"215":1},"1":{"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1},"2":{"222":2}}],["functions=",{"2":{"222":1}}],["functions",{"0":{"215":1},"2":{"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"222":1,"223":1}}],["function",{"0":{"189":2},"2":{"6":2,"15":2,"222":3,"268":1,"278":1,"280":1,"281":2,"295":3}}],["full",{"2":{"6":1,"268":1}}],["familiar",{"2":{"273":2}}],["failed",{"2":{"6":2,"229":1}}],["faq",{"0":{"5":1},"1":{"6":1,"7":1,"8":1,"9":1,"10":1}}],["false时例如docs",{"2":{"224":1}}],["false",{"0":{"127":1,"128":1,"129":1,"175":1,"176":1,"224":1},"2":{"2":4,"66":2,"95":1,"103":2,"261":1}}],["follow",{"2":{"276":4}}],["following",{"2":{"2":1,"273":1,"276":2}}],["folder",{"0":{"221":1,"224":1},"2":{"221":2,"224":4,"225":1,"255":1}}],["found",{"2":{"67":1,"76":1,"127":1,"128":1,"139":1,"141":1}}],["font",{"2":{"10":1}}],["fonts",{"2":{"1":1}}],["fork",{"2":{"273":1}}],["formatting",{"2":{"274":1}}],["format=get",{"2":{"162":1}}],["formats",{"2":{"128":1}}],["format",{"0":{"161":1,"231":1},"2":{"127":1,"161":3,"162":1,"229":2,"231":1,"276":1}}],["for",{"0":{"16":1},"2":{"1":1,"3":2,"6":2,"8":1,"23":1,"35":1,"45":1,"66":1,"77":1,"110":1,"123":2,"127":1,"128":2,"136":1,"138":1,"140":1,"153":1,"172":1,"174":1,"176":1,"220":1,"221":2,"222":12,"223":9,"224":3,"230":2,"259":2,"262":2,"267":1,"268":1,"274":1,"276":5,"286":1}}],["finally",{"0":{"277":1}}],["field",{"2":{"276":3}}],["fields",{"2":{"0":1,"3":2}}],["fixing",{"2":{"276":2}}],["filter=lambda",{"2":{"287":1}}],["filter",{"0":{"62":1,"63":1,"64":1,"70":2,"145":1,"153":2},"2":{"64":2,"70":8,"81":1,"82":2,"83":2,"84":1,"153":5,"268":1}}],["file",{"0":{"124":1,"125":1,"126":1,"153":1,"220":1,"221":1,"222":1},"2":{"3":1,"6":1,"36":1,"124":4,"125":4,"126":4,"127":12,"128":3,"131":1,"153":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"220":3,"221":7,"222":8,"224":6,"228":1,"232":1,"233":1,"256":1,"258":1,"275":1,"287":3}}],["filesystemeventhandler",{"0":{"147":1},"1":{"148":1,"149":1,"150":1,"151":1,"152":1}}],["filesystemevent",{"2":{"144":1,"145":1,"153":1,"287":2}}],["files",{"0":{"127":2,"220":1},"2":{"0":4,"127":3,"128":1,"129":1,"220":1,"221":2,"224":1}}],["fill",{"2":{"1":1,"3":1,"276":1}}],["first",{"2":{"0":1,"6":1,"222":2,"273":1}}],["b包也定义了一个index",{"2":{"292":1}}],["bilingual",{"2":{"276":1}}],["bind",{"2":{"302":1}}],["binding",{"2":{"1":1}}],["bin",{"2":{"12":1}}],["brief",{"2":{"276":1}}],["branch",{"2":{"273":4}}],["break",{"2":{"174":1}}],["browser",{"2":{"6":1}}],["black",{"2":{"274":1}}],["block",{"0":{"170":1,"175":1,"176":1},"2":{"170":4,"175":2,"176":2}}],["blue>",{"2":{"162":1}}],["b",{"2":{"123":1,"224":2,"264":2,"304":1}}],["body",{"2":{"222":1}}],["bool=false",{"2":{"127":1,"128":1,"129":1,"175":1,"176":1,"224":1}}],["bool=true",{"2":{"106":1,"153":1,"222":1,"230":1}}],["bool",{"0":{"66":1,"106":1,"127":1,"128":1,"129":1,"141":1,"153":1,"170":1,"175":1,"176":1,"183":1,"184":1,"185":1,"201":1,"222":1,"224":1,"230":1,"261":1},"2":{"62":1,"63":1,"66":1,"141":1,"145":1,"170":1,"178":1,"181":1,"182":1,"183":1,"184":1,"185":1,"261":2}}],["both",{"2":{"275":1}}],["bot",{"0":{"17":1,"33":1,"36":1,"165":1},"1":{"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1},"2":{"1":1,"2":1,"6":2,"9":1,"12":1,"15":1,"19":2,"33":4,"34":1,"35":4,"155":2,"165":3,"166":2,"268":4,"275":2,"279":1,"287":2,"295":1,"303":3,"304":1}}],["bugs",{"2":{"276":2}}],["bug",{"2":{"276":2}}],["business",{"2":{"275":1}}],["built",{"2":{"255":2,"275":1}}],["build",{"2":{"13":2}}],["but",{"2":{"3":1,"6":1,"268":1,"276":1}}],["bases",{"2":{"222":1}}],["base",{"0":{"219":1},"2":{"219":3,"222":2}}],["basemodel",{"0":{"194":1,"202":1,"207":1,"213":1,"240":1,"248":1},"1":{"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"203":1,"204":1,"205":1,"206":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"249":1,"250":1,"251":1,"252":1,"253":1,"254":1}}],["baseexception",{"0":{"157":1}}],["based",{"2":{"8":4}}],["bash",{"2":{"12":1}}],["basically",{"2":{"3":1}}],["basic",{"0":{"1":1},"2":{"273":2}}],["better",{"2":{"277":1}}],["between",{"2":{"6":1}}],["before",{"0":{"27":1,"30":1,"31":1,"46":1,"48":1,"50":1,"52":1,"54":1,"56":1},"2":{"27":2,"30":2,"31":2,"44":3,"46":2,"48":2,"50":2,"52":3,"54":3,"56":3}}],["below",{"2":{"6":1}}],["been",{"2":{"6":1}}],["be",{"2":{"3":1,"6":2,"15":1,"35":1,"67":1,"70":1,"76":1,"148":1,"268":1,"276":2}}],["by",{"2":{"3":1,"4":1,"6":2,"268":1,"274":1}}],["14s",{"2":{"303":2}}],["1h",{"2":{"303":2}}],["1d",{"2":{"303":2}}],["1145141919810",{"2":{"295":1}}],["11",{"2":{"258":1}}],["19",{"2":{"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1}}],["1919810",{"2":{"1":1}}],["10",{"2":{"159":1,"295":1}}],["10+",{"2":{"12":1,"15":1}}],["18",{"2":{"154":1}}],["12",{"2":{"131":1,"160":1}}],["127",{"2":{"1":1,"3":1}}],["1gb",{"2":{"15":2}}],["1vcpu",{"2":{"15":1}}],["1",{"2":{"1":1,"2":1,"3":1,"21":1,"22":2,"23":2,"70":1,"82":2,"83":2,"84":1,"111":2,"118":3,"119":2,"120":1,"121":1,"123":1,"147":1,"148":1,"223":6,"224":1,"229":4,"264":2,"286":1,"292":2}}],["03",{"2":{"268":2}}],["0000",{"2":{"268":3}}],["00",{"2":{"268":18}}],["02",{"2":{"233":1,"258":1}}],["04",{"2":{"154":1}}],["04+",{"2":{"15":1}}],["0",{"0":{"22":1,"175":1,"176":1},"2":{"1":2,"3":2,"19":1,"21":1,"22":2,"44":1,"81":1,"82":2,"83":2,"84":1,"111":1,"117":2,"118":2,"119":2,"120":2,"121":1,"170":1,"222":1,"223":7,"281":1,"286":2,"292":2}}],["html中用",{"2":{"292":1}}],["html",{"2":{"292":1}}],["html文件会被覆盖",{"2":{"292":1}}],["html文件",{"2":{"292":2}}],["https",{"2":{"12":1,"13":1}}],["hints",{"2":{"276":1}}],["hint",{"2":{"66":1,"222":1,"223":1}}],["harmless",{"2":{"276":1}}],["handlers",{"2":{"170":1,"171":1,"172":1}}],["handler",{"0":{"180":1},"2":{"153":3,"171":4,"172":2,"180":3,"181":4,"182":4,"183":2}}],["handle",{"0":{"171":1},"2":{"6":1,"171":1,"256":1,"257":1}}],["hash",{"0":{"249":1},"2":{"249":2}}],["has",{"2":{"6":1,"276":1}}],["have",{"2":{"3":1,"6":3,"7":1,"13":1,"15":1}}],["homepage",{"0":{"246":1}}],["how",{"0":{"273":1},"1":{"274":1},"2":{"6":2}}],["host",{"2":{"1":1}}],["hello",{"2":{"279":5,"295":1}}],["help",{"2":{"6":2,"297":1,"298":1}}],["here",{"2":{"3":2}}],["header",{"2":{"1":1,"6":1}}],["echo",{"2":{"279":3}}],["easy",{"2":{"276":1}}],["each",{"2":{"276":2}}],["editing",{"2":{"276":1}}],["etc",{"2":{"276":1}}],["e",{"2":{"106":2,"229":1,"231":1,"262":2}}],["emoji",{"2":{"276":1}}],["emsp",{"2":{"223":4}}],["email",{"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["empty",{"0":{"175":1,"176":1,"184":1},"2":{"1":1,"184":1,"229":1,"230":1}}],["else",{"2":{"22":1,"23":1,"33":1,"45":1,"66":1,"70":2,"76":1,"78":1,"79":1,"104":1,"105":1,"106":1,"107":1,"109":2,"124":1,"125":1,"126":1,"161":1,"162":5,"174":1,"222":9,"223":10,"224":2,"229":2,"262":1,"264":1}}],["elif",{"2":{"22":2,"66":1,"70":1,"127":4,"222":5,"229":2,"230":1}}],["event装饰器监听文件系统事件",{"2":{"287":1}}],["events",{"2":{"287":1}}],["eventhandler",{"0":{"171":2},"2":{"170":1,"171":4}}],["event",{"0":{"85":1,"86":1,"148":1,"149":1,"150":1,"151":1,"152":2,"153":2,"163":1,"172":1,"183":1,"184":1,"185":1,"257":1},"1":{"86":1,"87":2,"164":1,"165":1,"166":1},"2":{"19":4,"21":1,"26":1,"88":1,"148":1,"149":2,"150":2,"151":2,"152":3,"153":8,"163":1,"166":2,"172":4,"176":2,"181":3,"182":3,"183":2,"184":1,"185":2,"257":3,"262":2,"276":1,"287":8}}],["every",{"2":{"1":1}}],["errors=true",{"2":{"224":1}}],["errors",{"2":{"6":1}}],["error",{"0":{"106":1},"2":{"6":1,"106":3,"162":2,"262":1}}],["extra",{"0":{"247":1}}],["extensions",{"2":{"287":2}}],["extend",{"2":{"155":1}}],["external",{"2":{"1":1}}],["exclude",{"2":{"287":2}}],["exc",{"2":{"172":1,"229":1}}],["exception模块包含了liteyuki运行中的所有错误",{"2":{"156":1}}],["exception",{"0":{"156":1},"1":{"157":1},"2":{"21":1,"172":1,"229":1,"262":2}}],["except",{"2":{"20":1,"21":1,"106":1,"172":1,"229":1,"262":2}}],["executor",{"2":{"69":1}}],["executable",{"2":{"6":1,"15":1,"22":3}}],["exist",{"2":{"230":1}}],["exists",{"2":{"66":2,"76":1,"127":1,"128":1,"220":1,"230":2}}],["exit",{"2":{"22":1}}],["exiting",{"2":{"21":1}}],["example",{"0":{"3":1,"268":1},"2":{"6":2}}],["enclosed",{"2":{"276":1}}],["encoding=",{"2":{"124":1,"125":1,"126":1,"220":1,"222":1}}],["encountered",{"2":{"9":1}}],["english",{"2":{"275":1}}],["en",{"2":{"275":1}}],["entry",{"2":{"275":1}}],["enter",{"2":{"6":1}}],["end",{"2":{"273":1,"280":1}}],["endswith",{"2":{"127":3,"128":1,"221":1,"230":1,"287":1}}],["enum",{"0":{"188":1,"234":1},"1":{"189":1,"190":1,"191":1,"192":1,"193":1,"235":1,"236":1,"237":1,"238":1,"239":1}}],["enumerate",{"2":{"174":1}}],["enforcing",{"2":{"66":1}}],["environment",{"2":{"12":4}}],["environments",{"2":{"3":1,"6":1,"15":1}}],["ensure",{"2":{"1":1,"262":1,"273":1,"276":7}}],["enable",{"2":{"1":1,"274":1,"295":2,"296":1,"297":2,"298":2}}],["msg",{"2":{"295":1}}],["mcfunction",{"2":{"279":2}}],["mkdir",{"2":{"224":1}}],["mkdoc",{"0":{"187":1},"1":{"188":1,"189":1,"190":1,"191":1,"192":1,"193":1,"194":1,"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1,"205":1,"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1},"2":{"187":1}}],["md",{"2":{"224":13}}],["m",{"2":{"12":1,"15":1,"174":2,"231":1,"304":1}}],["mix",{"2":{"276":1}}],["minimum",{"2":{"15":1}}],["minecraftonebot",{"2":{"9":1}}],["minecraft",{"0":{"9":1},"2":{"9":1}}],["misans",{"2":{"10":1}}],["must",{"2":{"67":1,"76":1,"148":1}}],["much",{"2":{"6":1,"276":3}}],["multiple",{"2":{"0":1,"15":1,"276":1}}],["mypy",{"2":{"274":1}}],["my",{"2":{"6":1}}],["member",{"2":{"295":1}}],["memory",{"0":{"116":1},"2":{"15":1,"103":3,"117":1,"118":3,"119":3,"120":3,"121":2,"137":1,"267":1,"271":3}}],["meta",{"2":{"229":4,"286":1}}],["metadata",{"0":{"254":1},"2":{"229":13}}],["method",{"0":{"190":2,"191":1,"192":1},"2":{"222":5,"223":13}}],["methods=",{"2":{"222":1}}],["methods",{"0":{"210":1},"2":{"3":1,"222":1,"223":1}}],["means",{"2":{"6":1}}],["message=",{"2":{"166":1,"295":1}}],["message=message",{"2":{"166":1}}],["messageevent",{"0":{"164":1,"165":1,"172":1,"183":1,"184":1,"185":1,"257":1},"1":{"165":1,"166":1},"2":{"165":1,"166":1,"172":1,"176":1,"178":1,"181":1,"182":1,"183":1,"184":1,"185":1,"257":1}}],["messages",{"2":{"6":2,"267":2}}],["message",{"0":{"163":1,"165":3,"166":1,"167":1,"168":1,"173":1,"175":1,"177":1,"186":1},"1":{"164":1,"165":1,"166":1,"169":1,"170":1,"171":1,"172":1,"174":1,"175":1,"176":1,"178":1,"179":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1},"2":{"4":1,"6":1,"165":9,"166":5,"175":1,"176":2,"257":1,"276":5,"303":1,"304":1}}],["merge",{"2":{"0":1,"273":1}}],["mark",{"2":{"276":1}}],["markdown",{"0":{"223":1},"2":{"223":2,"224":1,"273":1,"276":1}}],["match",{"2":{"231":1}}],["matcher",{"0":{"168":1,"169":1,"174":3,"175":1,"176":1},"1":{"169":1,"170":2,"171":2,"172":2},"2":{"168":1,"174":9,"175":6,"176":1}}],["matter=none",{"2":{"223":1}}],["matter",{"0":{"223":1},"2":{"223":4,"224":3}}],["maplemono",{"2":{"10":1}}],["makedirs",{"2":{"220":1}}],["make",{"2":{"6":2,"277":1}}],["maintainer",{"2":{"273":1}}],["mainprocess",{"2":{"267":1}}],["main",{"0":{"100":1},"2":{"6":1,"12":1,"33":1,"66":4,"70":4,"76":1,"78":1,"79":1,"103":1,"104":1,"105":1,"106":1,"107":1,"109":5,"110":1,"111":1,"267":1,"268":6,"273":1,"275":1,"290":1}}],["manager",{"0":{"131":1,"232":1},"1":{"132":1,"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1},"2":{"19":1,"20":1,"22":1,"23":1,"26":1,"131":1,"232":1}}],["manage",{"2":{"14":1}}],["management",{"2":{"14":1}}],["many",{"2":{"6":1}}],["manually",{"2":{"2":1,"66":1}}],["may",{"2":{"3":1}}],["moved",{"0":{"151":1},"2":{"151":1}}],["more",{"2":{"2":1,"14":1,"15":1,"274":1}}],["moduletype",{"0":{"252":1}}],["module=module",{"2":{"229":1}}],["moduleinfo",{"0":{"213":1,"222":1,"223":1},"1":{"214":1,"215":1,"216":1,"217":1,"218":1},"2":{"222":2,"223":1}}],["module",{"0":{"17":1,"36":1,"58":1,"85":1,"88":1,"89":1,"93":1,"99":1,"122":1,"130":1,"131":1,"142":1,"143":1,"154":1,"155":1,"156":1,"158":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"214":1,"221":1,"222":1,"223":1,"224":1,"225":1,"226":1,"228":1,"229":1,"232":1,"233":1,"237":2,"252":1,"253":1,"255":1,"256":1,"258":1,"260":1,"264":1},"1":{"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"76":1,"77":1,"78":1,"79":1,"80":1,"81":1,"82":1,"83":1,"84":1,"86":1,"87":1,"90":1,"91":1,"92":1,"94":1,"95":1,"96":1,"97":1,"98":1,"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"132":1,"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"144":1,"145":1,"146":1,"147":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"155":1,"157":1,"159":1,"161":1,"162":1,"164":1,"165":1,"166":1,"169":1,"170":1,"171":1,"172":1,"174":1,"175":1,"176":1,"178":1,"179":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1,"188":1,"189":1,"190":1,"191":1,"192":1,"193":1,"194":1,"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1,"205":1,"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1,"227":1,"229":1,"230":1,"231":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"248":1,"249":1,"250":1,"251":1,"252":1,"253":1,"254":1,"257":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":1},"2":{"155":3,"158":1,"221":2,"222":11,"223":5,"224":19,"225":1,"229":26,"230":9,"231":1,"249":1,"255":1,"264":1}}],["modified",{"0":{"148":1},"2":{"13":1,"148":2,"149":1,"150":1,"151":1,"152":1,"153":4}}],["modify",{"2":{"0":2}}],["modes",{"2":{"268":1}}],["model",{"0":{"233":1,"250":1},"1":{"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"248":1,"249":1,"250":1,"251":1,"252":1,"253":1,"254":1},"2":{"233":1}}],["mode为true",{"2":{"143":1}}],["mode",{"2":{"2":5,"6":3,"268":5,"274":2,"295":2,"296":1}}],["most",{"2":{"0":1}}],["lyf结尾",{"2":{"279":1}}],["lyfunction语法",{"2":{"295":1}}],["lyfunction",{"2":{"279":1}}],["lt",{"2":{"276":2,"294":1,"295":7,"297":10,"299":2}}],["lead",{"2":{"276":1}}],["least",{"2":{"15":2}}],["level=0",{"2":{"162":1}}],["level",{"0":{"161":1},"2":{"1":3,"161":2,"162":6}}],["lsposed",{"2":{"8":1}}],["llonebot",{"2":{"8":1}}],["laptop",{"2":{"224":2}}],["lang",{"0":{"223":1,"224":1},"2":{"223":3,"224":2}}],["language",{"2":{"2":2,"273":1,"276":3}}],["last",{"2":{"146":4}}],["lambda",{"2":{"117":1,"118":2,"119":2,"120":2,"121":1}}],["lagrange",{"2":{"8":2}}],["locks",{"2":{"106":1}}],["lock",{"0":{"115":2},"2":{"104":3,"105":3,"106":3,"113":1}}],["local",{"2":{"1":1}}],["loop",{"0":{"111":1},"2":{"19":4,"66":1,"69":3,"103":2,"111":2,"262":10}}],["log0000",{"2":{"268":1}}],["logger",{"0":{"25":1},"2":{"19":1,"20":2,"21":2,"22":1,"24":1,"25":1,"35":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":2,"124":1,"125":1,"126":1,"127":2,"128":1,"136":1,"139":2,"141":1,"162":7,"229":3,"230":3,"262":1,"268":3,"287":2}}],["logo",{"2":{"19":1}}],["logic",{"2":{"6":1,"275":1}}],["login",{"2":{"6":2}}],["logs",{"2":{"2":1}}],["log",{"0":{"160":1,"162":1},"1":{"161":1,"162":1},"2":{"1":4,"6":1,"25":1,"160":1,"162":3,"268":1}}],["loaded",{"0":{"227":1},"2":{"227":1}}],["loader",{"0":{"258":1,"259":1},"1":{"259":1},"2":{"19":1,"259":1}}],["loading",{"2":{"124":1,"125":1,"126":1}}],["load",{"0":{"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"228":1,"229":1,"230":1},"1":{"229":1,"230":1,"231":1},"2":{"0":1,"2":2,"19":1,"124":3,"125":3,"126":3,"127":4,"128":2,"129":3,"155":2,"228":1,"229":3,"230":2,"259":2,"297":1,"298":1}}],["links",{"2":{"276":2}}],["linux",{"2":{"8":1,"12":1,"14":1,"15":1,"22":1}}],["like",{"2":{"267":1}}],["life",{"2":{"44":1}}],["lifespan=self",{"2":{"19":1}}],["lifespan",{"0":{"27":2,"28":1,"29":1,"30":1,"31":2,"32":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"45":2,"46":2,"47":2,"48":2,"49":2,"50":2,"51":2,"135":2},"1":{"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":2,"45":2,"46":2,"47":2,"48":2,"49":2,"50":2,"51":2,"52":2,"53":2,"54":2,"55":2,"56":2,"57":2},"2":{"19":3,"27":5,"28":4,"29":4,"30":4,"31":5,"32":4,"36":1,"39":2,"42":2,"44":6,"45":4,"46":4,"47":4,"48":4,"49":4,"50":4,"51":4,"135":4}}],["litedoc",{"2":{"276":1}}],["liteecho",{"0":{"256":1,"257":1},"1":{"257":1},"2":{"256":2,"257":2,"295":1}}],["liteloader",{"2":{"8":1}}],["liteyukiexception",{"0":{"157":1}}],["liteyukistudio",{"2":{"12":1,"13":1,"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["liteyuki",{"0":{"17":1,"36":1,"58":1,"85":1,"88":1,"89":1,"93":1,"99":1,"122":1,"130":1,"131":1,"142":1,"143":1,"154":1,"156":1,"158":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"226":1,"228":1,"232":1,"233":1,"255":1,"256":1,"258":1,"260":1,"297":1},"1":{"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"76":1,"77":1,"78":1,"79":1,"80":1,"81":1,"82":1,"83":1,"84":1,"86":1,"87":1,"90":1,"91":1,"92":1,"94":1,"95":1,"96":1,"97":1,"98":1,"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"132":1,"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"144":1,"145":1,"146":1,"147":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"155":1,"157":1,"159":1,"161":1,"162":1,"164":1,"165":1,"166":1,"169":1,"170":1,"171":1,"172":1,"174":1,"175":1,"176":1,"178":1,"179":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1,"188":1,"189":1,"190":1,"191":1,"192":1,"193":1,"194":1,"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1,"205":1,"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1,"227":1,"229":1,"230":1,"231":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"248":1,"249":1,"250":1,"251":1,"252":1,"253":1,"254":1,"257":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":1,"298":1},"2":{"1":6,"2":4,"3":2,"4":2,"6":6,"12":1,"14":1,"15":1,"19":2,"21":2,"33":1,"155":2,"158":1,"229":5,"259":3,"267":1,"268":12,"271":2,"273":4,"275":6,"276":2,"277":1,"278":1,"286":1,"287":4,"290":1,"291":1,"295":4,"296":3}}],["liteyukibot",{"0":{"18":1,"33":1},"1":{"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1},"2":{"0":5,"9":1,"12":2,"13":6,"14":1,"22":1,"33":2,"155":1,"267":1,"275":3}}],["limited",{"2":{"4":1}}],["listdir",{"2":{"128":1,"230":2}}],["listen",{"2":{"267":1}}],["listening",{"2":{"1":1}}],["listed",{"2":{"6":1}}],["list",{"0":{"165":1,"176":1,"196":1,"210":1,"211":1,"212":1,"215":1,"216":1,"217":1,"221":1},"2":{"1":4,"44":6,"66":2,"100":1,"101":1,"165":1,"170":1,"174":3,"176":1,"221":4,"222":4,"224":3,"295":1,"297":2,"298":1}}],["switch",{"2":{"295":2,"296":1}}],["simple",{"2":{"286":1}}],["single",{"2":{"276":1}}],["signature",{"2":{"265":2}}],["sides",{"2":{"3":1,"6":1}}],["side",{"0":{"3":1},"2":{"6":4}}],["src",{"2":{"259":1,"275":2,"287":5}}],["schedule",{"2":{"153":1}}],["script",{"0":{"14":1},"2":{"14":1}}],["scripts",{"2":{"12":1}}],["shinjuku",{"2":{"301":1}}],["shellstatistic",{"2":{"303":1}}],["shellbind",{"2":{"301":1}}],["shellweather",{"2":{"301":1}}],["shellmain",{"2":{"292":1}}],["shellvar",{"2":{"280":1}}],["shellcmd",{"2":{"279":1}}],["shell",{"2":{"279":1,"281":1}}],["shutil",{"2":{"224":1}}],["shutdown",{"0":{"29":1,"30":1,"48":1,"49":1,"54":1,"55":1},"2":{"29":2,"30":2,"44":2,"48":2,"49":2,"54":3,"55":3}}],["show",{"2":{"162":6}}],["should",{"2":{"66":1,"276":7}}],["shared",{"0":{"116":1},"2":{"103":3,"117":1,"118":3,"119":3,"120":3,"121":2,"137":1,"267":1,"271":3}}],["syntax",{"2":{"273":1,"276":1}}],["sync",{"0":{"37":1,"40":1,"59":1,"62":1},"2":{"39":1,"42":1,"61":1,"64":1,"265":1}}],["sys",{"2":{"22":3,"162":1}}],["system",{"0":{"153":1},"2":{"15":2,"22":4,"153":1,"287":2}}],["snowykami",{"2":{"36":2,"131":2,"154":2,"160":2,"163":2,"167":2,"168":2,"173":2,"177":2,"186":2,"187":2,"228":2,"232":2,"233":2,"256":2,"258":2}}],["sleep",{"2":{"21":1,"22":1,"268":1,"280":1,"281":1}}],["style",{"2":{"276":2,"292":2}}],["stem",{"2":{"264":2}}],["stdout",{"2":{"162":1}}],["store",{"2":{"103":1,"104":1,"105":1,"106":2,"107":1,"255":1}}],["storage",{"0":{"99":1},"1":{"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1},"2":{"88":2,"271":2}}],["stopped",{"2":{"20":1}}],["stopping",{"2":{"20":1}}],["stop",{"0":{"26":1},"2":{"19":1,"20":1,"21":2,"26":2}}],["strings",{"2":{"276":2}}],["strip",{"2":{"257":2}}],["str=",{"2":{"223":1,"224":1}}],["structure",{"0":{"275":1},"2":{"67":1}}],["str",{"0":{"23":1,"34":1,"35":2,"66":1,"76":1,"77":1,"78":1,"79":1,"82":2,"83":2,"84":2,"87":2,"95":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"118":2,"119":2,"120":2,"121":2,"123":2,"124":2,"125":2,"126":2,"127":2,"128":2,"129":1,"133":2,"137":1,"139":1,"141":1,"153":1,"155":1,"161":2,"165":9,"166":2,"176":1,"195":1,"196":2,"197":1,"198":1,"199":1,"203":1,"204":1,"206":1,"208":1,"209":1,"212":1,"214":1,"218":1,"219":3,"220":2,"221":1,"222":1,"223":2,"224":3,"227":1,"229":1,"230":1,"231":2,"241":1,"242":1,"243":1,"245":1,"246":1,"247":1,"251":1,"253":1,"264":1},"2":{"19":1,"23":2,"34":2,"35":3,"40":1,"41":1,"66":2,"73":2,"75":2,"76":2,"77":2,"78":2,"79":3,"82":2,"83":2,"84":2,"87":2,"95":1,"100":1,"101":1,"103":5,"104":1,"105":1,"106":1,"107":3,"108":1,"109":1,"110":1,"118":2,"119":2,"120":2,"121":2,"123":2,"124":2,"125":2,"126":2,"127":2,"128":2,"129":1,"133":2,"135":2,"137":1,"139":1,"141":1,"153":1,"155":1,"161":2,"165":9,"166":2,"176":1,"185":1,"219":3,"220":2,"221":1,"222":1,"223":1,"224":4,"227":2,"229":1,"230":1,"231":3,"264":2,"268":1}}],["stat",{"2":{"304":1}}],["statistic",{"2":{"304":1}}],["statistics",{"0":{"303":1},"1":{"304":1}}],["static",{"0":{"191":1},"2":{"222":1}}],["staticmethod",{"0":{"191":1},"2":{"44":1,"45":1,"109":1,"110":1,"222":1}}],["status",{"2":{"295":1,"296":1}}],["standardization",{"0":{"276":1}}],["standard",{"2":{"6":2}}],["startup",{"2":{"268":2}}],["startswith",{"2":{"222":3,"256":1,"257":1}}],["started",{"2":{"6":1}}],["start",{"0":{"27":1,"28":1,"46":1,"47":1,"52":1,"53":1,"111":1,"136":1},"2":{"1":2,"6":3,"12":1,"20":1,"22":2,"27":2,"28":2,"44":2,"46":2,"47":2,"52":3,"53":3,"111":2,"136":2,"263":1,"268":1}}],["starting",{"2":{"0":1,"136":1}}],["s",{"2":{"15":1}}],["sparkles",{"2":{"276":2}}],["space",{"2":{"15":1}}],["split",{"2":{"229":4}}],["specified",{"2":{"229":1}}],["specific",{"2":{"15":1}}],["specify",{"2":{"6":1}}],["so",{"2":{"275":1}}],["sockschannel",{"0":{"94":1},"1":{"95":1,"96":1,"97":1,"98":1}}],["socks",{"0":{"93":1},"1":{"94":1,"95":1,"96":1,"97":1,"98":1}}],["software",{"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["source",{"0":{"199":1},"2":{"12":1,"15":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":1,"67":1,"68":1,"69":1,"70":1,"76":1,"77":1,"78":1,"79":1,"82":1,"83":1,"84":1,"87":1,"91":1,"92":1,"95":1,"96":1,"97":1,"98":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"113":1,"118":1,"119":1,"120":1,"121":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"146":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"155":1,"161":1,"162":1,"165":1,"166":1,"170":1,"171":1,"172":1,"174":1,"175":1,"176":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1,"219":1,"220":1,"221":1,"222":3,"223":7,"224":1,"227":1,"229":1,"230":1,"231":1,"249":1,"257":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":1,"275":1,"277":1}}],["solution",{"0":{"8":1,"9":1}}],["some",{"2":{"1":1,"6":2}}],["search",{"2":{"297":1,"298":1}}],["see",{"2":{"274":1}}],["service",{"0":{"236":2},"2":{"231":1,"286":1}}],["server",{"2":{"1":1,"3":1,"9":1,"15":1}}],["sep",{"2":{"222":3}}],["session",{"0":{"165":2,"186":1},"2":{"165":6,"166":5,"186":1}}],["sequence",{"0":{"45":1},"2":{"45":2}}],["setting",{"2":{"274":1}}],["set",{"0":{"76":1,"77":1,"82":1,"104":1,"119":1,"230":1},"2":{"19":1,"21":1,"26":1,"66":1,"76":2,"77":2,"81":1,"82":3,"104":2,"118":1,"119":3,"230":2,"262":1,"271":1,"295":2,"296":1,"299":2}}],["self",{"0":{"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"44":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":1,"67":1,"68":1,"69":1,"70":1,"87":1,"91":1,"92":1,"95":1,"96":1,"97":1,"98":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"111":1,"133":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"148":1,"149":1,"150":1,"151":1,"152":1,"165":1,"166":1,"170":1,"171":1,"172":1,"180":1,"181":1,"182":1,"183":1,"249":1},"2":{"19":11,"20":4,"21":3,"22":4,"23":2,"24":2,"25":1,"26":3,"27":2,"28":2,"29":2,"30":2,"31":2,"32":2,"44":8,"46":2,"47":2,"48":2,"49":2,"50":2,"51":2,"52":3,"53":3,"54":3,"55":3,"56":3,"57":3,"66":14,"67":6,"68":3,"69":2,"70":3,"87":3,"91":2,"92":2,"95":5,"96":1,"97":1,"98":1,"103":7,"104":3,"105":3,"106":4,"107":3,"108":2,"109":1,"111":4,"133":6,"135":4,"136":2,"137":2,"138":2,"139":3,"140":3,"141":3,"148":1,"149":2,"150":2,"151":2,"152":2,"165":10,"166":3,"170":5,"171":2,"172":3,"180":2,"181":2,"182":2,"183":3,"222":1,"223":1,"249":2}}],["send",{"0":{"67":1,"96":1},"2":{"6":1,"23":2,"66":2,"67":4,"76":1,"78":1,"79":1,"83":1,"84":1,"95":1,"96":1,"104":1,"105":1,"106":1,"107":1,"108":1,"111":1,"118":1,"121":1,"166":1,"267":1,"268":3,"295":1}}],["summary",{"2":{"276":1}}],["summary>",{"2":{"223":3}}],["summary>源代码",{"2":{"223":1}}],["suggestions",{"0":{"274":1}}],["su",{"0":{"185":1},"2":{"185":1,"256":1,"257":1}}],["succeeded",{"2":{"229":1}}],["success",{"2":{"139":1,"162":2,"229":2}}],["such",{"2":{"6":1,"274":1,"276":2}}],["subscribe",{"2":{"109":1}}],["subscriber",{"0":{"100":1,"101":1,"109":1,"110":1},"2":{"109":7,"110":2,"111":1}}],["sub",{"0":{"101":1},"2":{"33":1,"66":2,"70":1,"103":1,"109":4,"111":1}}],["submitted",{"2":{"276":1}}],["submit",{"2":{"7":1,"273":2}}],["sure",{"2":{"6":2}}],["support",{"2":{"276":1}}],["supported",{"2":{"4":1,"128":1}}],["supports",{"2":{"0":1,"8":5}}],["superuser",{"2":{"1":1}}],["superusers",{"2":{"0":1,"1":1,"6":1,"185":1}}],["same",{"2":{"3":2}}],["safe",{"2":{"2":2,"6":3,"124":1}}],["num为每页显示数量",{"2":{"297":2}}],["num",{"2":{"297":2}}],["number",{"2":{"13":2}}],["nliteyuki",{"2":{"279":1}}],["n\`\`\`",{"2":{"223":2}}],["n\`\`\`python",{"2":{"223":2}}],["n",{"2":{"223":52,"224":2}}],["name>",{"2":{"280":2}}],["name=module",{"2":{"229":3}}],["name=target",{"2":{"222":2}}],["name=class",{"2":{"222":1}}],["name=node",{"2":{"222":2}}],["name=f",{"2":{"137":2}}],["name=",{"2":{"71":1,"72":1,"73":1,"80":1,"81":1,"103":3,"286":1}}],["name",{"0":{"23":1,"66":1,"76":1,"78":1,"87":1,"95":1,"137":1,"139":1,"141":1,"195":1,"203":1,"208":1,"225":1,"231":2,"241":1,"251":1,"253":1,"264":1},"2":{"23":6,"66":11,"76":7,"77":2,"78":5,"82":3,"83":3,"87":3,"95":4,"136":3,"137":5,"138":1,"139":6,"140":2,"141":5,"222":11,"223":7,"224":2,"229":20,"230":9,"231":6,"249":1,"264":1,"268":2,"295":4,"297":8}}],["ntqq",{"2":{"8":1}}],["npm",{"2":{"6":1,"297":7,"298":1}}],["nesting",{"2":{"276":1}}],["new",{"2":{"19":1,"123":3,"262":1,"273":1,"276":2}}],["necessary",{"2":{"6":1}}],["needs",{"2":{"268":1}}],["need",{"2":{"0":1,"2":1,"6":1,"273":1}}],["non",{"2":{"277":1}}],["nonlocal",{"2":{"146":1}}],["nonedog",{"2":{"286":1}}],["none",{"0":{"19":1,"23":1,"34":1,"35":1,"44":1,"45":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":1,"70":1,"91":1,"104":1,"105":1,"106":1,"108":1,"114":1,"137":1,"153":1,"165":2,"172":1,"205":1,"223":1,"224":1,"254":1},"2":{"19":1,"23":2,"33":1,"34":1,"35":1,"44":1,"45":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":3,"67":1,"69":1,"70":2,"91":1,"95":2,"104":1,"106":1,"108":1,"113":2,"124":1,"125":1,"126":1,"137":1,"144":1,"146":1,"153":1,"165":1,"172":1,"178":2,"183":1,"222":3,"224":1,"229":4,"230":1,"261":1}}],["nonebot2",{"2":{"4":2,"10":1}}],["nonebot",{"0":{"3":1},"2":{"1":2,"2":2,"3":1,"10":1,"260":1,"268":3,"275":3,"286":1,"287":4,"290":1}}],["nohup",{"2":{"22":2,"280":1,"281":1}}],["nodes",{"2":{"222":2}}],["node",{"2":{"8":1,"15":1,"222":42}}],["notimplementederror",{"2":{"148":1}}],["not",{"2":{"1":1,"2":1,"4":1,"6":4,"15":2,"21":1,"23":1,"33":1,"66":1,"67":2,"70":4,"76":1,"106":1,"109":3,"111":1,"124":1,"125":1,"126":1,"127":3,"128":3,"139":2,"141":2,"153":2,"172":1,"220":1,"222":8,"229":1,"230":8,"276":3,"287":2}}],["normal>",{"2":{"162":1}}],["normal",{"0":{"12":1,"222":1},"2":{"1":1,"222":1,"224":1}}],["no",{"0":{"127":1,"128":1,"129":1,"195":1,"196":1,"197":1,"198":1,"200":1,"201":1,"203":1,"204":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"225":1,"241":1,"251":1,"252":1,"253":1},"2":{"1":1,"74":1,"75":1,"127":3,"128":3,"129":3,"222":3,"223":1,"224":2,"276":1}}],["nickname",{"2":{"0":1,"1":2,"6":3}}],["ignored",{"0":{"224":1},"2":{"224":7}}],["ignore",{"0":{"106":1,"222":1,"230":1},"2":{"106":3,"222":5,"224":1,"230":5}}],["id仅超级用户可用",{"2":{"295":1}}],["id=user",{"2":{"281":2}}],["id=1234567",{"2":{"295":2}}],["id=123456",{"2":{"281":1}}],["id=self",{"2":{"166":3}}],["id",{"0":{"165":3},"2":{"70":5,"165":9,"166":3,"185":1,"222":6,"281":2,"295":2,"297":1,"303":4}}],["ids",{"2":{"66":2,"70":2}}],["impossible",{"2":{"267":1}}],["import",{"2":{"117":1,"229":1,"268":5,"271":1,"286":2,"287":3,"290":1}}],["implemented",{"2":{"148":1,"268":1}}],["implement",{"2":{"6":1,"268":1}}],["implementation",{"0":{"3":1},"2":{"3":1,"6":4,"8":1}}],["image",{"2":{"13":1,"295":2,"296":1}}],["i",{"2":{"6":2,"174":2,"268":6}}],["icon=f",{"2":{"162":5}}],["icon",{"2":{"1":2,"162":7,"223":1,"224":2}}],["isclass",{"2":{"261":1}}],["iscoroutinefunction",{"2":{"261":2}}],["isroutine",{"2":{"261":1}}],["isfile",{"2":{"230":1,"287":1}}],["isdir",{"2":{"230":2}}],["isinstance",{"2":{"76":1,"123":1,"222":13,"229":1,"268":1}}],["issues",{"2":{"9":2}}],["issue",{"2":{"7":1}}],["is",{"0":{"141":1,"185":1,"201":1,"261":1},"2":{"1":3,"2":1,"3":3,"4":1,"6":2,"12":1,"15":1,"19":1,"20":2,"21":3,"23":1,"33":2,"45":1,"66":6,"67":1,"70":5,"76":1,"78":1,"79":1,"103":2,"104":1,"105":1,"106":1,"107":1,"109":3,"111":1,"113":2,"124":1,"125":1,"126":1,"137":1,"139":1,"141":2,"153":1,"158":1,"165":1,"183":1,"185":1,"222":2,"223":2,"224":1,"229":1,"230":2,"255":1,"261":1,"262":1,"267":2,"268":3,"275":3,"276":12,"277":1}}],["if",{"2":{"1":2,"2":4,"3":1,"6":2,"7":1,"13":2,"15":2,"22":2,"23":1,"33":2,"35":2,"45":1,"66":5,"67":3,"68":1,"70":6,"76":3,"78":1,"79":1,"104":1,"105":1,"106":3,"107":1,"109":5,"111":2,"113":2,"123":1,"124":1,"125":1,"126":1,"127":2,"128":3,"137":1,"139":2,"141":1,"146":1,"153":1,"161":1,"162":5,"165":1,"166":1,"172":1,"174":1,"183":1,"220":1,"221":1,"222":20,"223":10,"224":4,"229":2,"230":9,"261":2,"262":1,"264":1,"273":3,"276":2}}],["inaccessible",{"2":{"276":1}}],["included",{"2":{"275":1}}],["including",{"2":{"15":1}}],["index",{"2":{"223":1,"224":1,"292":1}}],["inherit=",{"2":{"222":1}}],["inherit",{"0":{"212":1},"2":{"223":5}}],["inspect",{"2":{"261":4,"265":1}}],["insert",{"2":{"174":1}}],["instance",{"0":{"113":1,"114":1},"2":{"19":2,"33":4,"67":1,"76":1,"113":5,"116":1}}],["installed",{"2":{"15":1}}],["installation",{"0":{"12":1},"2":{"6":2}}],["install",{"0":{"11":1},"1":{"12":1,"13":1,"14":1,"15":1,"16":1},"2":{"6":3,"12":3,"13":1,"15":2,"294":1,"297":1,"298":1}}],["instead",{"2":{"6":2,"13":1,"35":1}}],["inner",{"2":{"66":2}}],["initialized",{"2":{"33":1,"66":2}}],["initializing",{"2":{"19":1}}],["init",{"0":{"19":1,"24":1,"25":1,"44":1,"66":1,"87":1,"91":1,"95":1,"103":1,"133":1,"135":1,"162":1,"165":1,"170":1,"180":1},"2":{"19":2,"24":2,"25":2,"44":1,"66":1,"87":1,"91":1,"95":1,"103":1,"133":1,"135":1,"162":1,"165":1,"167":1,"170":1,"180":1,"222":1,"224":2,"230":2,"258":1,"264":1,"286":3}}],["introducing",{"2":{"276":1}}],["introduction",{"0":{"267":1}}],["into",{"2":{"273":1}}],["inter",{"2":{"267":1}}],["interpreter",{"2":{"6":1}}],["interpreters",{"2":{"6":2}}],["int=0",{"2":{"22":1,"175":1,"176":1}}],["int",{"0":{"22":1,"170":1,"175":1,"176":1},"2":{"22":1,"44":1,"66":2,"170":1}}],["intact",{"2":{"6":1}}],["invalidgitrepositoryerror",{"2":{"6":1}}],["information",{"2":{"3":1,"274":1}}],["info",{"0":{"222":1,"223":1},"2":{"1":1,"19":1,"20":2,"21":2,"22":1,"162":3,"222":12,"223":5,"224":5,"268":2}}],["in",{"0":{"129":1,"263":1},"2":{"0":3,"1":1,"2":1,"3":2,"6":3,"23":1,"33":1,"35":3,"45":1,"66":5,"69":1,"70":1,"76":1,"77":1,"106":1,"109":3,"110":1,"111":1,"123":2,"127":1,"128":2,"129":1,"136":1,"138":1,"139":1,"140":1,"141":1,"153":1,"155":1,"172":1,"174":1,"176":2,"185":1,"220":1,"221":2,"222":13,"223":9,"224":5,"230":2,"255":2,"259":2,"262":2,"263":1,"267":1,"273":5,"274":2,"275":4,"276":6,"277":1,"287":1}}],["iter",{"2":{"222":2}}],["items",{"2":{"0":1,"6":1,"77":1,"123":2,"220":1,"223":1,"224":1}}],["itself",{"2":{"6":1,"9":1}}],["it",{"2":{"0":1,"2":2,"3":1,"6":5,"12":1,"267":2}}],["r>",{"2":{"229":2}}],["rv",{"2":{"224":2}}],["rk",{"2":{"224":2}}],["rmtree",{"2":{"224":1}}],["rpm",{"2":{"297":5,"298":1}}],["rp",{"2":{"220":4}}],["rpc",{"0":{"89":1,"90":1},"1":{"90":1,"91":2,"92":2},"2":{"88":1}}],["rule=is",{"2":{"256":1,"257":1}}],["rule=empty",{"2":{"175":1,"176":1}}],["rulehandlerfunc",{"0":{"178":1,"180":1},"2":{"180":1}}],["rule",{"0":{"170":2,"175":3,"176":2,"177":1,"179":1,"181":2,"182":2,"184":1,"185":1},"1":{"178":1,"179":1,"180":2,"181":2,"182":2,"183":2,"184":1,"185":1},"2":{"170":5,"172":1,"175":3,"176":5,"177":1,"181":3,"182":3,"183":1,"184":3,"185":2,"256":1,"257":1}}],["runnable",{"2":{"276":1}}],["running",{"2":{"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":1,"69":1,"103":2,"262":2,"267":1}}],["runtimeerror",{"2":{"33":2,"67":1,"68":1,"70":1,"109":1,"111":1,"262":1}}],["run",{"0":{"13":1,"20":1,"45":1,"110":1,"155":1,"172":1,"262":1,"263":1},"2":{"0":1,"12":1,"13":2,"15":1,"20":3,"45":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"69":1,"110":1,"111":1,"136":1,"155":2,"172":1,"262":3,"263":1,"290":2}}],["raw",{"0":{"165":1},"2":{"165":3,"166":1,"176":1,"257":1}}],["raise",{"2":{"33":2,"66":3,"67":2,"68":1,"70":1,"76":2,"106":1,"109":1,"111":1,"148":1}}],["rights",{"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["root",{"2":{"13":1,"221":2}}],["r",{"2":{"12":1,"15":1,"124":1,"125":1,"126":1,"222":1}}],["revise",{"2":{"276":1}}],["reverse",{"2":{"3":2}}],["readme",{"2":{"224":2}}],["read",{"2":{"222":1,"273":2}}],["reload",{"2":{"295":1,"296":2,"297":1,"298":1}}],["reloading",{"2":{"287":1}}],["related",{"2":{"275":1,"276":1}}],["relative",{"0":{"219":1},"2":{"219":1,"224":1,"225":1,"264":1}}],["rel",{"2":{"224":4,"264":5}}],["relpath",{"2":{"219":1}}],["red>",{"2":{"162":1}}],["remove",{"2":{"162":1}}],["ref",{"0":{"117":1}}],["refer",{"0":{"16":1},"2":{"6":1,"276":1}}],["reference",{"2":{"3":1,"273":1}}],["returns",{"2":{"222":4}}],["return",{"0":{"197":1},"2":{"27":2,"28":2,"29":2,"30":2,"31":2,"32":2,"33":2,"34":2,"35":4,"46":2,"47":2,"48":2,"49":2,"50":2,"51":2,"68":2,"69":2,"70":7,"78":3,"79":3,"92":1,"97":1,"105":3,"107":3,"109":3,"113":1,"123":2,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"139":1,"141":1,"146":3,"153":4,"161":2,"171":3,"172":1,"175":1,"176":2,"181":2,"182":2,"183":2,"184":1,"185":1,"219":1,"221":1,"222":4,"223":4,"227":2,"229":2,"230":1,"231":2,"249":1,"261":4,"264":3,"265":3}}],["reply",{"0":{"166":1},"2":{"166":3,"257":1}}],["replace",{"2":{"13":1,"222":3,"223":4,"224":8}}],["repository",{"2":{"273":7,"275":2,"276":1}}],["repo",{"2":{"13":1}}],["report设定为false",{"2":{"293":1}}],["reports",{"2":{"6":1}}],["report",{"2":{"1":2,"6":2,"293":1}}],["request",{"2":{"273":1}}],["requests",{"2":{"1":1}}],["required",{"2":{"66":1,"276":1}}],["requires",{"2":{"15":1}}],["requirements",{"0":{"15":1},"1":{"16":1},"2":{"12":1,"15":1}}],["restriction",{"2":{"276":1}}],["restarting",{"2":{"22":1}}],["restart",{"0":{"22":1,"23":1,"31":1,"32":1,"50":1,"51":1,"56":1,"57":1},"2":{"0":1,"19":1,"22":3,"23":1,"31":2,"32":2,"44":2,"50":2,"51":2,"56":3,"57":3,"287":2}}],["resource",{"2":{"275":1}}],["resources",{"2":{"275":1,"291":1,"292":1,"296":1}}],["resolve",{"2":{"264":2}}],["reserved",{"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["response",{"2":{"6":2}}],["respond",{"2":{"6":1}}],["receiving",{"2":{"268":1}}],["receive",{"0":{"59":1,"60":1,"61":1,"68":1,"69":1,"70":1,"97":1,"100":1,"101":1,"109":3,"110":1,"111":1,"165":1},"2":{"1":1,"61":2,"66":3,"68":2,"69":2,"70":4,"78":1,"79":1,"81":1,"82":2,"83":2,"84":1,"97":1,"100":1,"101":1,"103":2,"105":1,"107":1,"109":11,"110":2,"111":4,"117":1,"118":2,"119":2,"120":2,"121":1,"165":3,"166":3,"268":11}}],["recursive=recursive",{"2":{"153":1}}],["recursive",{"0":{"153":1},"2":{"153":2}}],["recv",{"2":{"66":2,"68":2,"78":5,"79":5,"83":3,"84":3,"95":1,"105":5,"107":5,"118":3,"121":3}}],["recommended",{"0":{"8":1,"9":1},"2":{"3":1,"6":1,"12":1,"14":1,"15":2,"276":1}}],["city",{"2":{"301":1,"302":1}}],["css相对路径引用b中的css",{"2":{"292":1}}],["css",{"2":{"291":1,"292":1}}],["cwd",{"2":{"264":1}}],["cfg",{"2":{"155":4}}],["current|bot",{"2":{"303":1}}],["current|group",{"2":{"303":1}}],["current",{"2":{"146":3,"303":2,"304":1}}],["custom",{"2":{"2":4}}],["customize",{"2":{"2":1}}],["c",{"2":{"36":1,"123":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"231":1,"232":1,"233":1,"256":1,"258":1,"262":4,"264":2,"304":1}}],["cmd",{"2":{"22":5,"279":2,"280":1}}],["cpu",{"2":{"15":1,"293":1}}],["cd",{"2":{"12":1,"13":1}}],["cls",{"0":{"113":1},"2":{"113":6,"222":1,"223":11}}],["close",{"0":{"98":1},"2":{"98":1,"262":1}}],["closed",{"2":{"66":1,"67":2,"68":2,"95":1}}],["clone",{"2":{"12":2,"13":2}}],["cloning",{"2":{"6":1}}],["classdef",{"2":{"222":3}}],["classes=",{"2":{"222":1}}],["classes",{"0":{"216":1},"2":{"222":1,"223":1}}],["classinfo",{"0":{"207":1,"216":1},"1":{"208":1,"209":1,"210":1,"211":1,"212":1},"2":{"222":1}}],["classmethod",{"0":{"192":1},"2":{"112":1,"113":1,"222":1}}],["class",{"0":{"18":1,"43":1,"65":1,"86":1,"90":1,"94":1,"102":1,"112":1,"132":1,"134":1,"147":1,"157":1,"164":1,"169":1,"179":1,"188":1,"192":1,"194":1,"202":1,"207":1,"213":1,"234":1,"240":1,"248":1},"1":{"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":1,"67":1,"68":1,"69":1,"70":1,"87":1,"91":1,"92":1,"95":1,"96":1,"97":1,"98":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"113":1,"114":1,"115":1,"133":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"148":1,"149":1,"150":1,"151":1,"152":1,"165":1,"166":1,"170":1,"171":1,"172":1,"180":1,"181":1,"182":1,"183":1,"189":1,"190":1,"191":1,"192":1,"193":1,"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"203":1,"204":1,"205":1,"206":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"235":1,"236":1,"237":1,"238":1,"239":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"249":1,"250":1,"251":1,"252":1,"253":1,"254":1},"2":{"222":24,"223":2}}],["client",{"2":{"8":1}}],["cqhttp",{"2":{"8":1}}],["chinese",{"2":{"275":1}}],["child",{"2":{"222":2,"267":1}}],["chromium",{"2":{"15":1}}],["channel时的通道标识",{"2":{"268":1}}],["channel即可",{"2":{"268":1}}],["channel及passive",{"2":{"268":1}}],["channel函数获取通道对象",{"2":{"268":2}}],["channel=none",{"2":{"166":1}}],["channeldeliver",{"0":{"132":1},"1":{"133":1},"2":{"137":1}}],["channels",{"0":{"77":2,"79":1,"84":1},"2":{"77":4,"79":2,"83":1,"84":3}}],["channel",{"0":{"58":1,"65":1,"71":1,"72":1,"73":1,"74":2,"75":2,"76":3,"77":1,"78":2,"79":1,"80":2,"81":2,"82":1,"83":1,"93":1,"108":1,"109":1,"110":1,"133":8,"165":2,"266":1},"1":{"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":2,"67":2,"68":2,"69":2,"70":2,"71":1,"72":1,"73":1,"74":1,"75":1,"76":1,"77":1,"78":1,"79":1,"80":1,"81":1,"82":1,"83":1,"84":1,"94":1,"95":1,"96":1,"97":1,"98":1,"267":1,"268":1,"269":1,"270":1,"271":1},"2":{"23":2,"66":7,"67":1,"68":1,"71":3,"72":3,"73":3,"74":2,"75":1,"76":19,"77":5,"78":9,"79":7,"80":3,"81":6,"82":11,"83":7,"84":2,"88":2,"103":4,"105":1,"107":1,"108":4,"109":8,"110":3,"111":2,"133":12,"137":12,"165":4,"166":2,"267":3,"268":14}}],["chan",{"2":{"23":4,"78":5,"79":5,"83":3,"84":3,"103":2,"104":1,"105":6,"106":1,"107":6,"108":1,"111":1,"117":1,"118":5,"119":2,"120":2,"121":4,"137":2,"268":2}}],["changed",{"2":{"287":1}}],["change",{"2":{"12":1,"13":1,"297":1,"298":1}}],["chat",{"2":{"6":1,"7":1,"9":1}}],["checking",{"2":{"274":1}}],["check",{"0":{"66":1},"2":{"1":1,"6":1,"66":8,"67":1}}],["cn",{"0":{"223":1,"224":1},"2":{"2":1,"223":2,"224":1}}],["color",{"2":{"231":7}}],["color=",{"2":{"162":5}}],["colors=true",{"2":{"20":2,"229":3}}],["copy",{"2":{"123":1,"273":1}}],["copyright",{"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["count",{"0":{"117":1},"2":{"19":1,"22":2}}],["code插件liteyuki",{"2":{"283":1}}],["code=ast",{"2":{"222":2}}],["codemodifiedhandler",{"0":{"147":1},"1":{"148":1,"149":1,"150":1,"151":1,"152":1},"2":{"153":1}}],["code",{"0":{"199":1},"2":{"15":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":1,"67":1,"68":1,"69":1,"70":1,"76":1,"77":1,"78":1,"79":1,"82":1,"83":1,"84":1,"87":1,"91":1,"92":1,"95":1,"96":1,"97":1,"98":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"113":1,"118":1,"119":1,"120":1,"121":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"146":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":4,"155":1,"161":1,"162":1,"165":1,"166":1,"170":1,"171":1,"172":1,"174":1,"175":1,"176":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1,"219":1,"220":1,"221":1,"222":1,"223":7,"224":3,"227":1,"229":1,"230":1,"231":1,"249":1,"257":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":1,"273":2,"274":1,"275":1,"276":6}}],["corresponding",{"2":{"276":1}}],["correct",{"2":{"276":2}}],["correctly",{"2":{"6":2,"276":1}}],["coro",{"0":{"262":1,"263":1},"2":{"262":5,"263":2}}],["coroutine",{"0":{"261":1,"262":2,"263":2,"265":1},"2":{"45":1,"60":1,"63":1,"70":2,"109":1,"178":1,"261":1,"262":2,"263":3,"265":2}}],["core",{"0":{"130":1,"131":1},"1":{"132":1,"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1},"2":{"8":1}}],["come",{"2":{"267":1}}],["combined",{"2":{"181":2,"182":2}}],["com",{"2":{"12":1,"13":1,"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["compat",{"0":{"35":2},"2":{"35":8}}],["completing",{"2":{"276":1}}],["completion",{"2":{"2":2}}],["complete",{"2":{"262":2,"276":1}}],["complies",{"2":{"6":1}}],["computer",{"2":{"6":1}}],["commit",{"2":{"276":6}}],["comment",{"2":{"276":1}}],["communicate",{"2":{"267":1}}],["communication",{"0":{"266":1},"1":{"267":1,"268":1,"269":1,"270":1,"271":1},"2":{"3":1,"267":1}}],["comm",{"0":{"58":1,"85":1,"88":1,"89":1,"93":1,"99":1},"1":{"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"76":1,"77":1,"78":1,"79":1,"80":1,"81":1,"82":1,"83":1,"84":1,"86":1,"87":1,"90":1,"91":1,"92":1,"94":1,"95":1,"96":1,"97":1,"98":1,"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1},"2":{"268":2,"271":2}}],["command>",{"2":{"280":2}}],["command",{"0":{"295":1},"1":{"296":1},"2":{"1":4,"6":5,"10":1}}],["conditions",{"2":{"276":1}}],["contributions",{"2":{"277":1}}],["content",{"2":{"222":2,"223":17,"224":2,"275":1,"276":1}}],["continue",{"2":{"128":1,"222":1,"224":1,"230":3}}],["container",{"2":{"13":1}}],["contact",{"2":{"6":1,"273":1}}],["conn",{"2":{"66":4,"67":1,"68":1,"95":2}}],["connect",{"2":{"6":1}}],["connected",{"0":{"3":1}}],["convenient",{"2":{"14":1}}],["confirm",{"2":{"6":1}}],["configs",{"0":{"128":1},"2":{"128":1,"129":1}}],["config=self",{"2":{"25":1}}],["configured",{"2":{"3":1}}],["configuration",{"0":{"1":1,"3":1},"2":{"0":5,"1":1,"2":2,"3":1,"6":2}}],["configurations",{"0":{"0":1,"2":1},"1":{"1":1,"2":1,"3":1,"4":1},"2":{"2":1}}],["config",{"0":{"34":1,"35":1,"122":1,"123":2,"129":1,"162":1,"250":1},"1":{"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1},"2":{"0":5,"2":2,"19":2,"25":1,"34":2,"35":6,"123":9,"124":6,"125":6,"126":6,"127":7,"128":4,"129":9,"155":1,"162":3,"259":2,"274":1,"295":4,"296":1}}],["conflict",{"2":{"6":1}}],["conflicts",{"2":{"6":1,"12":1,"273":1}}],["console",{"2":{"1":1,"274":1}}],["created",{"0":{"149":1},"2":{"149":1}}],["create",{"2":{"0":1,"12":1,"110":1,"273":2}}],["case",{"2":{"231":4,"273":1}}],["cases",{"2":{"0":1}}],["category",{"2":{"223":1,"224":2}}],["calling",{"0":{"91":2},"2":{"91":4,"92":1}}],["callback",{"0":{"144":1,"153":2},"2":{"70":1,"153":4,"268":1}}],["callable",{"0":{"70":3,"109":1,"153":1,"171":1,"261":2,"265":2},"2":{"37":1,"38":1,"40":1,"41":1,"45":1,"59":1,"60":1,"62":1,"63":1,"70":10,"109":2,"135":1,"144":1,"145":1,"153":1,"171":1,"178":1,"261":2,"265":4}}],["call",{"0":{"92":1,"183":1,"261":1},"2":{"19":1,"22":2,"92":1,"146":4,"183":1,"261":7,"268":1}}],["cache",{"2":{"13":2}}],["cannot",{"2":{"6":1,"67":1,"68":1,"109":1,"111":1}}],["can",{"2":{"0":2,"4":1,"6":2,"7":1,"12":1,"33":1,"70":1,"267":1,"268":1,"274":1,"276":1}}],["duration>",{"2":{"303":1}}],["duration",{"2":{"303":2,"304":1}}],["during",{"2":{"274":1}}],["duplex",{"2":{"268":1}}],["driver",{"2":{"268":4}}],["d",{"2":{"117":2,"118":4,"119":4,"120":4,"121":2,"264":2,"304":1}}],["data=",{"2":{"166":1}}],["data",{"0":{"67":1,"82":1,"83":1,"84":1,"87":1,"96":1,"108":1,"110":1,"118":1,"119":1,"120":1,"121":1,"165":1,"220":1},"2":{"67":6,"68":2,"69":2,"70":5,"81":2,"82":7,"83":7,"84":4,"87":3,"96":2,"97":1,"108":4,"109":3,"110":3,"111":6,"118":4,"119":3,"120":2,"121":2,"165":5,"220":5,"224":5,"268":7}}],["daemon=true",{"2":{"22":1,"136":1,"263":1}}],["darwin",{"2":{"22":1}}],["day",{"2":{"1":1}}],["dog",{"2":{"286":1,"287":1}}],["double",{"2":{"276":1}}],["dot",{"2":{"222":1}}],["document",{"2":{"276":1}}],["documents",{"2":{"273":1}}],["documentation",{"2":{"6":1,"9":1,"273":1,"275":3,"276":7}}],["docs",{"0":{"224":1},"2":{"224":3,"275":1,"295":1,"296":1}}],["docstring=method",{"2":{"222":1}}],["docstring=module",{"2":{"222":1}}],["docstring=class",{"2":{"222":1}}],["docstring=function",{"2":{"222":1}}],["docstring",{"0":{"198":1,"206":1,"209":1,"218":1},"2":{"222":16,"223":12,"276":2}}],["docker",{"0":{"13":1},"2":{"13":4,"275":2}}],["don",{"2":{"6":1,"7":1,"9":1}}],["download",{"2":{"6":1}}],["does",{"2":{"6":4,"230":1}}],["do",{"2":{"6":1,"15":1,"276":1}}],["did",{"2":{"276":1}}],["diagnose=false",{"2":{"162":1}}],["dict",{"0":{"77":1,"79":1,"82":1,"83":1,"84":1,"87":1,"92":1,"107":1,"118":1,"119":1,"120":1,"121":1,"123":2,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"162":1,"165":2,"166":1,"220":1,"227":1,"247":1},"2":{"19":1,"73":1,"75":1,"77":2,"79":3,"82":1,"83":1,"84":1,"87":1,"92":1,"100":1,"101":1,"103":2,"107":3,"118":1,"119":1,"120":1,"121":1,"123":3,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"135":3,"162":1,"165":2,"166":1,"220":1,"224":1,"227":2,"229":6}}],["disable",{"2":{"295":1,"296":1,"297":2,"298":2}}],["disk",{"2":{"15":1}}],["display",{"0":{"231":2},"2":{"1":1,"229":7,"231":4}}],["different",{"2":{"3":2,"6":1}}],["dir",{"0":{"224":1,"230":1},"2":{"224":5,"230":16,"259":2}}],["dirname",{"2":{"220":2}}],["directories=",{"2":{"287":1}}],["directories",{"0":{"128":1,"153":1},"2":{"128":2,"153":3,"275":3}}],["directory",{"2":{"0":4,"1":1,"2":1,"12":1,"13":2,"128":6,"153":2,"230":1,"275":11}}],["directly",{"2":{"15":1}}],["direct",{"2":{"6":1,"267":1}}],["dirs",{"0":{"128":1},"2":{"1":1,"128":1,"129":1,"221":1,"259":1}}],["details",{"2":{"276":1}}],["details>",{"2":{"223":4}}],["detailed",{"2":{"2":1,"3":1,"276":1}}],["debounce",{"0":{"146":1},"2":{"146":1,"147":1,"148":1}}],["debugging",{"2":{"274":1}}],["debug",{"2":{"2":2,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":2,"124":1,"125":1,"126":1,"136":1,"161":2,"162":2,"287":1}}],["deepcopy",{"2":{"123":1}}],["decorator",{"2":{"70":2,"109":2,"146":2,"153":2,"171":2,"222":13,"268":1}}],["del",{"2":{"106":2}}],["deleted",{"0":{"150":1},"2":{"150":1}}],["delete",{"0":{"106":1,"120":1},"2":{"106":2,"119":1,"120":3}}],["deliver",{"0":{"74":1,"75":1,"80":1,"81":1,"133":2},"2":{"76":1,"78":1,"79":1,"80":1,"81":2,"82":2,"83":2,"84":1,"133":6,"137":6}}],["delivery",{"2":{"4":1,"137":1}}],["delay",{"0":{"22":1},"2":{"22":3}}],["deftype",{"0":{"188":1,"200":1},"1":{"189":1,"190":1,"191":1,"192":1,"193":1},"2":{"222":4,"223":1}}],["def",{"2":{"21":1,"45":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"69":1,"70":2,"82":1,"83":1,"84":1,"109":2,"110":1,"111":1,"113":1,"118":1,"119":1,"120":1,"121":1,"146":2,"148":1,"153":2,"171":1,"172":1,"176":1,"181":1,"182":1,"183":1,"184":1,"185":1,"222":4,"223":2,"257":1,"265":1,"268":3,"287":1}}],["defaults",{"2":{"22":1,"23":1,"34":1,"35":1,"70":1}}],["default",{"0":{"34":1,"35":1,"105":1,"129":1,"195":1,"196":1,"197":1,"198":1,"200":1,"201":1,"203":1,"204":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"241":1,"251":1,"252":1,"253":1,"259":1},"2":{"1":1,"2":3,"3":1,"34":3,"35":3,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"71":1,"72":1,"73":1,"74":2,"75":2,"80":1,"81":1,"100":1,"101":1,"105":5,"116":1,"117":1,"118":3,"129":1,"144":1,"145":1,"155":1,"159":1,"161":1,"178":1,"225":1,"259":1}}],["deprecated",{"2":{"35":1}}],["depth=1",{"2":{"12":1,"13":1}}],["deploy",{"2":{"6":1}}],["depend",{"2":{"15":1}}],["dependency",{"2":{"12":1}}],["dependencies",{"2":{"12":1,"15":1}}],["depends",{"2":{"3":1,"15":1}}],["depending",{"2":{"0":1}}],["description=",{"2":{"286":1}}],["description",{"0":{"242":1},"2":{"3":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"76":1,"77":1,"78":1,"79":1,"80":1,"81":1,"92":1,"95":1,"96":1,"97":1,"98":1,"100":1,"101":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"116":1,"117":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"136":1,"137":1,"139":1,"141":1,"144":1,"145":1,"146":1,"153":1,"155":1,"159":1,"162":1,"165":1,"166":1,"170":1,"171":1,"172":1,"178":1,"219":1,"220":1,"222":1,"223":1,"224":1,"225":1,"227":1,"229":1,"230":1,"231":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":1,"276":1,"292":1}}],["device",{"0":{"15":1},"1":{"16":1},"2":{"15":1}}],["developer",{"2":{"274":1,"286":1}}],["developers",{"2":{"9":1}}],["developing",{"2":{"273":2}}],["develop",{"0":{"273":1},"1":{"274":1},"2":{"9":1,"273":1,"275":2}}],["development",{"0":{"272":1},"1":{"273":1,"274":1,"275":1,"276":1,"277":1},"2":{"2":3,"273":2,"274":1,"276":1,"277":1}}],["dev",{"0":{"142":1,"143":1,"154":1},"1":{"144":1,"145":1,"146":1,"147":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"155":1},"2":{"2":1,"274":1,"287":1,"290":1}}],["two",{"2":{"268":1}}],["target",{"0":{"137":3,"219":1},"2":{"137":5,"219":3,"222":5}}],["target=run",{"2":{"263":1}}],["target=self",{"2":{"136":1}}],["target=os",{"2":{"22":1}}],["targets",{"2":{"135":1,"136":1,"137":1,"138":1,"140":1,"141":1,"222":2}}],["task",{"2":{"110":1,"136":1}}],["tasks",{"2":{"45":2}}],["types",{"0":{"250":1}}],["type=plugintype",{"2":{"286":1}}],["type=attr",{"2":{"222":1}}],["type=ast",{"2":{"222":3}}],["type=def",{"2":{"222":1}}],["type=deftype",{"2":{"222":1}}],["type=self",{"2":{"166":2}}],["typeerror",{"2":{"66":1,"67":1,"76":1}}],["typealias",{"2":{"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"144":1,"145":1,"178":1}}],["type",{"0":{"66":1,"165":2,"197":1,"200":1,"204":1,"231":1,"244":1},"2":{"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"66":11,"67":7,"71":1,"72":1,"73":1,"74":1,"75":1,"76":1,"100":1,"101":1,"116":1,"144":1,"145":1,"165":6,"166":2,"178":1,"222":11,"223":13,"229":2,"231":4,"276":5}}],["tuple=",{"2":{"137":1}}],["tuplestr",{"2":{"35":1}}],["tuple",{"0":{"35":1,"82":1,"83":1,"84":1,"92":1,"118":1,"119":1,"120":1,"121":1,"133":2,"137":1,"153":1,"196":1},"2":{"35":1,"73":1,"75":1,"82":1,"83":1,"84":1,"92":1,"103":3,"118":1,"119":1,"120":1,"121":1,"133":2,"135":2,"153":1}}],["tests",{"2":{"275":1}}],["test",{"0":{"239":2},"2":{"231":1,"275":1}}],["text",{"2":{"223":3}}],["terminated",{"2":{"139":1}}],["terminate",{"0":{"139":1,"140":1},"2":{"22":1,"26":1,"139":2,"140":2}}],["telegram",{"2":{"6":1}}],["title",{"2":{"224":2}}],["time>",{"2":{"280":1}}],["timeout",{"2":{"139":1}}],["time",{"2":{"22":1,"36":1,"131":1,"146":9,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["tip",{"2":{"12":1,"13":1,"283":1,"292":1,"294":1}}],["txt",{"2":{"12":1,"15":1}}],["transfer",{"2":{"267":1}}],["traceback",{"2":{"172":1,"229":1}}],["tree",{"2":{"222":3}}],["try",{"2":{"20":1,"21":1,"106":1,"172":1,"229":1,"262":1}}],["trss",{"0":{"14":1},"2":{"8":1,"14":1}}],["true时例如docs",{"2":{"224":1}}],["true",{"0":{"106":1,"153":1,"222":1,"230":1,"250":1},"2":{"1":3,"2":4,"6":1,"68":1,"111":1,"162":1,"183":1,"184":1,"224":1,"268":2,"274":1}}],["t",{"0":{"65":1,"67":1,"68":1,"69":1,"70":2},"1":{"66":1,"67":1,"68":1,"69":1,"70":1},"2":{"6":1,"7":1,"9":1,"13":1,"33":1,"59":1,"60":1,"62":1,"63":1,"67":2,"68":2,"69":2,"70":7}}],["through",{"2":{"267":2}}],["thread",{"0":{"263":1},"2":{"22":1,"136":1,"263":2}}],["threading",{"0":{"115":1},"2":{"19":1,"22":1,"136":1,"263":1}}],["that",{"2":{"6":2,"267":1,"268":1,"273":2,"276":7}}],["this",{"2":{"6":3,"158":1,"255":1,"273":1,"275":2,"277":1}}],["then",{"2":{"6":1,"12":1}}],["therefore",{"2":{"267":1}}],["there",{"2":{"1":1,"6":1,"15":1,"276":2}}],["these",{"2":{"0":1,"275":1}}],["the",{"2":{"0":6,"1":1,"2":4,"3":6,"4":2,"6":20,"9":2,"10":3,"12":3,"13":2,"15":4,"158":1,"229":1,"255":1,"267":1,"268":2,"273":10,"274":1,"275":6,"276":24}}],["tokyo",{"2":{"301":1}}],["token",{"2":{"2":2}}],["together",{"2":{"276":1}}],["top",{"0":{"224":1},"2":{"224":3}}],["tools",{"2":{"274":1}}],["too",{"2":{"6":1}}],["to",{"0":{"3":1,"16":1,"220":1,"264":1,"273":1},"1":{"274":1},"2":{"0":1,"1":6,"2":3,"3":2,"4":1,"6":17,"12":6,"13":1,"14":2,"15":5,"22":1,"23":1,"34":1,"35":1,"67":1,"70":1,"220":1,"224":1,"229":5,"230":2,"255":1,"264":2,"267":3,"268":2,"273":5,"274":1,"276":7,"277":1}}],["toml",{"0":{"126":1},"2":{"0":2,"126":4,"127":2,"129":1}}],["world",{"2":{"279":5}}],["w",{"2":{"220":1}}],["write",{"0":{"220":1},"2":{"220":2,"224":1}}],["wrapper",{"0":{"265":1},"2":{"45":1,"70":2,"109":4,"137":1,"146":2,"153":2,"265":4}}],["watchdog",{"2":{"287":1,"290":1}}],["watch",{"2":{"286":1,"287":1}}],["walk",{"2":{"221":1,"222":1}}],["wait",{"0":{"146":1},"2":{"146":2}}],["waring=no",{"2":{"129":1}}],["waring",{"0":{"128":1,"129":1},"2":{"128":3,"129":3}}],["warning=no",{"2":{"128":1,"129":1}}],["warning",{"0":{"127":1,"230":1},"2":{"15":2,"35":1,"127":5,"128":1,"139":1,"141":1,"162":2,"229":1,"230":8,"283":1,"298":1}}],["way",{"2":{"14":1}}],["want",{"2":{"1":1}}],["weather",{"0":{"301":1},"1":{"302":1},"2":{"301":1,"302":1}}],["welcome",{"2":{"277":1}}],["we",{"2":{"9":1,"276":1,"277":1}}],["websocket",{"2":{"3":2}}],["windows10+",{"2":{"15":1}}],["windows",{"2":{"13":1,"15":2,"22":1}}],["without",{"2":{"15":1}}],["with",{"0":{"13":1,"35":1,"224":1},"2":{"6":2,"13":1,"35":1,"104":1,"105":1,"106":1,"113":1,"220":1,"222":1,"223":5,"224":3,"267":1,"268":1,"273":2}}],["will",{"2":{"0":3,"2":3,"6":1,"15":2,"35":1,"277":1}}],["what",{"2":{"276":1}}],["while",{"2":{"21":1,"68":1,"111":1,"268":2}}],["which",{"2":{"6":2,"14":1}}],["why",{"2":{"6":1}}],["where",{"2":{"276":1}}],["whether",{"2":{"1":3,"2":1}}],["when",{"2":{"0":2,"276":2}}],["ws",{"2":{"3":2}}],["poke",{"2":{"281":4}}],["possible",{"2":{"276":3}}],["port",{"2":{"1":2,"13":2}}],["pep8",{"2":{"276":1}}],["period\`",{"2":{"304":1}}],["period>",{"2":{"303":1}}],["period",{"2":{"303":2}}],["permit",{"2":{"276":1}}],["permission",{"2":{"6":1}}],["persists",{"2":{"6":1}}],["personal",{"2":{"0":1,"273":1}}],["pull",{"2":{"273":1}}],["publish=publish",{"2":{"137":1}}],["publish",{"0":{"73":1,"108":1,"133":1},"2":{"73":1,"103":2,"108":2,"111":2,"133":3}}],["pwd",{"2":{"13":3}}],["p",{"2":{"13":1,"304":1}}],["pipe",{"2":{"66":2}}],["pip",{"2":{"12":1,"15":1,"229":1}}],["py即可启动插件",{"2":{"290":1}}],["pyo",{"2":{"287":1}}],["pycache",{"2":{"287":1}}],["pyc",{"2":{"287":1}}],["pycharm",{"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["py文件",{"2":{"286":1}}],["py文件或一个包含",{"2":{"286":1}}],["py的文件夹即可被识别为插件",{"2":{"286":1}}],["pyfile",{"0":{"225":1},"2":{"224":8,"225":1}}],["pyi",{"2":{"221":1,"222":1}}],["py",{"2":{"6":1,"12":1,"36":1,"131":1,"154":1,"160":1,"163":1,"167":2,"168":1,"173":1,"177":1,"186":1,"187":1,"221":1,"222":1,"224":1,"228":1,"230":3,"232":1,"233":1,"256":1,"258":2,"271":1,"275":1,"286":1,"287":1,"290":2,"292":1}}],["python格式",{"2":{"279":1}}],["pythonfrom",{"2":{"268":1,"271":1,"286":1,"290":1}}],["pythonimport",{"2":{"268":1,"287":1}}],["pythonasync",{"2":{"21":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"69":1,"111":1,"172":1,"183":1}}],["pythondef",{"2":{"19":1,"20":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"44":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"66":1,"67":1,"68":1,"70":1,"76":1,"77":1,"78":1,"79":1,"87":1,"91":1,"92":1,"95":1,"96":1,"97":1,"98":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"146":1,"149":1,"150":1,"151":1,"152":1,"153":1,"155":1,"161":1,"162":1,"165":1,"166":1,"170":1,"171":1,"174":1,"175":1,"176":1,"180":1,"181":1,"182":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"227":1,"229":1,"230":1,"231":1,"249":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":1}}],["python3",{"2":{"12":1,"15":1}}],["python",{"2":{"6":5,"12":2,"15":3,"45":1,"82":1,"83":1,"84":1,"110":1,"113":1,"118":1,"119":1,"120":1,"121":1,"148":1,"184":1,"185":1,"222":1,"257":1,"273":1,"276":1}}],["page为页数",{"2":{"297":2}}],["page",{"2":{"297":2}}],["pacman",{"0":{"297":1},"1":{"298":1}}],["pack",{"2":{"292":2,"297":3}}],["packs",{"2":{"275":1}}],["param",{"2":{"294":1}}],["participate",{"2":{"277":1}}],["participation",{"2":{"273":1}}],["part",{"2":{"275":1,"276":1}}],["parts",{"2":{"264":2}}],["parent",{"2":{"222":4}}],["parse",{"2":{"222":1,"276":1}}],["parser",{"2":{"10":1}}],["parsed",{"2":{"6":1}}],["parsing",{"2":{"1":1}}],["pass",{"2":{"96":1,"97":1,"98":1}}],["passive=channel",{"2":{"137":1}}],["passive=chan",{"2":{"137":1}}],["passive",{"0":{"72":1,"75":1,"81":1,"133":2},"2":{"72":1,"76":1,"78":1,"79":1,"81":2,"82":2,"83":2,"84":1,"103":2,"104":1,"105":1,"106":1,"107":1,"117":1,"118":2,"119":2,"120":2,"121":1,"133":6,"137":5,"268":15}}],["pathlib",{"2":{"229":1}}],["paths=none",{"2":{"224":1}}],["paths",{"0":{"224":1},"2":{"224":4}}],["path=dot",{"2":{"222":1}}],["path",{"0":{"155":2,"214":1,"219":3,"222":1,"225":1,"229":2,"264":3},"2":{"6":2,"13":1,"15":3,"127":1,"128":2,"155":4,"219":8,"220":3,"221":1,"222":6,"224":22,"225":2,"229":16,"230":26,"264":11,"287":5}}],["platform",{"2":{"22":3}}],["platforms",{"2":{"6":1}}],["playwright",{"2":{"6":2}}],["plugintype",{"0":{"231":1,"234":1,"244":2},"1":{"235":1,"236":1,"237":1,"238":1,"239":1},"2":{"231":5,"286":1}}],["pluginmetadata",{"0":{"240":1,"254":1},"1":{"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1},"2":{"229":4,"286":2}}],["plugin的函数签名",{"2":{"155":1}}],["plugin",{"0":{"154":1,"226":1,"227":1,"228":1,"229":2,"230":2,"231":1,"232":1,"233":1,"248":1,"258":1},"1":{"155":1,"227":1,"229":1,"230":1,"231":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"248":1,"249":2,"250":2,"251":2,"252":2,"253":2,"254":2,"259":1},"2":{"1":3,"4":1,"6":3,"8":1,"10":1,"19":2,"154":1,"227":2,"229":14,"230":5,"231":4,"255":1,"259":6,"267":1,"273":2,"275":3,"286":4,"289":1,"290":2,"297":5}}],["plugins下创建一个文件",{"2":{"290":1}}],["plugins中添加你的插件路径",{"2":{"289":1}}],["plugins",{"0":{"155":1,"227":1,"230":1,"255":1,"256":1,"258":1,"259":1},"1":{"257":1,"259":1},"2":{"1":1,"2":2,"6":2,"15":3,"19":1,"155":6,"227":2,"229":3,"230":9,"255":1,"259":4,"275":5,"287":1,"290":2}}],["please",{"0":{"16":1},"2":{"1":2,"2":1,"3":2,"6":4,"9":1,"13":2,"15":1,"273":3,"275":2,"276":2}}],["private",{"0":{"222":1},"2":{"222":5}}],["priority",{"0":{"170":1,"175":1,"176":1},"2":{"170":4,"174":2,"175":2,"176":2}}],["prioritize",{"2":{"9":1}}],["print",{"2":{"19":1,"172":1,"224":1,"229":1}}],["profile",{"2":{"299":4}}],["profit",{"2":{"277":1}}],["property",{"0":{"193":2},"2":{"222":2}}],["provides",{"2":{"10":3,"14":1,"267":1}}],["provided",{"2":{"3":1,"6":1}}],["problematic",{"2":{"6":1}}],["problem",{"2":{"6":1}}],["problems",{"2":{"1":1}}],["processmanager",{"0":{"134":1},"1":{"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1},"2":{"19":2}}],["process",{"0":{"23":1,"30":2,"31":3,"40":1,"41":1,"42":1,"45":1,"48":3,"50":3,"54":1,"56":1,"141":1},"2":{"19":1,"20":1,"22":1,"23":4,"26":1,"30":5,"31":6,"33":2,"42":2,"44":4,"45":2,"48":6,"50":6,"54":2,"56":2,"66":4,"70":3,"76":1,"78":1,"79":1,"104":1,"105":1,"106":1,"107":1,"109":3,"111":2,"135":1,"136":2,"138":2,"139":7,"141":2,"267":2,"268":8,"287":2}}],["processes",{"2":{"6":1,"15":1,"23":1,"135":1,"139":2,"141":1,"267":4}}],["processing",{"2":{"6":1}}],["protocol",{"2":{"3":1,"6":1,"8":6}}],["production",{"2":{"3":1}}],["project",{"0":{"275":1},"2":{"0":1,"6":2,"9":2,"12":1,"13":1,"275":1,"277":2}}],["prefix",{"2":{"1":1}}],["preference",{"2":{"0":1}}],["y",{"2":{"231":1}}],["yellow>",{"2":{"162":1}}],["y>",{"2":{"20":2}}],["y>liteyuki",{"2":{"20":2}}],["yunzai",{"2":{"8":1}}],["yml格式的所有合法内容",{"2":{"295":1}}],["yml文件",{"2":{"292":1}}],["yml中填写一些信息",{"2":{"292":1}}],["yml",{"2":{"0":2,"127":1,"129":1,"274":1,"292":2,"295":1}}],["you",{"2":{"0":4,"1":1,"2":1,"3":1,"4":1,"6":6,"7":2,"12":1,"13":2,"15":2,"267":1,"273":5,"274":1,"276":2}}],["your",{"2":{"0":1,"13":1,"15":1,"229":2,"273":6,"277":1}}],["yamlweather",{"2":{"301":1}}],["yamlname",{"2":{"292":1}}],["yaml",{"0":{"124":1},"2":{"0":2,"1":1,"2":2,"124":4,"127":2,"129":1}}],["a包中的index",{"2":{"292":1}}],["application",{"0":{"235":2},"2":{"231":1,"275":4}}],["append",{"2":{"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"70":2,"109":2,"171":1,"174":1,"221":1,"222":5}}],["api格式为onebot",{"2":{"295":1}}],["api文档",{"2":{"282":1}}],["api也有差别",{"2":{"282":1}}],["api",{"0":{"282":1},"2":{"224":6,"273":1,"280":3,"281":2,"295":3}}],["awaitable",{"2":{"38":1,"41":1}}],["await",{"2":{"21":1,"45":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"69":1,"70":2,"109":1,"111":2,"172":2,"181":2,"182":2,"183":1,"268":1,"280":1,"281":1,"283":1}}],["arbitrary",{"0":{"250":1}}],["arg",{"2":{"222":13,"223":16}}],["argv",{"2":{"22":1}}],["args=coro",{"2":{"263":1}}],["args=",{"2":{"22":1,"136":1,"222":2}}],["args",{"0":{"24":1,"45":1,"54":1,"56":1,"92":1,"137":1,"196":1},"2":{"22":2,"24":2,"45":3,"54":2,"56":2,"92":2,"137":3,"146":2,"222":8,"223":8,"265":2,"295":4}}],["arguments",{"2":{"19":1,"22":1,"23":1,"24":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"34":1,"35":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"66":1,"67":1,"70":1,"76":1,"77":1,"78":1,"95":1,"96":1,"104":1,"105":1,"106":1,"108":1,"109":1,"110":1,"123":1,"137":1,"139":1,"141":1,"153":1,"155":1,"166":1,"170":1,"172":1,"219":1,"220":1,"222":1,"223":1,"224":1,"229":1,"230":1,"231":1,"261":1,"262":1,"263":1,"264":1,"265":1}}],["arch",{"2":{"14":1}}],["are",{"2":{"1":1,"6":2,"13":1,"15":1,"267":1,"273":4,"275":1,"276":2}}],["abs",{"2":{"224":4}}],["absolute",{"2":{"13":1}}],["able",{"2":{"15":1}}],["about",{"2":{"6":1}}],["active和",{"2":{"268":1}}],["active和chan",{"2":{"137":1}}],["active=channel",{"2":{"137":1}}],["active=chan",{"2":{"137":1}}],["active",{"0":{"71":1,"74":1,"80":1,"133":2},"2":{"23":6,"71":1,"80":1,"103":2,"108":1,"111":1,"133":6,"137":4,"268":13}}],["activate",{"2":{"12":4}}],["acknowledgements",{"0":{"10":1}}],["account",{"2":{"7":1,"273":1}}],["according",{"2":{"6":1}}],["accesstoken",{"2":{"3":2}}],["access",{"2":{"2":2}}],["author",{"0":{"245":1},"2":{"6":1,"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["auto",{"2":{"1":2,"2":2}}],["automatically",{"2":{"0":1,"1":2}}],["after",{"0":{"28":1,"29":1,"32":1,"47":1,"49":1,"51":1,"53":1,"55":1,"57":1},"2":{"6":2,"28":2,"29":2,"32":2,"44":3,"47":2,"49":2,"51":2,"53":3,"55":3,"57":3,"268":1,"276":1}}],["avoid",{"2":{"6":1,"12":1}}],["available",{"2":{"1":1}}],["a",{"2":{"3":1,"6":4,"7":1,"8":3,"9":1,"12":2,"14":1,"67":1,"68":1,"123":1,"224":2,"230":1,"264":1,"267":1,"268":1,"273":4,"276":4,"277":1,"286":1}}],["annassign",{"2":{"222":1}}],["annotation",{"2":{"222":6}}],["an",{"2":{"6":1,"7":1,"67":1,"76":1}}],["anyone",{"2":{"277":1}}],["any=none",{"2":{"34":1,"35":1}}],["any",{"0":{"34":2,"35":2,"70":2,"82":1,"83":1,"84":1,"87":1,"92":1,"104":1,"105":2,"107":1,"108":1,"110":1,"118":1,"119":1,"120":1,"121":1,"123":2,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":4,"152":1,"165":2,"166":1,"205":1,"247":1,"261":1,"265":1},"2":{"2":1,"4":1,"19":1,"34":3,"35":3,"37":1,"38":1,"40":1,"41":1,"59":1,"60":3,"63":2,"70":7,"73":1,"74":1,"75":1,"78":1,"79":1,"82":1,"83":1,"84":1,"87":1,"92":1,"103":3,"104":1,"105":4,"107":3,"108":1,"109":1,"110":1,"118":1,"119":1,"120":1,"121":1,"123":2,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":4,"152":1,"165":2,"166":1,"176":1,"222":7,"224":1,"261":1,"265":1}}],["and",{"0":{"182":1},"2":{"0":6,"4":1,"6":7,"9":1,"12":2,"15":2,"67":1,"153":1,"182":2,"222":7,"223":1,"230":3,"267":3,"268":2,"273":4,"274":2,"275":2,"276":9,"277":1,"287":2}}],["adapter",{"2":{"3":1,"4":2}}],["advanced",{"2":{"2":1}}],["addition",{"2":{"276":1}}],["add",{"0":{"137":1,"174":1},"2":{"2":1,"137":1,"162":1,"174":1,"175":1,"230":1,"276":1}}],["address",{"2":{"1":1,"3":2}}],["amp",{"2":{"13":2}}],["am",{"2":{"1":1,"268":6}}],["attributes=",{"2":{"222":2}}],["attributes",{"0":{"211":1,"217":1},"2":{"222":2,"223":2}}],["attributeinfo",{"0":{"202":1,"211":1,"217":1},"1":{"203":1,"204":1,"205":1,"206":1},"2":{"222":2}}],["attr",{"0":{"114":1,"115":1,"189":1,"190":1,"191":1,"192":1,"193":1,"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"203":1,"204":1,"205":1,"206":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"235":1,"236":1,"237":1,"238":1,"239":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"250":1,"251":1,"252":1,"253":1,"254":1},"2":{"222":2,"223":14}}],["at",{"2":{"1":1,"15":2}}],["already",{"2":{"66":2,"76":1,"273":1}}],["alive",{"0":{"21":1,"141":1},"2":{"21":2,"139":1,"141":2}}],["alconna",{"2":{"1":2,"2":2,"10":1}}],["allowed",{"0":{"250":1}}],["allow",{"2":{"2":2}}],["all",{"0":{"107":1,"121":1,"136":1,"138":1,"140":1},"2":{"0":1,"2":1,"20":1,"22":1,"26":1,"36":1,"107":2,"120":1,"121":3,"131":1,"136":1,"138":1,"140":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["assumes",{"2":{"273":1}}],["assign",{"2":{"222":2}}],["ast",{"2":{"222":29}}],["asynchronous",{"2":{"265":1}}],["async=isinstance",{"2":{"222":2}}],["asyncfunctiondef",{"2":{"222":3}}],["async",{"0":{"21":1,"38":1,"41":1,"45":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"60":1,"63":1,"69":2,"110":1,"111":1,"172":1,"183":1,"184":1,"185":1,"201":1,"257":1,"265":1},"2":{"39":1,"42":1,"45":3,"61":1,"64":1,"69":1,"70":1,"100":1,"101":1,"109":1,"110":1,"111":1,"176":1,"181":1,"182":1,"184":1,"185":1,"223":4,"257":1,"265":2,"268":2}}],["asyncio",{"2":{"19":2,"20":1,"21":1,"45":1,"69":1,"110":1,"262":5,"268":2}}],["ask",{"2":{"9":1}}],["asked",{"0":{"6":1}}],["as",{"2":{"0":1,"3":1,"6":2,"106":1,"220":1,"222":1,"229":1,"262":1,"274":1,"276":6}}]],"serializationVersion":2}`;export{e as default}; diff --git a/assets/chunks/@localSearchIndexen.DnsjWnxN.js b/assets/chunks/@localSearchIndexen.DnsjWnxN.js deleted file mode 100644 index fe8dff40..00000000 --- a/assets/chunks/@localSearchIndexen.DnsjWnxN.js +++ /dev/null @@ -1 +0,0 @@ -const e='{"documentCount":305,"nextId":305,"documentIds":{"0":"/en/deploy/config.html#configurations","1":"/en/deploy/config.html#basic-configuration","2":"/en/deploy/config.html#other-configurations","3":"/en/deploy/config.html#example-configuration-of-onebot-implementation-side-connected-to-nonebot","4":"/en/deploy/config.html#other","5":"/en/deploy/fandq.html#faq","6":"/en/deploy/fandq.html#frequently-asked-questions","7":"/en/deploy/fandq.html#other-questions","8":"/en/deploy/fandq.html#recommended-solution-qq","9":"/en/deploy/fandq.html#recommended-solution-minecraft","10":"/en/deploy/fandq.html#acknowledgements","11":"/en/deploy/install.html#install","12":"/en/deploy/install.html#normal-installation","13":"/en/deploy/install.html#run-with-docker","14":"/en/deploy/install.html#use-trss-script","15":"/en/deploy/install.html#device-requirements","16":"/en/deploy/install.html#for-other-questions-please-refer-to-faq","17":"/en/dev/api/bot/#module-liteyuki-bot","18":"/en/dev/api/bot/#class-liteyukibot","19":"/en/dev/api/bot/#func-init-self-kwargs-none","20":"/en/dev/api/bot/#func-run-self","21":"/en/dev/api/bot/#async-func-keep-alive-self","22":"/en/dev/api/bot/#func-restart-self-delay-int-0","23":"/en/dev/api/bot/#func-restart-process-self-name-optional-str-none","24":"/en/dev/api/bot/#func-init-self-args-kwargs","25":"/en/dev/api/bot/#func-init-logger-self","26":"/en/dev/api/bot/#func-stop-self","27":"/en/dev/api/bot/#func-on-before-start-self-func-lifespan-func-lifespan-func","28":"/en/dev/api/bot/#func-on-after-start-self-func-lifespan-func","29":"/en/dev/api/bot/#func-on-after-shutdown-self-func-lifespan-func","30":"/en/dev/api/bot/#func-on-before-process-shutdown-self-func-process-lifespan-func","31":"/en/dev/api/bot/#func-on-before-process-restart-self-func-process-lifespan-func-process-lifespan-func","32":"/en/dev/api/bot/#func-on-after-restart-self-func-lifespan-func","33":"/en/dev/api/bot/#func-get-bot-liteyukibot","34":"/en/dev/api/bot/#func-get-config-key-str-default-any-none-any","35":"/en/dev/api/bot/#func-get-config-with-compat-key-str-compat-keys-tuple-str-default-any-none-any","36":"/en/dev/api/bot/lifespan.html#module-liteyuki-bot-lifespan","37":"/en/dev/api/bot/lifespan.html#var-sync-lifespan-func","38":"/en/dev/api/bot/lifespan.html#var-async-lifespan-func","39":"/en/dev/api/bot/lifespan.html#var-lifespan-func","40":"/en/dev/api/bot/lifespan.html#var-sync-process-lifespan-func","41":"/en/dev/api/bot/lifespan.html#var-async-process-lifespan-func","42":"/en/dev/api/bot/lifespan.html#var-process-lifespan-func","43":"/en/dev/api/bot/lifespan.html#class-lifespan","44":"/en/dev/api/bot/lifespan.html#func-init-self-none","45":"/en/dev/api/bot/lifespan.html#async-func-run-funcs-funcs-sequence-lifespan-func-process-lifespan-func-args-kwargs-none","46":"/en/dev/api/bot/lifespan.html#func-on-before-start-self-func-lifespan-func-lifespan-func","47":"/en/dev/api/bot/lifespan.html#func-on-after-start-self-func-lifespan-func-lifespan-func","48":"/en/dev/api/bot/lifespan.html#func-on-before-process-shutdown-self-func-process-lifespan-func-process-lifespan-func","49":"/en/dev/api/bot/lifespan.html#func-on-after-shutdown-self-func-lifespan-func-lifespan-func","50":"/en/dev/api/bot/lifespan.html#func-on-before-process-restart-self-func-process-lifespan-func-process-lifespan-func","51":"/en/dev/api/bot/lifespan.html#func-on-after-restart-self-func-lifespan-func-lifespan-func","52":"/en/dev/api/bot/lifespan.html#async-func-before-start-self-none","53":"/en/dev/api/bot/lifespan.html#async-func-after-start-self-none","54":"/en/dev/api/bot/lifespan.html#async-func-before-process-shutdown-self-args-kwargs-none","55":"/en/dev/api/bot/lifespan.html#async-func-after-shutdown-self-none","56":"/en/dev/api/bot/lifespan.html#async-func-before-process-restart-self-args-kwargs-none","57":"/en/dev/api/bot/lifespan.html#async-func-after-restart-self-none","58":"/en/dev/api/comm/channel.html#module-liteyuki-comm-channel","59":"/en/dev/api/comm/channel.html#var-sync-on-receive-func","60":"/en/dev/api/comm/channel.html#var-async-on-receive-func","61":"/en/dev/api/comm/channel.html#var-on-receive-func","62":"/en/dev/api/comm/channel.html#var-sync-filter-func","63":"/en/dev/api/comm/channel.html#var-async-filter-func","64":"/en/dev/api/comm/channel.html#var-filter-func","65":"/en/dev/api/comm/channel.html#class-channel-generic-t","66":"/en/dev/api/comm/channel.html#func-init-self-name-str-type-check-optional-bool-none","67":"/en/dev/api/comm/channel.html#func-send-self-data-t","68":"/en/dev/api/comm/channel.html#func-receive-self-t","69":"/en/dev/api/comm/channel.html#async-func-async-receive-self-t","70":"/en/dev/api/comm/channel.html#func-on-receive-self-filter-func-optional-filter-func-none-callable-callable-t-any-callable-t-any","71":"/en/dev/api/comm/channel.html#var-active-channel","72":"/en/dev/api/comm/channel.html#var-passive-channel","73":"/en/dev/api/comm/channel.html#var-publish-channel","74":"/en/dev/api/comm/channel.html#var-channel-deliver-active-channel","75":"/en/dev/api/comm/channel.html#var-channel-deliver-passive-channel","76":"/en/dev/api/comm/channel.html#func-set-channel-name-str-channel-channel","77":"/en/dev/api/comm/channel.html#func-set-channels-channels-dict-str-channel","78":"/en/dev/api/comm/channel.html#func-get-channel-name-str-channel","79":"/en/dev/api/comm/channel.html#func-get-channels-dict-str-channel","80":"/en/dev/api/comm/channel.html#var-channel-deliver-active-channel-1","81":"/en/dev/api/comm/channel.html#var-channel-deliver-passive-channel-1","82":"/en/dev/api/comm/channel.html#func-on-set-channel-data-tuple-str-dict-str-any","83":"/en/dev/api/comm/channel.html#func-on-get-channel-data-tuple-str-dict-str-any","84":"/en/dev/api/comm/channel.html#func-on-get-channels-data-tuple-str-dict-str-any","85":"/en/dev/api/comm/event.html#module-liteyuki-comm-event","86":"/en/dev/api/comm/event.html#class-event","87":"/en/dev/api/comm/event.html#func-init-self-name-str-data-dict-str-any","88":"/en/dev/api/comm/#module-liteyuki-comm","89":"/en/dev/api/comm/rpc.html#module-liteyuki-comm-rpc","90":"/en/dev/api/comm/rpc.html#class-rpc","91":"/en/dev/api/comm/rpc.html#func-init-self-on-calling-on-calling-func-none","92":"/en/dev/api/comm/rpc.html#func-call-self-args-tuple-kwargs-dict-any","93":"/en/dev/api/comm/socks_channel.html#module-liteyuki-comm-socks-channel","94":"/en/dev/api/comm/socks_channel.html#class-sockschannel","95":"/en/dev/api/comm/socks_channel.html#func-init-self-name-str","96":"/en/dev/api/comm/socks_channel.html#func-send-self-data","97":"/en/dev/api/comm/socks_channel.html#func-receive-self","98":"/en/dev/api/comm/socks_channel.html#func-close-self","99":"/en/dev/api/comm/storage.html#module-liteyuki-comm-storage","100":"/en/dev/api/comm/storage.html#var-on-main-subscriber-receive-funcs","101":"/en/dev/api/comm/storage.html#var-on-sub-subscriber-receive-funcs","102":"/en/dev/api/comm/storage.html#class-keyvaluestore","103":"/en/dev/api/comm/storage.html#func-init-self","104":"/en/dev/api/comm/storage.html#func-set-self-key-str-value-any-none","105":"/en/dev/api/comm/storage.html#func-get-self-key-str-default-optional-any-none-optional-any","106":"/en/dev/api/comm/storage.html#func-delete-self-key-str-ignore-key-error-bool-true-none","107":"/en/dev/api/comm/storage.html#func-get-all-self-dict-str-any","108":"/en/dev/api/comm/storage.html#func-publish-self-channel-str-data-any-none","109":"/en/dev/api/comm/storage.html#func-on-subscriber-receive-self-channel-str-callable-on-receive-func-on-receive-func","110":"/en/dev/api/comm/storage.html#async-func-run-subscriber-receive-funcs-channel-str-data-any","111":"/en/dev/api/comm/storage.html#async-func-start-receive-loop-self","112":"/en/dev/api/comm/storage.html#class-globalkeyvaluestore","113":"/en/dev/api/comm/storage.html#func-get-instance-cls","114":"/en/dev/api/comm/storage.html#attr-instance-none","115":"/en/dev/api/comm/storage.html#attr-lock-threading-lock","116":"/en/dev/api/comm/storage.html#var-shared-memory","117":"/en/dev/api/comm/storage.html#var-ref-count","118":"/en/dev/api/comm/storage.html#func-on-get-data-tuple-str-dict-str-any","119":"/en/dev/api/comm/storage.html#func-on-set-data-tuple-str-dict-str-any","120":"/en/dev/api/comm/storage.html#func-on-delete-data-tuple-str-dict-str-any","121":"/en/dev/api/comm/storage.html#func-on-get-all-data-tuple-str-dict-str-any","122":"/en/dev/api/config.html#module-liteyuki-config","123":"/en/dev/api/config.html#func-flat-config-config-dict-str-any-dict-str-any","124":"/en/dev/api/config.html#func-load-from-yaml-file-str-dict-str-any","125":"/en/dev/api/config.html#func-load-from-json-file-str-dict-str-any","126":"/en/dev/api/config.html#func-load-from-toml-file-str-dict-str-any","127":"/en/dev/api/config.html#func-load-from-files-files-str-no-warning-bool-false-dict-str-any","128":"/en/dev/api/config.html#func-load-configs-from-dirs-directories-str-no-waring-bool-false-dict-str-any","129":"/en/dev/api/config.html#func-load-config-in-default-no-waring-bool-false-dict-str-any","130":"/en/dev/api/core/#module-liteyuki-core","131":"/en/dev/api/core/manager.html#module-liteyuki-core-manager","132":"/en/dev/api/core/manager.html#class-channeldeliver","133":"/en/dev/api/core/manager.html#func-init-self-active-channel-any-passive-channel-any-channel-deliver-active-channel-channel-any-channel-deliver-passive-channel-tuple-str-dict-publish-channel-tuple-str-any","134":"/en/dev/api/core/manager.html#class-processmanager","135":"/en/dev/api/core/manager.html#func-init-self-lifespan-lifespan","136":"/en/dev/api/core/manager.html#func-start-all-self","137":"/en/dev/api/core/manager.html#func-add-target-self-name-str-target-target-func-args-tuple-kwargs-none","138":"/en/dev/api/core/manager.html#func-join-all-self","139":"/en/dev/api/core/manager.html#func-terminate-self-name-str","140":"/en/dev/api/core/manager.html#func-terminate-all-self","141":"/en/dev/api/core/manager.html#func-is-process-alive-self-name-str-bool","142":"/en/dev/api/dev/#module-liteyuki-dev","143":"/en/dev/api/dev/observer.html#module-liteyuki-dev-observer","144":"/en/dev/api/dev/observer.html#var-callback-func","145":"/en/dev/api/dev/observer.html#var-filter-func","146":"/en/dev/api/dev/observer.html#func-debounce-wait","147":"/en/dev/api/dev/observer.html#class-codemodifiedhandler-filesystemeventhandler","148":"/en/dev/api/dev/observer.html#func-on-modified-self-event","149":"/en/dev/api/dev/observer.html#func-on-created-self-event","150":"/en/dev/api/dev/observer.html#func-on-deleted-self-event","151":"/en/dev/api/dev/observer.html#func-on-moved-self-event","152":"/en/dev/api/dev/observer.html#func-on-any-event-self-event","153":"/en/dev/api/dev/observer.html#func-on-file-system-event-directories-tuple-str-recursive-bool-true-event-filter-filter-func-none-callable-callback-func-callback-func","154":"/en/dev/api/dev/plugin.html#module-liteyuki-dev-plugin","155":"/en/dev/api/dev/plugin.html#func-run-plugins-module-path-str-path","156":"/en/dev/api/exception.html#module-liteyuki-exception","157":"/en/dev/api/exception.html#class-liteyukiexception-baseexception","158":"/en/dev/api/#module-liteyuki","159":"/en/dev/api/#var-version","160":"/en/dev/api/log.html#module-liteyuki-log","161":"/en/dev/api/log.html#func-get-format-level-str-str","162":"/en/dev/api/log.html#func-init-log-config-dict","163":"/en/dev/api/message/event.html#module-liteyuki-message-event","164":"/en/dev/api/message/event.html#class-messageevent","165":"/en/dev/api/message/event.html#func-init-self-bot-id-str-message-list-dict-str-any-str-message-type-str-raw-message-str-session-id-str-user-id-str-session-type-str-receive-channel-optional-channel-messageevent-none-data-optional-dict-str-any-none","166":"/en/dev/api/message/event.html#func-reply-self-message-str-dict-str-any","167":"/en/dev/api/message/#module-liteyuki-message","168":"/en/dev/api/message/matcher.html#module-liteyuki-message-matcher","169":"/en/dev/api/message/matcher.html#class-matcher","170":"/en/dev/api/message/matcher.html#func-init-self-rule-rule-priority-int-block-bool","171":"/en/dev/api/message/matcher.html#func-handle-self-callable-eventhandler-eventhandler","172":"/en/dev/api/message/matcher.html#async-func-run-self-event-messageevent-none","173":"/en/dev/api/message/on.html#module-liteyuki-message-on","174":"/en/dev/api/message/on.html#func-add-matcher-matcher-matcher","175":"/en/dev/api/message/on.html#func-on-message-rule-rule-empty-rule-priority-int-0-block-bool-false-matcher","176":"/en/dev/api/message/on.html#func-on-keywords-keywords-list-str-rule-empty-rule-priority-int-0-block-bool-false-matcher","177":"/en/dev/api/message/rule.html#module-liteyuki-message-rule","178":"/en/dev/api/message/rule.html#var-rulehandlerfunc","179":"/en/dev/api/message/rule.html#class-rule","180":"/en/dev/api/message/rule.html#func-init-self-handler-rulehandlerfunc","181":"/en/dev/api/message/rule.html#func-or-self-other-rule-rule","182":"/en/dev/api/message/rule.html#func-and-self-other-rule-rule","183":"/en/dev/api/message/rule.html#async-func-call-self-event-messageevent-bool","184":"/en/dev/api/message/rule.html#async-func-empty-rule-event-messageevent-bool","185":"/en/dev/api/message/rule.html#async-func-is-su-rule-event-messageevent-bool","186":"/en/dev/api/message/session.html#module-liteyuki-message-session","187":"/en/dev/api/mkdoc.html#module-liteyuki-mkdoc","188":"/en/dev/api/mkdoc.html#class-deftype-enum","189":"/en/dev/api/mkdoc.html#attr-function-function","190":"/en/dev/api/mkdoc.html#attr-method-method","191":"/en/dev/api/mkdoc.html#attr-static-method-staticmethod","192":"/en/dev/api/mkdoc.html#attr-class-method-classmethod","193":"/en/dev/api/mkdoc.html#attr-property-property","194":"/en/dev/api/mkdoc.html#class-functioninfo-basemodel","195":"/en/dev/api/mkdoc.html#attr-name-str-no-default","196":"/en/dev/api/mkdoc.html#attr-args-list-tuple-str-str-no-default","197":"/en/dev/api/mkdoc.html#attr-return-type-str-no-default","198":"/en/dev/api/mkdoc.html#attr-docstring-str-no-default","199":"/en/dev/api/mkdoc.html#attr-source-code-str","200":"/en/dev/api/mkdoc.html#attr-type-deftype-no-default","201":"/en/dev/api/mkdoc.html#attr-is-async-bool-no-default","202":"/en/dev/api/mkdoc.html#class-attributeinfo-basemodel","203":"/en/dev/api/mkdoc.html#attr-name-str-no-default-1","204":"/en/dev/api/mkdoc.html#attr-type-str-no-default","205":"/en/dev/api/mkdoc.html#attr-value-any-none","206":"/en/dev/api/mkdoc.html#attr-docstring-str","207":"/en/dev/api/mkdoc.html#class-classinfo-basemodel","208":"/en/dev/api/mkdoc.html#attr-name-str-no-default-2","209":"/en/dev/api/mkdoc.html#attr-docstring-str-no-default-1","210":"/en/dev/api/mkdoc.html#attr-methods-list-functioninfo-no-default","211":"/en/dev/api/mkdoc.html#attr-attributes-list-attributeinfo-no-default","212":"/en/dev/api/mkdoc.html#attr-inherit-list-str-no-default","213":"/en/dev/api/mkdoc.html#class-moduleinfo-basemodel","214":"/en/dev/api/mkdoc.html#attr-module-path-str-no-default","215":"/en/dev/api/mkdoc.html#attr-functions-list-functioninfo-no-default","216":"/en/dev/api/mkdoc.html#attr-classes-list-classinfo-no-default","217":"/en/dev/api/mkdoc.html#attr-attributes-list-attributeinfo-no-default-1","218":"/en/dev/api/mkdoc.html#attr-docstring-str-no-default-2","219":"/en/dev/api/mkdoc.html#func-get-relative-path-base-path-str-target-path-str-str","220":"/en/dev/api/mkdoc.html#func-write-to-files-file-data-dict-str-str","221":"/en/dev/api/mkdoc.html#func-get-file-list-module-folder-str","222":"/en/dev/api/mkdoc.html#func-get-module-info-normal-file-path-str-ignore-private-bool-true-moduleinfo","223":"/en/dev/api/mkdoc.html#func-generate-markdown-module-info-moduleinfo-front-matter-none-lang-str-zh-cn-str","224":"/en/dev/api/mkdoc.html#func-generate-docs-module-folder-str-output-dir-str-with-top-bool-false-lang-str-zh-cn-ignored-paths-none","225":"/en/dev/api/mkdoc.html#var-no-module-name-pyfile-path","226":"/en/dev/api/plugin/#module-liteyuki-plugin","227":"/en/dev/api/plugin/#func-get-loaded-plugins-dict-str-plugin","228":"/en/dev/api/plugin/load.html#module-liteyuki-plugin-load","229":"/en/dev/api/plugin/load.html#func-load-plugin-module-path-str-path-optional-plugin","230":"/en/dev/api/plugin/load.html#func-load-plugins-plugin-dir-str-ignore-warning-bool-true-set-plugin","231":"/en/dev/api/plugin/load.html#func-format-display-name-display-name-str-plugin-type-plugintype-str","232":"/en/dev/api/plugin/manager.html#module-liteyuki-plugin-manager","233":"/en/dev/api/plugin/model.html#module-liteyuki-plugin-model","234":"/en/dev/api/plugin/model.html#class-plugintype-enum","235":"/en/dev/api/plugin/model.html#attr-application-application","236":"/en/dev/api/plugin/model.html#attr-service-service","237":"/en/dev/api/plugin/model.html#attr-module-module","238":"/en/dev/api/plugin/model.html#attr-unclassified-unclassified","239":"/en/dev/api/plugin/model.html#attr-test-test","240":"/en/dev/api/plugin/model.html#class-pluginmetadata-basemodel","241":"/en/dev/api/plugin/model.html#attr-name-str-no-default","242":"/en/dev/api/plugin/model.html#attr-description-str","243":"/en/dev/api/plugin/model.html#attr-usage-str","244":"/en/dev/api/plugin/model.html#attr-type-plugintype-plugintype-unclassified","245":"/en/dev/api/plugin/model.html#attr-author-str","246":"/en/dev/api/plugin/model.html#attr-homepage-str","247":"/en/dev/api/plugin/model.html#attr-extra-dict-str-any","248":"/en/dev/api/plugin/model.html#class-plugin-basemodel","249":"/en/dev/api/plugin/model.html#func-hash-self","250":"/en/dev/api/plugin/model.html#attr-model-config-arbitrary-types-allowed-true","251":"/en/dev/api/plugin/model.html#attr-name-str-no-default-1","252":"/en/dev/api/plugin/model.html#attr-module-moduletype-no-default","253":"/en/dev/api/plugin/model.html#attr-module-name-str-no-default","254":"/en/dev/api/plugin/model.html#attr-metadata-optional-pluginmetadata-none","255":"/en/dev/api/plugins/#module-liteyuki-plugins","256":"/en/dev/api/plugins/liteecho.html#module-liteyuki-plugins-liteecho","257":"/en/dev/api/plugins/liteecho.html#async-func-liteecho-event-messageevent","258":"/en/dev/api/plugins/plugin_loader/#module-liteyuki-plugins-plugin-loader","259":"/en/dev/api/plugins/plugin_loader/#func-default-plugins-loader","260":"/en/dev/api/utils.html#module-liteyuki-utils","261":"/en/dev/api/utils.html#func-is-coroutine-callable-call-callable-any-bool","262":"/en/dev/api/utils.html#func-run-coroutine-coro-coroutine","263":"/en/dev/api/utils.html#func-run-coroutine-in-thread-coro-coroutine","264":"/en/dev/api/utils.html#func-path-to-module-name-path-path-str","265":"/en/dev/api/utils.html#func-async-wrapper-func-callable-any-callable-coroutine","266":"/en/dev/comm.html#channel-communication","267":"/en/dev/comm.html#introduction","268":"/en/dev/comm.html#example","269":"/en/dev/comm.html#共享内存通信","270":"/en/dev/comm.html#简介","271":"/en/dev/comm.html#示例","272":"/en/dev/guide.html#development-guide","273":"/en/dev/guide.html#how-to-develop","274":"/en/dev/guide.html#suggestions","275":"/en/dev/guide.html#project-structure","276":"/en/dev/guide.html#standardization","277":"/en/dev/guide.html#finally","278":"/en/dev/lyfunc.html#轻雪函数","279":"/en/dev/lyfunc.html#函数文件","280":"/en/dev/lyfunc.html#命令文档","281":"/en/dev/lyfunc.html#示例","282":"/en/dev/lyfunc.html#api","283":"/en/dev/lyfunc.html#结束关键字","284":"/en/dev/plugin.html#简介","285":"/en/dev/plugin.html#开始","286":"/en/dev/plugin.html#创建插件","287":"/en/dev/plugin.html#编写逻辑部分","288":"/en/dev/plugin.html#加载插件","289":"/en/dev/plugin.html#方法1","290":"/en/dev/plugin.html#方法2","291":"/en/dev/resource.html#简介","292":"/en/dev/resource.html#加载资源包","293":"/en/usage/agreement.html#用户协议","294":"/en/usage/basic.html#基础插件","295":"/en/usage/basic.html#轻雪命令liteyuki-command","296":"/en/usage/basic.html#命令别名","297":"/en/usage/basic.html#插件-包管理器-liteyuki-pacman","298":"/en/usage/basic.html#命令别名-1","299":"/en/usage/basic.html#用户管理liteyuki-user","300":"/en/usage/extra.html#功能插件命令","301":"/en/usage/extra.html#轻雪天气liteyuki-weather","302":"/en/usage/extra.html#命令别名","303":"/en/usage/extra.html#统计信息liteyuki-statistics","304":"/en/usage/extra.html#命令别名-1"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[1,1,50],"1":[2,1,82],"2":[2,1,67],"3":[9,1,71],"4":[1,1,21],"5":[1,1,1],"6":[3,1,172],"7":[2,1,18],"8":[4,1,31],"9":[4,1,25],"10":[1,1,14],"11":[1,1,1],"12":[2,1,59],"13":[3,1,57],"14":[3,1,18],"15":[2,1,83],"16":[6,3,1],"17":[3,1,1],"18":[2,3,1],"19":[6,5,61],"20":[4,5,31],"21":[6,5,33],"22":[8,5,73],"23":[10,5,52],"24":[6,5,20],"25":[5,5,16],"26":[4,5,18],"27":[8,5,27],"28":[8,5,26],"29":[8,5,27],"30":[10,5,29],"31":[10,5,30],"32":[8,5,27],"33":[5,3,41],"34":[10,3,44],"35":[14,3,64],"36":[4,1,24],"37":[4,4,8],"38":[4,4,9],"39":[3,4,11],"40":[5,4,9],"41":[5,4,10],"42":[4,4,12],"43":[2,4,1],"44":[5,6,34],"45":[13,6,58],"46":[8,6,29],"47":[8,6,29],"48":[10,6,31],"49":[8,6,29],"50":[10,6,31],"51":[8,6,29],"52":[7,6,23],"53":[7,6,23],"54":[10,6,26],"55":[7,6,24],"56":[10,6,26],"57":[7,6,24],"58":[4,1,3],"59":[5,4,9],"60":[5,4,10],"61":[4,4,12],"62":[4,4,9],"63":[4,4,11],"64":[3,4,11],"65":[5,4,1],"66":[12,9,75],"67":[6,9,48],"68":[5,9,33],"69":[6,9,32],"70":[15,9,81],"71":[3,4,9],"72":[3,4,9],"73":[3,4,15],"74":[4,4,11],"75":[4,4,12],"76":[7,4,58],"77":[7,4,38],"78":[7,4,50],"79":[8,4,49],"80":[4,4,9],"81":[4,4,17],"82":[10,4,27],"83":[10,4,30],"84":[10,4,29],"85":[4,1,2],"86":[2,4,1],"87":[9,6,16],"88":[3,1,8],"89":[4,1,4],"90":[2,4,1],"91":[10,6,17],"92":[9,6,20],"93":[5,1,2],"94":[2,5,1],"95":[6,7,24],"96":[5,7,17],"97":[4,7,17],"98":[4,7,13],"99":[4,1,4],"100":[6,4,12],"101":[6,4,12],"102":[2,4,1],"103":[4,6,33],"104":[9,6,35],"105":[12,6,42],"106":[12,6,47],"107":[9,6,34],"108":[9,6,26],"109":[13,6,56],"110":[11,6,32],"111":[7,6,45],"112":[2,4,2],"113":[5,6,21],"114":[4,6,1],"115":[6,6,1],"116":[3,4,9],"117":[3,4,17],"118":[9,4,31],"119":[9,4,29],"120":[9,4,29],"121":[10,4,29],"122":[3,1,14],"123":[8,3,43],"124":[10,3,38],"125":[10,3,37],"126":[10,3,37],"127":[14,3,46],"128":[16,3,52],"129":[15,3,37],"130":[3,1,1],"131":[4,1,24],"132":[2,4,1],"133":[14,6,21],"134":[2,4,1],"135":[6,6,20],"136":[5,6,31],"137":[14,6,52],"138":[5,6,16],"139":[6,6,36],"140":[5,6,15],"141":[9,6,32],"142":[3,1,2],"143":[4,1,5],"144":[3,4,9],"145":[3,4,9],"146":[4,4,28],"147":[4,4,3],"148":[6,8,19],"149":[6,8,12],"150":[6,8,12],"151":[6,8,12],"152":[6,8,12],"153":[20,4,56],"154":[4,1,24],"155":[9,4,36],"156":[3,1,2],"157":[4,3,1],"158":[2,1,10],"159":[3,2,7],"160":[3,1,24],"161":[6,3,20],"162":[6,3,50],"163":[4,1,24],"164":[2,4,1],"165":[24,6,52],"166":[9,6,39],"167":[3,1,24],"168":[4,1,24],"169":[2,4,1],"170":[10,6,30],"171":[7,6,24],"172":[8,6,35],"173":[4,1,24],"174":[5,4,24],"175":[15,4,21],"176":[16,4,32],"177":[4,1,24],"178":[2,4,11],"179":[2,4,1],"180":[6,6,13],"181":[6,6,21],"182":[6,6,22],"183":[8,6,23],"184":[8,4,19],"185":[9,4,24],"186":[4,1,24],"187":[3,1,24],"188":[4,3,1],"189":[5,7,1],"190":[5,7,1],"191":[6,7,1],"192":[6,7,1],"193":[5,7,1],"194":[4,3,1],"195":[6,7,1],"196":[8,7,1],"197":[7,7,1],"198":[6,7,1],"199":[6,7,1],"200":[6,7,1],"201":[7,7,1],"202":[4,3,1],"203":[6,7,1],"204":[6,7,1],"205":[5,7,1],"206":[5,7,1],"207":[4,3,1],"208":[6,7,1],"209":[6,7,1],"210":[7,7,1],"211":[7,7,1],"212":[7,7,1],"213":[4,3,1],"214":[7,7,1],"215":[7,7,1],"216":[7,7,1],"217":[7,7,1],"218":[6,7,1],"219":[8,3,24],"220":[9,3,40],"221":[8,3,30],"222":[15,3,147],"223":[15,3,99],"224":[20,3,98],"225":[6,3,10],"226":[3,1,1],"227":[9,3,21],"228":[4,1,24],"229":[12,4,84],"230":[15,4,62],"231":[9,4,44],"232":[4,1,24],"233":[4,1,24],"234":[4,4,1],"235":[5,8,1],"236":[5,8,1],"237":[5,8,1],"238":[5,8,1],"239":[5,8,1],"240":[4,4,1],"241":[6,8,1],"242":[5,8,1],"243":[5,8,1],"244":[5,8,1],"245":[5,8,1],"246":[5,8,1],"247":[7,8,1],"248":[4,4,1],"249":[4,8,13],"250":[9,8,1],"251":[6,8,1],"252":[6,8,1],"253":[7,8,1],"254":[6,8,1],"255":[3,1,15],"256":[4,1,30],"257":[6,4,23],"258":[5,1,24],"259":[5,5,24],"260":[3,1,5],"261":[9,3,35],"262":[6,3,47],"263":[8,3,25],"264":[8,3,43],"265":[8,3,30],"266":[2,1,1],"267":[1,2,46],"268":[1,2,105],"269":[1,2,1],"270":[1,3,9],"271":[1,3,18],"272":[2,1,1],"273":[3,2,67],"274":[1,5,34],"275":[2,2,60],"276":[1,2,141],"277":[1,2,23],"278":[1,1,9],"279":[1,1,25],"280":[1,1,33],"281":[1,2,26],"282":[1,1,7],"283":[1,1,18],"284":[1,1,4],"285":[1,1,1],"286":[1,2,42],"287":[1,2,58],"288":[1,2,1],"289":[1,3,6],"290":[1,3,25],"291":[1,1,31],"292":[1,1,56],"293":[1,1,28],"294":[1,1,16],"295":[2,1,86],"296":[1,3,30],"297":[4,1,53],"298":[1,5,38],"299":[2,1,20],"300":[1,1,1],"301":[2,1,30],"302":[1,3,8],"303":[2,1,35],"304":[1,3,17]},"averageFieldLength":[5.642622950819669,4.170491803278688,23.13442622950819],"storedFields":{"0":{"title":"Configurations","titles":[]},"1":{"title":"Basic Configuration","titles":["Configurations"]},"2":{"title":"Other configurations","titles":["Configurations"]},"3":{"title":"Example: Configuration of OneBot implementation side connected to NoneBot","titles":["Configurations"]},"4":{"title":"Other","titles":["Configurations"]},"5":{"title":"FAQ","titles":[]},"6":{"title":"Frequently Asked Questions","titles":["FAQ"]},"7":{"title":"Other questions","titles":["FAQ"]},"8":{"title":"Recommended Solution(QQ)","titles":["FAQ"]},"9":{"title":"Recommended Solution(Minecraft)","titles":["FAQ"]},"10":{"title":"Acknowledgements","titles":["FAQ"]},"11":{"title":"Install","titles":[]},"12":{"title":"Normal Installation","titles":["Install"]},"13":{"title":"Run with Docker","titles":["Install"]},"14":{"title":"Use TRSS Script","titles":["Install"]},"15":{"title":"Device Requirements","titles":["Install"]},"16":{"title":"For other questions, please refer to","titles":["Install","Device Requirements"]},"17":{"title":"Module liteyuki.bot","titles":[]},"18":{"title":"class LiteyukiBot","titles":["Module liteyuki.bot"]},"19":{"title":"func __init__(self, **kwargs) -> None","titles":["Module liteyuki.bot","class LiteyukiBot"]},"20":{"title":"func run(self)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"21":{"title":"async func keep_alive(self)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"22":{"title":"func restart(self, delay: int = 0)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"23":{"title":"func restart_process(self, name: Optional[str] = None)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"24":{"title":"func init(self, *args, **kwargs)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"25":{"title":"func init_logger(self)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"26":{"title":"func stop(self)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"27":{"title":"func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["Module liteyuki.bot","class LiteyukiBot"]},"28":{"title":"func on_after_start(self, func: LIFESPAN_FUNC)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"29":{"title":"func on_after_shutdown(self, func: LIFESPAN_FUNC)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"30":{"title":"func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"31":{"title":"func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC","titles":["Module liteyuki.bot","class LiteyukiBot"]},"32":{"title":"func on_after_restart(self, func: LIFESPAN_FUNC)","titles":["Module liteyuki.bot","class LiteyukiBot"]},"33":{"title":"func get_bot() -> LiteyukiBot","titles":["Module liteyuki.bot"]},"34":{"title":"func get_config(key: str, default: Any = None) -> Any","titles":["Module liteyuki.bot"]},"35":{"title":"func get_config_with_compat(key: str, compat_keys: tuple[str], default: Any = None) -> Any","titles":["Module liteyuki.bot"]},"36":{"title":"Module liteyuki.bot.lifespan","titles":[]},"37":{"title":"var SYNC_LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan"]},"38":{"title":"var ASYNC_LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan"]},"39":{"title":"var LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan"]},"40":{"title":"var SYNC_PROCESS_LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan"]},"41":{"title":"var ASYNC_PROCESS_LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan"]},"42":{"title":"var PROCESS_LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan"]},"43":{"title":"class Lifespan","titles":["Module liteyuki.bot.lifespan"]},"44":{"title":"func __init__(self) -> None","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"45":{"title":"async func run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"46":{"title":"func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"47":{"title":"func on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"48":{"title":"func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"49":{"title":"func on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"50":{"title":"func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"51":{"title":"func on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"52":{"title":"async func before_start(self) -> None","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"53":{"title":"async func after_start(self) -> None","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"54":{"title":"async func before_process_shutdown(self, *args, **kwargs) -> None","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"55":{"title":"async func after_shutdown(self) -> None","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"56":{"title":"async func before_process_restart(self, *args, **kwargs) -> None","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"57":{"title":"async func after_restart(self) -> None","titles":["Module liteyuki.bot.lifespan","class Lifespan"]},"58":{"title":"Module liteyuki.comm.channel","titles":[]},"59":{"title":"var SYNC_ON_RECEIVE_FUNC","titles":["Module liteyuki.comm.channel"]},"60":{"title":"var ASYNC_ON_RECEIVE_FUNC","titles":["Module liteyuki.comm.channel"]},"61":{"title":"var ON_RECEIVE_FUNC","titles":["Module liteyuki.comm.channel"]},"62":{"title":"var SYNC_FILTER_FUNC","titles":["Module liteyuki.comm.channel"]},"63":{"title":"var ASYNC_FILTER_FUNC","titles":["Module liteyuki.comm.channel"]},"64":{"title":"var FILTER_FUNC","titles":["Module liteyuki.comm.channel"]},"65":{"title":"class Channel(Generic[T])","titles":["Module liteyuki.comm.channel"]},"66":{"title":"func __init__(self, name: str, type_check: Optional[bool] = None)","titles":["Module liteyuki.comm.channel","class Channel(Generic[T])"]},"67":{"title":"func send(self, data: T)","titles":["Module liteyuki.comm.channel","class Channel(Generic[T])"]},"68":{"title":"func receive(self) -> T","titles":["Module liteyuki.comm.channel","class Channel(Generic[T])"]},"69":{"title":"async func async_receive(self) -> T","titles":["Module liteyuki.comm.channel","class Channel(Generic[T])"]},"70":{"title":"func on_receive(self, filter_func: Optional[FILTER_FUNC] = None) -> Callable[[Callable[[T], Any]], Callable[[T], Any]]","titles":["Module liteyuki.comm.channel","class Channel(Generic[T])"]},"71":{"title":"var active_channel","titles":["Module liteyuki.comm.channel"]},"72":{"title":"var passive_channel","titles":["Module liteyuki.comm.channel"]},"73":{"title":"var publish_channel","titles":["Module liteyuki.comm.channel"]},"74":{"title":"var channel_deliver_active_channel","titles":["Module liteyuki.comm.channel"]},"75":{"title":"var channel_deliver_passive_channel","titles":["Module liteyuki.comm.channel"]},"76":{"title":"func set_channel(name: str, channel: Channel)","titles":["Module liteyuki.comm.channel"]},"77":{"title":"func set_channels(channels: dict[str, Channel])","titles":["Module liteyuki.comm.channel"]},"78":{"title":"func get_channel(name: str) -> Channel","titles":["Module liteyuki.comm.channel"]},"79":{"title":"func get_channels() -> dict[str, Channel]","titles":["Module liteyuki.comm.channel"]},"80":{"title":"var channel_deliver_active_channel","titles":["Module liteyuki.comm.channel"]},"81":{"title":"var channel_deliver_passive_channel","titles":["Module liteyuki.comm.channel"]},"82":{"title":"func on_set_channel(data: tuple[str, dict[str, Any]])","titles":["Module liteyuki.comm.channel"]},"83":{"title":"func on_get_channel(data: tuple[str, dict[str, Any]])","titles":["Module liteyuki.comm.channel"]},"84":{"title":"func on_get_channels(data: tuple[str, dict[str, Any]])","titles":["Module liteyuki.comm.channel"]},"85":{"title":"Module liteyuki.comm.event","titles":[]},"86":{"title":"class Event","titles":["Module liteyuki.comm.event"]},"87":{"title":"func __init__(self, name: str, data: dict[str, Any])","titles":["Module liteyuki.comm.event","class Event"]},"88":{"title":"Module liteyuki.comm","titles":[]},"89":{"title":"Module liteyuki.comm.rpc","titles":[]},"90":{"title":"class RPC","titles":["Module liteyuki.comm.rpc"]},"91":{"title":"func __init__(self, on_calling: ON_CALLING_FUNC) -> None","titles":["Module liteyuki.comm.rpc","class RPC"]},"92":{"title":"func call(self, args: tuple, kwargs: dict) -> Any","titles":["Module liteyuki.comm.rpc","class RPC"]},"93":{"title":"Module liteyuki.comm.socks_channel","titles":[]},"94":{"title":"class SocksChannel","titles":["Module liteyuki.comm.socks_channel"]},"95":{"title":"func __init__(self, name: str)","titles":["Module liteyuki.comm.socks_channel","class SocksChannel"]},"96":{"title":"func send(self, data)","titles":["Module liteyuki.comm.socks_channel","class SocksChannel"]},"97":{"title":"func receive(self)","titles":["Module liteyuki.comm.socks_channel","class SocksChannel"]},"98":{"title":"func close(self)","titles":["Module liteyuki.comm.socks_channel","class SocksChannel"]},"99":{"title":"Module liteyuki.comm.storage","titles":[]},"100":{"title":"var _on_main_subscriber_receive_funcs","titles":["Module liteyuki.comm.storage"]},"101":{"title":"var _on_sub_subscriber_receive_funcs","titles":["Module liteyuki.comm.storage"]},"102":{"title":"class KeyValueStore","titles":["Module liteyuki.comm.storage"]},"103":{"title":"func __init__(self)","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"104":{"title":"func set(self, key: str, value: Any) -> None","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"105":{"title":"func get(self, key: str, default: Optional[Any] = None) -> Optional[Any]","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"106":{"title":"func delete(self, key: str, ignore_key_error: bool = True) -> None","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"107":{"title":"func get_all(self) -> dict[str, Any]","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"108":{"title":"func publish(self, channel_: str, data: Any) -> None","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"109":{"title":"func on_subscriber_receive(self, channel_: str) -> Callable[[ON_RECEIVE_FUNC], ON_RECEIVE_FUNC]","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"110":{"title":"async func run_subscriber_receive_funcs(channel_: str, data: Any)","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"111":{"title":"async func start_receive_loop(self)","titles":["Module liteyuki.comm.storage","class KeyValueStore"]},"112":{"title":"class GlobalKeyValueStore","titles":["Module liteyuki.comm.storage"]},"113":{"title":"func get_instance(cls)","titles":["Module liteyuki.comm.storage","class GlobalKeyValueStore"]},"114":{"title":"attr _instance = None","titles":["Module liteyuki.comm.storage","class GlobalKeyValueStore"]},"115":{"title":"attr _lock = threading.Lock()","titles":["Module liteyuki.comm.storage","class GlobalKeyValueStore"]},"116":{"title":"var shared_memory","titles":["Module liteyuki.comm.storage"]},"117":{"title":"var _ref_count","titles":["Module liteyuki.comm.storage"]},"118":{"title":"func on_get(data: tuple[str, dict[str, Any]])","titles":["Module liteyuki.comm.storage"]},"119":{"title":"func on_set(data: tuple[str, dict[str, Any]])","titles":["Module liteyuki.comm.storage"]},"120":{"title":"func on_delete(data: tuple[str, dict[str, Any]])","titles":["Module liteyuki.comm.storage"]},"121":{"title":"func on_get_all(data: tuple[str, dict[str, Any]])","titles":["Module liteyuki.comm.storage"]},"122":{"title":"Module liteyuki.config","titles":[]},"123":{"title":"func flat_config(config: dict[str, Any]) -> dict[str, Any]","titles":["Module liteyuki.config"]},"124":{"title":"func load_from_yaml(file_: str) -> dict[str, Any]","titles":["Module liteyuki.config"]},"125":{"title":"func load_from_json(file_: str) -> dict[str, Any]","titles":["Module liteyuki.config"]},"126":{"title":"func load_from_toml(file_: str) -> dict[str, Any]","titles":["Module liteyuki.config"]},"127":{"title":"func load_from_files(*files: str, *, no_warning: bool = False) -> dict[str, Any]","titles":["Module liteyuki.config"]},"128":{"title":"func load_configs_from_dirs(*directories: str, *, no_waring: bool = False) -> dict[str, Any]","titles":["Module liteyuki.config"]},"129":{"title":"func load_config_in_default(no_waring: bool = False) -> dict[str, Any]","titles":["Module liteyuki.config"]},"130":{"title":"Module liteyuki.core","titles":[]},"131":{"title":"Module liteyuki.core.manager","titles":[]},"132":{"title":"class ChannelDeliver","titles":["Module liteyuki.core.manager"]},"133":{"title":"func __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]])","titles":["Module liteyuki.core.manager","class ChannelDeliver"]},"134":{"title":"class ProcessManager","titles":["Module liteyuki.core.manager"]},"135":{"title":"func __init__(self, lifespan: Lifespan)","titles":["Module liteyuki.core.manager","class ProcessManager"]},"136":{"title":"func start_all(self)","titles":["Module liteyuki.core.manager","class ProcessManager"]},"137":{"title":"func add_target(self, name: str, target: TARGET_FUNC, args: tuple = (), kwargs = None)","titles":["Module liteyuki.core.manager","class ProcessManager"]},"138":{"title":"func join_all(self)","titles":["Module liteyuki.core.manager","class ProcessManager"]},"139":{"title":"func terminate(self, name: str)","titles":["Module liteyuki.core.manager","class ProcessManager"]},"140":{"title":"func terminate_all(self)","titles":["Module liteyuki.core.manager","class ProcessManager"]},"141":{"title":"func is_process_alive(self, name: str) -> bool","titles":["Module liteyuki.core.manager","class ProcessManager"]},"142":{"title":"Module liteyuki.dev","titles":[]},"143":{"title":"Module liteyuki.dev.observer","titles":[]},"144":{"title":"var CALLBACK_FUNC","titles":["Module liteyuki.dev.observer"]},"145":{"title":"var FILTER_FUNC","titles":["Module liteyuki.dev.observer"]},"146":{"title":"func debounce(wait)","titles":["Module liteyuki.dev.observer"]},"147":{"title":"class CodeModifiedHandler(FileSystemEventHandler)","titles":["Module liteyuki.dev.observer"]},"148":{"title":"func on_modified(self, event)","titles":["Module liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"149":{"title":"func on_created(self, event)","titles":["Module liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"150":{"title":"func on_deleted(self, event)","titles":["Module liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"151":{"title":"func on_moved(self, event)","titles":["Module liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"152":{"title":"func on_any_event(self, event)","titles":["Module liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"153":{"title":"func on_file_system_event(directories: tuple[str], recursive: bool = True, event_filter: FILTER_FUNC = None) -> Callable[[CALLBACK_FUNC], CALLBACK_FUNC]","titles":["Module liteyuki.dev.observer"]},"154":{"title":"Module liteyuki.dev.plugin","titles":[]},"155":{"title":"func run_plugins(*module_path: str | Path)","titles":["Module liteyuki.dev.plugin"]},"156":{"title":"Module liteyuki.exception","titles":[]},"157":{"title":"class LiteyukiException(BaseException)","titles":["Module liteyuki.exception"]},"158":{"title":"Module liteyuki","titles":[]},"159":{"title":"var __version__","titles":["Module liteyuki"]},"160":{"title":"Module liteyuki.log","titles":[]},"161":{"title":"func get_format(level: str) -> str","titles":["Module liteyuki.log"]},"162":{"title":"func init_log(config: dict)","titles":["Module liteyuki.log"]},"163":{"title":"Module liteyuki.message.event","titles":[]},"164":{"title":"class MessageEvent","titles":["Module liteyuki.message.event"]},"165":{"title":"func __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel[MessageEvent]] = None, data: Optional[dict[str, Any]] = None)","titles":["Module liteyuki.message.event","class MessageEvent"]},"166":{"title":"func reply(self, message: str | dict[str, Any])","titles":["Module liteyuki.message.event","class MessageEvent"]},"167":{"title":"Module liteyuki.message","titles":[]},"168":{"title":"Module liteyuki.message.matcher","titles":[]},"169":{"title":"class Matcher","titles":["Module liteyuki.message.matcher"]},"170":{"title":"func __init__(self, rule: Rule, priority: int, block: bool)","titles":["Module liteyuki.message.matcher","class Matcher"]},"171":{"title":"func handle(self) -> Callable[[EventHandler], EventHandler]","titles":["Module liteyuki.message.matcher","class Matcher"]},"172":{"title":"async func run(self, event: MessageEvent) -> None","titles":["Module liteyuki.message.matcher","class Matcher"]},"173":{"title":"Module liteyuki.message.on","titles":[]},"174":{"title":"func add_matcher(matcher: Matcher)","titles":["Module liteyuki.message.on"]},"175":{"title":"func on_message(rule: Rule = empty_rule, priority: int = 0, block: bool = False) -> Matcher","titles":["Module liteyuki.message.on"]},"176":{"title":"func on_keywords(keywords: list[str], rule = empty_rule, priority: int = 0, block: bool = False) -> Matcher","titles":["Module liteyuki.message.on"]},"177":{"title":"Module liteyuki.message.rule","titles":[]},"178":{"title":"var RuleHandlerFunc","titles":["Module liteyuki.message.rule"]},"179":{"title":"class Rule","titles":["Module liteyuki.message.rule"]},"180":{"title":"func __init__(self, handler: RuleHandlerFunc)","titles":["Module liteyuki.message.rule","class Rule"]},"181":{"title":"func __or__(self, other: Rule) -> Rule","titles":["Module liteyuki.message.rule","class Rule"]},"182":{"title":"func __and__(self, other: Rule) -> Rule","titles":["Module liteyuki.message.rule","class Rule"]},"183":{"title":"async func __call__(self, event: MessageEvent) -> bool","titles":["Module liteyuki.message.rule","class Rule"]},"184":{"title":"async func empty_rule(event: MessageEvent) -> bool","titles":["Module liteyuki.message.rule"]},"185":{"title":"async func is_su_rule(event: MessageEvent) -> bool","titles":["Module liteyuki.message.rule"]},"186":{"title":"Module liteyuki.message.session","titles":[]},"187":{"title":"Module liteyuki.mkdoc","titles":[]},"188":{"title":"class DefType(Enum)","titles":["Module liteyuki.mkdoc"]},"189":{"title":"attr FUNCTION = \'function\'","titles":["Module liteyuki.mkdoc","class DefType(Enum)"]},"190":{"title":"attr METHOD = \'method\'","titles":["Module liteyuki.mkdoc","class DefType(Enum)"]},"191":{"title":"attr STATIC_METHOD = \'staticmethod\'","titles":["Module liteyuki.mkdoc","class DefType(Enum)"]},"192":{"title":"attr CLASS_METHOD = \'classmethod\'","titles":["Module liteyuki.mkdoc","class DefType(Enum)"]},"193":{"title":"attr PROPERTY = \'property\'","titles":["Module liteyuki.mkdoc","class DefType(Enum)"]},"194":{"title":"class FunctionInfo(BaseModel)","titles":["Module liteyuki.mkdoc"]},"195":{"title":"attr name: str = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class FunctionInfo(BaseModel)"]},"196":{"title":"attr args: list[tuple[str, str]] = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class FunctionInfo(BaseModel)"]},"197":{"title":"attr return_type: str = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class FunctionInfo(BaseModel)"]},"198":{"title":"attr docstring: str = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class FunctionInfo(BaseModel)"]},"199":{"title":"attr source_code: str = \'\'","titles":["Module liteyuki.mkdoc","class FunctionInfo(BaseModel)"]},"200":{"title":"attr type: DefType = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class FunctionInfo(BaseModel)"]},"201":{"title":"attr is_async: bool = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class FunctionInfo(BaseModel)"]},"202":{"title":"class AttributeInfo(BaseModel)","titles":["Module liteyuki.mkdoc"]},"203":{"title":"attr name: str = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class AttributeInfo(BaseModel)"]},"204":{"title":"attr type: str = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class AttributeInfo(BaseModel)"]},"205":{"title":"attr value: Any = None","titles":["Module liteyuki.mkdoc","class AttributeInfo(BaseModel)"]},"206":{"title":"attr docstring: str = \'\'","titles":["Module liteyuki.mkdoc","class AttributeInfo(BaseModel)"]},"207":{"title":"class ClassInfo(BaseModel)","titles":["Module liteyuki.mkdoc"]},"208":{"title":"attr name: str = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class ClassInfo(BaseModel)"]},"209":{"title":"attr docstring: str = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class ClassInfo(BaseModel)"]},"210":{"title":"attr methods: list[FunctionInfo] = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class ClassInfo(BaseModel)"]},"211":{"title":"attr attributes: list[AttributeInfo] = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class ClassInfo(BaseModel)"]},"212":{"title":"attr inherit: list[str] = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class ClassInfo(BaseModel)"]},"213":{"title":"class ModuleInfo(BaseModel)","titles":["Module liteyuki.mkdoc"]},"214":{"title":"attr module_path: str = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class ModuleInfo(BaseModel)"]},"215":{"title":"attr functions: list[FunctionInfo] = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class ModuleInfo(BaseModel)"]},"216":{"title":"attr classes: list[ClassInfo] = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class ModuleInfo(BaseModel)"]},"217":{"title":"attr attributes: list[AttributeInfo] = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class ModuleInfo(BaseModel)"]},"218":{"title":"attr docstring: str = NO_DEFAULT","titles":["Module liteyuki.mkdoc","class ModuleInfo(BaseModel)"]},"219":{"title":"func get_relative_path(base_path: str, target_path: str) -> str","titles":["Module liteyuki.mkdoc"]},"220":{"title":"func write_to_files(file_data: dict[str, str])","titles":["Module liteyuki.mkdoc"]},"221":{"title":"func get_file_list(module_folder: str)","titles":["Module liteyuki.mkdoc"]},"222":{"title":"func get_module_info_normal(file_path: str, ignore_private: bool = True) -> ModuleInfo","titles":["Module liteyuki.mkdoc"]},"223":{"title":"func generate_markdown(module_info: ModuleInfo, front_matter = None, lang: str = \'zh-CN\') -> str","titles":["Module liteyuki.mkdoc"]},"224":{"title":"func generate_docs(module_folder: str, output_dir: str, with_top: bool = False, lang: str = \'zh-CN\', ignored_paths = None)","titles":["Module liteyuki.mkdoc"]},"225":{"title":"var no_module_name_pyfile_path","titles":["Module liteyuki.mkdoc"]},"226":{"title":"Module liteyuki.plugin","titles":[]},"227":{"title":"func get_loaded_plugins() -> dict[str, Plugin]","titles":["Module liteyuki.plugin"]},"228":{"title":"Module liteyuki.plugin.load","titles":[]},"229":{"title":"func load_plugin(module_path: str | Path) -> Optional[Plugin]","titles":["Module liteyuki.plugin.load"]},"230":{"title":"func load_plugins(*plugin_dir: str, *, ignore_warning: bool = True) -> set[Plugin]","titles":["Module liteyuki.plugin.load"]},"231":{"title":"func format_display_name(display_name: str, plugin_type: PluginType) -> str","titles":["Module liteyuki.plugin.load"]},"232":{"title":"Module liteyuki.plugin.manager","titles":[]},"233":{"title":"Module liteyuki.plugin.model","titles":[]},"234":{"title":"class PluginType(Enum)","titles":["Module liteyuki.plugin.model"]},"235":{"title":"attr APPLICATION = \'application\'","titles":["Module liteyuki.plugin.model","class PluginType(Enum)"]},"236":{"title":"attr SERVICE = \'service\'","titles":["Module liteyuki.plugin.model","class PluginType(Enum)"]},"237":{"title":"attr MODULE = \'module\'","titles":["Module liteyuki.plugin.model","class PluginType(Enum)"]},"238":{"title":"attr UNCLASSIFIED = \'unclassified\'","titles":["Module liteyuki.plugin.model","class PluginType(Enum)"]},"239":{"title":"attr TEST = \'test\'","titles":["Module liteyuki.plugin.model","class PluginType(Enum)"]},"240":{"title":"class PluginMetadata(BaseModel)","titles":["Module liteyuki.plugin.model"]},"241":{"title":"attr name: str = NO_DEFAULT","titles":["Module liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"242":{"title":"attr description: str = \'\'","titles":["Module liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"243":{"title":"attr usage: str = \'\'","titles":["Module liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"244":{"title":"attr type: PluginType = PluginType.UNCLASSIFIED","titles":["Module liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"245":{"title":"attr author: str = \'\'","titles":["Module liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"246":{"title":"attr homepage: str = \'\'","titles":["Module liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"247":{"title":"attr extra: dict[str, Any] = {}","titles":["Module liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"248":{"title":"class Plugin(BaseModel)","titles":["Module liteyuki.plugin.model"]},"249":{"title":"func __hash__(self)","titles":["Module liteyuki.plugin.model","class Plugin(BaseModel)"]},"250":{"title":"attr model_config = {\'arbitrary_types_allowed\': True}","titles":["Module liteyuki.plugin.model","class Plugin(BaseModel)"]},"251":{"title":"attr name: str = NO_DEFAULT","titles":["Module liteyuki.plugin.model","class Plugin(BaseModel)"]},"252":{"title":"attr module: ModuleType = NO_DEFAULT","titles":["Module liteyuki.plugin.model","class Plugin(BaseModel)"]},"253":{"title":"attr module_name: str = NO_DEFAULT","titles":["Module liteyuki.plugin.model","class Plugin(BaseModel)"]},"254":{"title":"attr metadata: Optional[PluginMetadata] = None","titles":["Module liteyuki.plugin.model","class Plugin(BaseModel)"]},"255":{"title":"Module liteyuki.plugins","titles":[]},"256":{"title":"Module liteyuki.plugins.liteecho","titles":[]},"257":{"title":"async func liteecho(event: MessageEvent)","titles":["Module liteyuki.plugins.liteecho"]},"258":{"title":"Module liteyuki.plugins.plugin_loader","titles":[]},"259":{"title":"func default_plugins_loader()","titles":["Module liteyuki.plugins.plugin_loader"]},"260":{"title":"Module liteyuki.utils","titles":[]},"261":{"title":"func is_coroutine_callable(call: Callable[..., Any]) -> bool","titles":["Module liteyuki.utils"]},"262":{"title":"func run_coroutine(*coro: Coroutine)","titles":["Module liteyuki.utils"]},"263":{"title":"func run_coroutine_in_thread(*coro: Coroutine)","titles":["Module liteyuki.utils"]},"264":{"title":"func path_to_module_name(path: Path) -> str","titles":["Module liteyuki.utils"]},"265":{"title":"func async_wrapper(func: Callable[..., Any]) -> Callable[..., Coroutine]","titles":["Module liteyuki.utils"]},"266":{"title":"Channel Communication","titles":[]},"267":{"title":"Introduction","titles":["Channel Communication"]},"268":{"title":"Example","titles":["Channel Communication"]},"269":{"title":"共享内存通信","titles":["Channel Communication"]},"270":{"title":"简介","titles":["Channel Communication","共享内存通信"]},"271":{"title":"示例","titles":["Channel Communication","共享内存通信"]},"272":{"title":"Development Guide","titles":[]},"273":{"title":"How to Develop","titles":["Development Guide"]},"274":{"title":"Suggestions","titles":["Development Guide","How to Develop"]},"275":{"title":"Project Structure","titles":["Development Guide"]},"276":{"title":"Standardization","titles":["Development Guide"]},"277":{"title":"Finally","titles":["Development Guide"]},"278":{"title":"轻雪函数","titles":[]},"279":{"title":"函数文件","titles":["轻雪函数"]},"280":{"title":"命令文档","titles":["轻雪函数"]},"281":{"title":"示例","titles":["轻雪函数","命令文档"]},"282":{"title":"API","titles":["轻雪函数"]},"283":{"title":"结束关键字","titles":["轻雪函数"]},"284":{"title":"简介","titles":[]},"285":{"title":"开始","titles":["简介"]},"286":{"title":"创建插件","titles":["简介","开始"]},"287":{"title":"编写逻辑部分","titles":["简介","开始"]},"288":{"title":"加载插件","titles":["简介","开始"]},"289":{"title":"方法1","titles":["简介","开始","加载插件"]},"290":{"title":"方法2","titles":["简介","开始","加载插件"]},"291":{"title":"简介","titles":[]},"292":{"title":"加载资源包","titles":["简介"]},"293":{"title":"用户协议","titles":[]},"294":{"title":"基础插件","titles":[]},"295":{"title":"轻雪命令liteyuki_command","titles":["基础插件"]},"296":{"title":"命令别名","titles":["基础插件","轻雪命令liteyuki_command"]},"297":{"title":"插件/包管理器 liteyuki_pacman","titles":["基础插件"]},"298":{"title":"命令别名","titles":["基础插件","插件/包管理器 liteyuki_pacman"]},"299":{"title":"用户管理liteyuki_user","titles":["基础插件"]},"300":{"title":"功能插件命令","titles":[]},"301":{"title":"轻雪天气liteyuki_weather","titles":["功能插件命令"]},"302":{"title":"命令别名","titles":["功能插件命令","轻雪天气liteyuki_weather"]},"303":{"title":"统计信息liteyuki_statistics","titles":["功能插件命令"]},"304":{"title":"命令别名","titles":["功能插件命令","统计信息liteyuki_statistics"]}},"dirtCount":0,"index":[["或",{"2":{"303":2}}],["或插件路径",{"2":{"229":2}}],["当前bot",{"2":{"303":1}}],["当前群聊",{"2":{"303":1}}],["当前会话启用",{"2":{"297":1}}],["秒",{"2":{"303":2}}],["小时",{"2":{"303":2}}],["天",{"2":{"303":2}}],["天气",{"2":{"301":1,"302":1}}],["格式",{"2":{"303":1}}],["格式为onebot",{"2":{"295":1}}],["统计时间范围为duration",{"2":{"303":1}}],["统计周期为period",{"2":{"303":1}}],["统计信息",{"2":{"303":1}}],["统计信息liteyuki",{"0":{"303":1},"1":{"304":1}}],["功能",{"2":{"303":1}}],["功能插件命令",{"0":{"300":1},"1":{"301":1,"302":1,"303":1,"304":1}}],["绑定城市",{"2":{"302":1}}],["绑定查询城市",{"2":{"301":1}}],["个人全局生效",{"2":{"301":1}}],["个人信息",{"2":{"299":1}}],["海淀",{"2":{"301":1}}],["北京",{"2":{"301":1}}],["支持中英文",{"2":{"301":2}}],["支持中英文城市名",{"2":{"301":1}}],["支持多个关键词查询",{"2":{"301":1}}],["支持绑定城市",{"2":{"301":1}}],["支持单行注释",{"2":{"279":1}}],["受限于nonebot2钩子函数的依赖注入参数",{"2":{"298":1}}],["帮助",{"2":{"298":1}}],["列表",{"2":{"298":1}}],["列出所有资源包",{"2":{"297":1}}],["列出所有插件",{"2":{"297":1}}],["更改",{"2":{"298":1}}],["更新",{"2":{"298":1}}],["更新插件商店索引",{"2":{"297":1}}],["更新轻雪",{"2":{"295":1,"296":1}}],["全局停用",{"2":{"298":1}}],["全局启用",{"2":{"297":1,"298":1}}],["搜索",{"2":{"298":1}}],["卸载",{"2":{"298":2}}],["卸载资源包",{"2":{"297":1}}],["卸载插件",{"2":{"297":1}}],["私聊所有人可用",{"2":{"297":2}}],["私聊通常为用户id",{"2":{"165":1}}],["包管理器",{"0":{"297":1},"1":{"298":1}}],["包括子task",{"2":{"280":1}}],["切换图片模式",{"2":{"296":1}}],["状态",{"2":{"296":1}}],["别名",{"2":{"296":1,"298":1,"299":1,"302":1,"304":1}}],["所有人",{"2":{"295":1,"297":1,"299":3}}],["所以在编写lyfunction时也要注意异步的调用",{"2":{"283":1}}],["群号",{"2":{"295":1}}],["群聊",{"2":{"296":1}}],["群聊仅群主",{"2":{"295":1,"297":2}}],["群聊通常为群id",{"2":{"165":1}}],["管理员",{"2":{"295":1,"297":2}}],["停用插件",{"2":{"297":2}}],["停用",{"2":{"296":1,"298":1}}],["停用机器人",{"2":{"295":1}}],["停止后钩子",{"2":{"55":2}}],["停止前钩子",{"2":{"54":2}}],["停止",{"2":{"44":2}}],["停止轻雪",{"2":{"23":2,"26":2}}],["该功能需要commit",{"2":{"295":1}}],["该模块封装通道实现",{"2":{"270":1}}],["该模块用于存放一些开发工具",{"2":{"142":1}}],["该模块用于常用配置文件的加载",{"2":{"122":1}}],["该模块用于轻雪主进程和nonebot子进程之间的通信",{"2":{"88":1}}],["推荐私聊使用",{"2":{"295":1}}],["推荐在编写html时同时更改对应js代码",{"2":{"291":1}}],["查询目标地实时天气",{"2":{"301":1}}],["查询实时天气",{"2":{"301":1}}],["查询",{"2":{"296":1,"299":1}}],["查询配置项",{"2":{"295":1}}],["查看用户信息菜单",{"2":{"299":1}}],["查看插件帮助",{"2":{"297":1}}],["查看轻雪文档",{"2":{"295":1}}],["查看统计信息和状态",{"2":{"295":1}}],["查看当前bot",{"2":{"295":1}}],["和风天气的天气key",{"2":{"301":1}}],["和",{"2":{"295":1}}],["和10是不一样的",{"2":{"295":1}}],["和config目录下的所有配置文件",{"2":{"129":2}}],["输入值会被执行以转换为正确的类型",{"2":{"295":1}}],["输出",{"2":{"279":1}}],["输出文件夹",{"2":{"224":2}}],["输出文件",{"2":{"220":2}}],["版本",{"2":{"295":1}}],["❌",{"2":{"295":11}}],["超级用户可用",{"2":{"295":1,"297":2}}],["超级用户",{"2":{"295":10,"297":10}}],["重载",{"2":{"298":1}}],["重载所有资源包",{"2":{"297":1}}],["重载资源",{"2":{"296":1}}],["重载轻雪",{"2":{"295":1}}],["重启轻雪",{"2":{"296":1}}],["重启轻雪即可加载插件",{"2":{"289":1}}],["重启轻雪本体",{"2":{"22":2}}],["重启后钩子",{"2":{"57":2}}],["重启前钩子",{"2":{"56":2}}],["重启",{"2":{"44":2}}],["举例",{"2":{"295":1}}],["权限",{"2":{"295":1,"297":2,"299":1}}],["说明",{"2":{"295":1,"297":2,"299":1}}],["~代替",{"2":{"294":1}}],["~可以使用插件",{"2":{"294":1}}],["安装插件",{"2":{"297":1}}],["安装",{"2":{"294":1,"298":1}}],["安装的插件",{"2":{"229":2}}],["命令",{"2":{"295":1,"296":1,"297":2,"298":1,"299":2,"301":1,"302":1,"303":1,"304":1}}],["命令别名",{"0":{"296":1,"298":1,"302":1,"304":1},"2":{"294":1,"299":1}}],["命令文档",{"0":{"280":1},"1":{"281":1}}],["为可选参数",{"2":{"294":1}}],["为必填参数",{"2":{"294":1}}],["为子进程重启时调用",{"2":{"31":2}}],["为子进程停止时调用",{"2":{"30":2}}],["且通过安全的方式传输到轻雪的服务器",{"2":{"293":1}}],["且通道标识为",{"2":{"268":1}}],["系统信息及python信息",{"2":{"293":1}}],["内存",{"2":{"293":1}}],["内存共享是线程安全的",{"2":{"270":1}}],["内存共享使得代码编写更加简洁",{"2":{"270":1}}],["分钟",{"2":{"303":2}}],["分发",{"2":{"293":1}}],["分工明确",{"2":{"122":1}}],["修改优先级",{"2":{"297":1}}],["修改",{"2":{"293":1}}],["本项目不会收集用户的任何隐私信息",{"2":{"293":1}}],["本项目遵循mit协议",{"2":{"293":1}}],["本模块用于实现rpc",{"2":{"89":1}}],["本模块用于轻雪主进程和子进程之间的通信的事件类",{"2":{"85":1}}],["本模块定义了一个通用的通道类",{"2":{"58":1}}],["同时用户也应该自行选择可用的资源包",{"2":{"292":1}}],["同步接收数据",{"2":{"68":2}}],["同步接收函数",{"2":{"59":1}}],["同步过滤函数",{"2":{"62":1}}],["同步进程生命周期函数",{"2":{"40":1}}],["同步生命周期函数",{"2":{"37":1}}],["第三方资源包开发者需要注意版本兼容性",{"2":{"292":1}}],["对于主动推送的插件不生效",{"2":{"298":1}}],["对于不同资源包的不同文件",{"2":{"292":1}}],["对外启动方法",{"2":{"136":2}}],["└─",{"2":{"292":1}}],["└───",{"2":{"292":1}}],["└─resource",{"2":{"292":2}}],["├─templates",{"2":{"292":1}}],["├─metadata",{"2":{"292":2}}],["正常的路径应该是这样的",{"2":{"292":1}}],["只需要将其解压到根目录resources目录下即可",{"2":{"292":1}}],["zip格式压缩的",{"2":{"292":1}}],["zh",{"0":{"223":1,"224":1},"2":{"2":1,"223":2,"224":1,"275":1}}],["以上内容仅用于项目的优化",{"2":{"293":1}}],["以避免出现无法预料的问题",{"2":{"291":1}}],["以下我们会编写一个简单的插件",{"2":{"287":1}}],["错位等无法预料的事情发生",{"2":{"291":1}}],["异常",{"2":{"291":1}}],["异步任务结束关键字",{"2":{"283":1}}],["异步等待",{"2":{"280":1}}],["异步包装器",{"2":{"265":2}}],["异步接收数据",{"2":{"69":2}}],["异步接收函数",{"2":{"60":1}}],["异步过滤函数",{"2":{"63":1}}],["异步进程生命周期函数",{"2":{"41":1}}],["异步生命周期函数",{"2":{"38":1}}],["请阅读插件主页的说明",{"2":{"298":1}}],["请确保您所编写的html代码能被bot解析",{"2":{"291":1}}],["请注意",{"2":{"291":1}}],["请不要将需要动态加载的内容写入配置文件",{"2":{"122":1}}],["欢迎各位投稿资源包到轻雪资源商店",{"2":{"291":1}}],["部分异常信息",{"2":{"293":1}}],["部分内容制作需要一点点前端基础",{"2":{"291":1}}],["部分来源于",{"2":{"260":1}}],["讲起打包成一个新的资源包",{"2":{"291":1}}],["仅需按照原有路径进行文件替换即可",{"2":{"291":1}}],["那么加载b包后",{"2":{"292":1}}],["那么你能够很快就上手",{"2":{"291":1}}],["那么当前所有函数包的task都会被截停销毁",{"2":{"283":1}}],["如果你接触过minecraft的资源包",{"2":{"291":1}}],["如果你想同时输出多行内容可以尝试换行符",{"2":{"279":1}}],["资源",{"2":{"291":1}}],["资源包管理",{"2":{"297":1}}],["资源包的结构会随着轻雪的更新而有变动",{"2":{"292":1}}],["资源包的制作很简单",{"2":{"291":1}}],["资源包加载遵循一个优先级",{"2":{"292":1}}],["资源包描述",{"2":{"292":1}}],["资源包名称",{"2":{"292":1}}],["资源包通常是以",{"2":{"292":1}}],["资源包",{"2":{"291":1,"298":1}}],["它允许你一定程度上自定义轻雪的外观",{"2":{"291":1}}],["它允许你在轻雪中运行一些自定义的由数据驱动的命令",{"2":{"278":1}}],["字体包",{"2":{"291":1}}],["字符串",{"2":{"223":2}}],["亦可根据用途称为主题包",{"2":{"291":1}}],["保存后轻雪会自动重载nonebot进程",{"2":{"290":1}}],["保持轻雪运行",{"2":{"21":2}}],["我们在src",{"2":{"290":1}}],["然后运行python",{"2":{"290":1}}],["方法2",{"0":{"290":1}}],["方法1",{"0":{"289":1}}],["用户管理liteyuki",{"0":{"299":1}}],["用户协议",{"0":{"293":1}}],["用observer的on",{"2":{"287":1}}],["用于统计bot接收到的消息",{"2":{"303":1}}],["用于开发nonebot时进行文件系统变更重载",{"2":{"287":1}}],["用于结束当前已完成function的执行",{"2":{"283":1}}],["用于存放内置插件",{"2":{"255":1}}],["用于回复消息",{"2":{"165":1}}],["用于获取和唯一标识",{"2":{"137":2}}],["用于进程间通信",{"2":{"58":1}}],["排除的文件扩展名",{"2":{"287":1}}],["因此插件主要是一些后台任务或者与聊天机器人的通信",{"2":{"287":1}}],["定义插件元数据",{"2":{"286":1}}],["定义变量",{"2":{"280":1}}],["导入轻雪bot和日志",{"2":{"287":1}}],["导入文件系统事件",{"2":{"287":1}}],["导入文件系统观察器",{"2":{"287":1}}],["导入文件夹下多个插件",{"2":{"230":2}}],["导入逻辑部分",{"2":{"286":1}}],["即后加载的资源包会覆盖前面的资源包",{"2":{"292":1}}],["即可创建一个插件",{"2":{"286":1}}],["即不等待",{"2":{"280":1}}],["首先创建一个文件夹",{"2":{"286":1}}],["开始",{"0":{"285":1},"1":{"286":1,"287":1,"288":1,"289":1,"290":1}}],["编写逻辑部分",{"0":{"287":1}}],["编写轻雪函数推荐你使用vs",{"2":{"283":1}}],["编辑时的语法高亮可采取shell格式",{"2":{"279":1}}],["有一个task任务没有完成而await被执行了",{"2":{"283":1}}],["的情况是效率提升的关键",{"2":{"283":1}}],["单线程走到底",{"2":{"283":1}}],["单位s",{"2":{"280":1}}],["避免出现",{"2":{"283":1}}],["由于liteyukibot基于异步运行",{"2":{"283":1}}],["结束关键字",{"0":{"283":1}}],["结束函数关键字",{"2":{"280":1}}],["理论上所有基于onebotv11的api都可调用",{"2":{"282":1}}],["则该文件夹不会被识别为资源包",{"2":{"292":1}}],["则需要删除await",{"2":{"281":1}}],["则传入泛型默认开启",{"2":{"66":2}}],["无需手动创建实例",{"2":{"290":1}}],["无需手动初始化bot",{"2":{"155":2}}],["无限戳",{"2":{"281":1}}],["执行",{"2":{"281":1}}],["疯狂戳好友",{"2":{"281":1}}],["否则会导致渲染失败或渲染结果不理想",{"2":{"291":1}}],["否则task对象会被销毁",{"2":{"280":1}}],["否则默认关闭",{"2":{"66":2}}],["需要在最后调用",{"2":{"280":1}}],["等待所有异步任务结束",{"2":{"280":1}}],["使用通用日期简写",{"2":{"303":2}}],["使用此项目代表你已经同意以上协议",{"2":{"293":1}}],["使用开发工具快速运行插件",{"2":{"290":1}}],["使用",{"2":{"281":1}}],["使用新的task执行命令",{"2":{"280":1}}],["使用watchdog监控文件变化并重启bot",{"2":{"143":1}}],["也支持句末注释",{"2":{"279":1}}],["例如npm",{"2":{"294":1}}],["例如nonebot插件中",{"2":{"268":1}}],["例如你在a中定义了templates",{"2":{"292":1}}],["例如html",{"2":{"291":1}}],["例如main",{"2":{"290":1}}],["例如watchdog",{"2":{"286":1,"289":1}}],["例如",{"2":{"279":2,"292":1,"301":1}}],["例如test",{"2":{"279":1,"290":1}}],["函数文件放在资源包的functions目录下",{"2":{"279":1}}],["函数文件",{"0":{"279":1}}],["函数列表",{"2":{"45":2}}],["属于资源包的一部分",{"2":{"278":1}}],["类似于minecraft的mcfunction",{"2":{"278":1}}],["类似于redis",{"2":{"99":1}}],["是可以相对引用的",{"2":{"292":1}}],["是轻雪的一个功能",{"2":{"278":1}}],["是否为协程可调用对象",{"2":{"261":2}}],["是否忽略警告",{"2":{"230":2}}],["是否忽略键不存在的错误",{"2":{"106":2}}],["是否包含顶层文件夹",{"2":{"224":2}}],["是否阻断后续优先级更低的匹配器",{"2":{"170":2}}],["是否递归监听子目录",{"2":{"153":2}}],["是否开启类型检查",{"2":{"66":2}}],["示例",{"0":{"271":1,"281":1}}],["线程锁会自动保护共享内存的读写操作",{"2":{"270":1}}],["相比于普通进程通信",{"2":{"270":1}}],["相对路径",{"2":{"220":2}}],["简介",{"0":{"270":1,"284":1,"291":1},"1":{"285":1,"286":1,"287":1,"288":1,"289":1,"290":1,"292":1}}],["被动模式",{"2":{"268":1}}],["被动通道传递通道",{"2":{"75":1,"81":1}}],["被动通道",{"2":{"72":1}}],["每隔0",{"2":{"281":1}}],["每行一个命令",{"2":{"279":1}}],["每次接收到字符串数据时都会运行",{"2":{"268":1}}],["每3秒发送一次消息",{"2":{"268":1}}],["每个配置文件给一个或一类服务提供配置",{"2":{"122":1}}],["创建入口文件",{"2":{"290":1}}],["创建插件",{"0":{"286":1}}],["创建子进程的同时会初始化一个被动通道和一个主动通道",{"2":{"268":1}}],["创建asyncio",{"2":{"136":2}}],["路径a",{"2":{"264":2}}],["转换路径为模块名",{"2":{"264":2}}],["可用",{"2":{"295":1}}],["可用参数",{"2":{"295":1}}],["可以在配置文件中把auto",{"2":{"293":1}}],["可以在a的index",{"2":{"292":1}}],["可以在此基础上进行修改",{"2":{"291":1}}],["可以很高程度地扩展轻雪的功能",{"2":{"284":1}}],["可以是本地插件或是通过",{"2":{"229":2}}],["可递归",{"2":{"280":1}}],["可调用对象",{"2":{"261":2}}],["判断是否为协程可调用对象",{"2":{"261":2}}],["并且应该在metadata",{"2":{"292":1}}],["并且不用修改源代码",{"2":{"291":1}}],["并在其中写入一些代码",{"2":{"290":1}}],["并在其中写入以下代码",{"2":{"290":1}}],["并在其中创建一个",{"2":{"286":1}}],["并遵循其许可进行修改",{"2":{"260":1}}],["并发运行异步函数",{"2":{"45":2}}],["一个",{"2":{"286":1}}],["一个键不要多次出现",{"2":{"122":1}}],["一些常用的工具类",{"2":{"260":1}}],["应在初始化时调用",{"2":{"259":2}}],["根据不同类型插件设置颜色",{"2":{"231":2}}],["加载",{"2":{"298":1}}],["加载资源包",{"0":{"292":1},"2":{"297":1}}],["加载插件",{"0":{"288":1},"1":{"289":1,"290":1}}],["加载插件加载器",{"2":{"19":1}}],["加载单个插件",{"2":{"229":2}}],["插件停用只能阻断传入响应",{"2":{"298":1}}],["插件管理",{"2":{"297":1,"298":1}}],["插件",{"0":{"297":1},"1":{"298":1}}],["插件信息",{"2":{"293":1}}],["插件描述",{"2":{"286":1}}],["插件版本",{"2":{"286":1}}],["插件类型",{"2":{"231":2,"286":1}}],["插件名称",{"2":{"229":2,"231":2,"286":1}}],["插件字典",{"2":{"227":2}}],["插件路径",{"2":{"155":2}}],["去头路径",{"2":{"225":1}}],["忽略的路径",{"2":{"224":2}}],["忽略私有函数和类",{"2":{"222":2}}],["模块名",{"2":{"264":2}}],["模块文件夹",{"2":{"224":2}}],["模块信息",{"2":{"222":2,"223":2}}],["源代码",{"2":{"223":1,"271":1}}],["+",{"2":{"223":2,"264":1}}],["+=",{"2":{"22":1,"70":1,"223":15}}],["语言包等",{"2":{"291":1}}],["语言",{"2":{"223":2,"224":2}}],["自定义选项title",{"2":{"223":2}}],["自动调用",{"2":{"24":2}}],["你在a包中定义了一个index",{"2":{"292":1}}],["你自己制作的资源包也应该遵循这个规则",{"2":{"292":1}}],["你也可以自己制作资源包",{"2":{"291":1}}],["你的插件代码",{"2":{"286":1}}],["你可以选择开启auto",{"2":{"293":1}}],["你可以自由使用",{"2":{"293":1}}],["你可以自定义一些信息",{"2":{"292":1}}],["你可以在多个线程中读写共享内存",{"2":{"270":1}}],["你可以通过storage模块实现内存共享通信",{"2":{"270":1}}],["你可在此自定义生成的markdown格式",{"2":{"223":2}}],["你应该使用其他储存方式",{"2":{"122":1}}],["生成文档",{"2":{"224":2}}],["生成模块的markdown",{"2":{"223":2}}],["生命周期函数",{"2":{"27":4,"28":4,"29":4,"30":4,"31":4,"32":4,"39":1,"46":4,"47":4,"49":4,"51":4}}],["生命周期管理",{"2":{"19":1}}],["文件内容为一系列的命令",{"2":{"279":1}}],["文件名以",{"2":{"279":1}}],["文件夹路径",{"2":{"230":2}}],["文件路径",{"2":{"222":2}}],["文件数据",{"2":{"220":2}}],["目标路径",{"2":{"219":2}}],["基础插件",{"0":{"294":1},"1":{"295":1,"296":1,"297":1,"298":1,"299":1}}],["基础路径",{"2":{"219":2}}],["基于socket的通道",{"2":{"93":1}}],["基于ipc",{"2":{"89":1}}],["x26",{"2":{"176":1,"223":4}}],["x3c",{"2":{"20":4,"22":1,"162":5,"174":1,"223":8,"229":2,"231":4,"280":6,"301":2,"303":2}}],["505468b及以后的lagrange",{"2":{"295":1}}],["59",{"2":{"228":1,"232":1}}],["55",{"2":{"177":1}}],["52",{"2":{"173":1}}],["51",{"2":{"168":1}}],["添加配置项",{"2":{"295":1}}],["添加sleep",{"2":{"281":1}}],["添加处理函数",{"2":{"171":2}}],["添加进程",{"2":{"137":2}}],["优先级",{"2":{"170":2}}],["规则函数签名",{"2":{"178":1}}],["规则",{"2":{"170":2}}],["匹配器",{"2":{"170":2}}],["回复消息",{"2":{"166":2}}],["附加数据",{"2":{"165":1}}],["原始消息",{"2":{"165":1}}],["消息类型",{"2":{"165":1}}],["消息段数组",{"2":{"165":1}}],["消息",{"2":{"165":1}}],["机器人id",{"2":{"165":1}}],["下午12",{"2":{"256":1}}],["下午11",{"2":{"228":1,"232":1}}],["下午10",{"2":{"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"258":1}}],["下午8",{"2":{"36":1}}],["⭕",{"2":{"162":1}}],["⚠️",{"2":{"162":1}}],["✅",{"2":{"162":1}}],["ℹ️信息",{"2":{"268":4}}],["ℹ️",{"2":{"162":1}}],["🐛",{"2":{"162":1}}],["在群聊启用",{"2":{"295":1}}],["在普通图片和markdown大图之间切换",{"2":{"295":1}}],["在b中定义了templates",{"2":{"292":1}}],["在配置文件中的liteyuki",{"2":{"289":1}}],["在设备上执行命令",{"2":{"280":1}}],["在发信器输出",{"2":{"279":1}}],["在任意进程中均可使用",{"2":{"271":1}}],["在子进程中",{"2":{"268":1}}],["在轻雪插件中",{"2":{"268":1}}],["在新线程中运行协程",{"2":{"263":2}}],["在语言加载完成后执行",{"2":{"162":2}}],["在主进程中运行",{"2":{"111":2}}],["6",{"2":{"159":1}}],["测试版本号",{"2":{"159":1}}],["此模块为内置插件文件夹",{"2":{"255":1}}],["此模块为liteyuki的框架整体",{"2":{"158":1}}],["此模块用于注册观察者函数",{"2":{"143":1}}],["参考`liteyuki",{"2":{"155":1}}],["参考liteyuki",{"2":{"155":1}}],["参数列表",{"2":{"295":2}}],["参数为调用set",{"2":{"268":1}}],["参数",{"2":{"24":2,"229":1,"230":1,"294":1,"303":1}}],["运行环境的设备信息",{"2":{"293":1}}],["运行在主进程中",{"2":{"284":1}}],["运行协程",{"2":{"262":2}}],["运行处理函数",{"2":{"172":2}}],["运行插件",{"2":{"155":2}}],["运行订阅者接收函数",{"2":{"110":2}}],["上午12",{"2":{"233":1}}],["上午11",{"2":{"131":1}}],["上午6",{"2":{"187":1}}],["上午9",{"2":{"160":1}}],["上午5",{"2":{"154":1}}],["装饰一个函数在接收到数据后执行",{"2":{"153":2}}],["装饰器",{"2":{"70":2,"109":2,"153":2,"171":4}}],["返回true则执行回调函数",{"2":{"153":2}}],["事件过滤器",{"2":{"153":2}}],["事件循环",{"2":{"19":1}}],["监听目录们",{"2":{"153":2}}],["防抖函数",{"2":{"146":2}}],["防止获取空指针",{"2":{"117":1}}],["位置1为filesystemevent",{"2":{"144":1,"145":1}}],["启用",{"2":{"296":1,"298":1}}],["启用插件后",{"2":{"290":1}}],["启用该模块需要在配置文件中设置dev",{"2":{"143":1}}],["启动后控制台输出",{"2":{"268":1}}],["启动后钩子",{"2":{"53":2}}],["启动所有进程",{"2":{"136":2}}],["启动发布订阅接收器循环",{"2":{"111":2}}],["启动前钩子",{"2":{"52":2}}],["启动",{"2":{"44":2}}],["检查进程是否存活",{"2":{"141":2}}],["终止进程并从进程字典中删除",{"2":{"139":2}}],["项目目录下的配置文件优先",{"2":{"129":2}}],["项目目录下的配置文件优先级高于config目录下的配置文件",{"2":{"122":1}}],["项目目录下的config",{"2":{"129":2}}],["按照读取文件的优先级反向覆盖",{"2":{"128":2}}],["不带key返回配置项列表",{"2":{"295":1}}],["不包含任何隐私信息",{"2":{"293":1}}],["不含隐私部分",{"2":{"293":1}}],["不含插件数据",{"2":{"293":1}}],["不同adapter",{"2":{"282":1}}],["不递归",{"2":{"128":2}}],["不要出现过多的嵌套",{"2":{"122":1}}],["从一个标准的轻雪项目加载配置文件",{"2":{"129":2}}],["从目录下加载配置文件",{"2":{"128":2}}],["从指定文件加载配置项",{"2":{"127":2}}],["默认普通图片",{"2":{"295":1}}],["默认开启",{"2":{"293":1}}],["默认插件加载器",{"2":{"259":2}}],["默认执行扁平化选项",{"2":{"127":2,"128":2}}],["默认值",{"2":{"34":2,"35":2,"105":2}}],["8",{"2":{"124":1,"125":1,"126":1,"154":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"220":1,"222":1,"256":1,"257":1,"258":1}}],["但请注意甄别第三方插件的安全性",{"2":{"293":1}}],["但请保证以上三个字段",{"2":{"292":1}}],["但是请保留原作者信息",{"2":{"293":1}}],["但是更加轻量级并且线程安全",{"2":{"99":1}}],["但若出现非单function的情况",{"2":{"283":1}}],["但需单独起篇幅",{"2":{"278":1}}],["但也包含原有的键值对",{"2":{"123":2}}],["扁平化后的配置文件",{"2":{"123":2}}],["扁平化配置文件",{"2":{"123":2}}],["扁平化编写",{"2":{"122":1}}],["注意不要嵌套文件夹",{"2":{"292":1}}],["注意冲突时的优先级",{"2":{"122":1}}],["注册一个函数在nonebot启动后运行",{"2":{"268":1}}],["注册一个函数在轻雪启动后运行",{"2":{"268":1}}],["注册文件系统变化监听器",{"2":{"153":2}}],["注册重启后的函数",{"2":{"32":2,"51":2}}],["注册进程重启前的函数",{"2":{"31":2,"50":2}}],["注册进程停止前的函数",{"2":{"30":2,"48":2}}],["注册停止后的函数",{"2":{"29":2,"49":2}}],["注册启动时的函数",{"2":{"46":2,"47":2}}],["注册启动后的函数",{"2":{"28":2}}],["注册启动前的函数",{"2":{"27":2}}],["尽量不要冲突",{"2":{"122":1}}],["多配置文件编写原则",{"2":{"122":1}}],["引用计数",{"2":{"117":1}}],["共享内存通信",{"0":{"269":1},"1":{"270":1,"271":1}}],["共享内存对象",{"2":{"116":1}}],["共享内存模块",{"2":{"99":1}}],["若不存在则返回空",{"2":{"295":1}}],["若不存在则创建于config",{"2":{"295":1}}],["若存在则返回",{"2":{"295":1}}],["若存在则覆盖",{"2":{"295":1}}],["若存在则会覆盖",{"2":{"295":1}}],["若你不希望提供这些信息",{"2":{"293":1}}],["若没有metadata",{"2":{"292":1}}],["若要戳20s后停止",{"2":{"281":1}}],["若函数中启动了其他task",{"2":{"280":1}}],["若有子进程订阅则推送给子进程",{"2":{"111":2}}],["若为空",{"2":{"66":2}}],["订阅者接收消息时的回调",{"2":{"109":2}}],["频道",{"2":{"108":2,"109":2,"110":2}}],["发布消息",{"2":{"108":2}}],["发送函数为同步函数",{"2":{"67":2}}],["发送数据",{"2":{"67":2,"96":2}}],["删除键值对",{"2":{"106":2}}],["值",{"2":{"104":2,"105":2}}],["键值对",{"2":{"107":2}}],["键",{"2":{"104":2,"105":2,"106":2}}],["设置用户信息或打开属性设置菜单",{"2":{"299":1}}],["设置",{"2":{"296":1,"299":1}}],["设置共享内存",{"2":{"271":1}}],["设置后的插件名称",{"2":{"231":2}}],["设置插件名称颜色",{"2":{"231":2}}],["设置键值对",{"2":{"104":2}}],["设置通道实例",{"2":{"76":2,"77":2}}],["关闭通道",{"2":{"98":2}}],["关键字参数",{"2":{"24":2}}],["调用机器人函数",{"2":{"295":1}}],["调用机器人api",{"2":{"295":1}}],["调用重启进程方法",{"2":{"287":1}}],["调用函数",{"2":{"280":1}}],["调用bot",{"2":{"280":1}}],["调用",{"2":{"92":2}}],["通过关键词搜索插件",{"2":{"297":1}}],["通过装饰器注册一个函数在接收到消息时运行",{"2":{"268":1}}],["通常是目录不存在或目录为空",{"2":{"230":2}}],["通常为纯文本的格式",{"2":{"165":1}}],["通常会默认传入chan",{"2":{"137":2}}],["通信",{"2":{"89":1}}],["通道实例",{"2":{"76":2,"77":2,"78":2,"79":2}}],["通道名称",{"2":{"76":2,"78":2}}],["通道传递通道",{"2":{"73":1,"74":1}}],["通道id",{"2":{"66":2,"95":2}}],["依赖关系",{"2":{"88":1}}],["主题包中的html渲染使用js来规定数据的渲染位置",{"2":{"291":1}}],["主题商店提供了一些资源包供你选择",{"2":{"291":1}}],["主进程中",{"2":{"268":1}}],["主进程中通过get",{"2":{"268":1}}],["主进程订阅者接收函数",{"2":{"100":1}}],["主进程创建单例",{"2":{"73":1,"74":1}}],["主动通道传递通道",{"2":{"80":1}}],["子进程中获取通道直接导入进程全局单例即可",{"2":{"268":1}}],["子进程中导入单例active",{"2":{"268":1}}],["子进程订阅者接收函数",{"2":{"101":1}}],["子进程初始化时实例化",{"2":{"73":1,"74":1}}],["子进程可用的主动和被动通道",{"2":{"71":1}}],["接收频道",{"2":{"165":1}}],["接收数据",{"2":{"97":2}}],["接收数据并执行函数",{"2":{"70":2}}],["接收函数",{"2":{"61":1}}],["会自动判断key版本",{"2":{"301":1}}],["会自动识别文件格式",{"2":{"127":2}}],["会触发最大递归深度限制",{"2":{"281":1}}],["会话负载信息",{"2":{"293":1}}],["会话类型",{"2":{"165":1}}],["会话id",{"2":{"165":1}}],["会挂起等待",{"2":{"69":2}}],["会阻塞线程",{"2":{"68":2}}],["数据",{"2":{"67":2,"68":2,"69":2,"96":2,"97":2,"108":2,"110":2}}],["没有异步的必要",{"2":{"67":2}}],["过滤函数",{"2":{"64":1,"70":2}}],["轻雪天气liteyuki",{"0":{"301":1},"1":{"302":1}}],["轻雪文档",{"2":{"296":1}}],["轻雪命令liteyuki",{"0":{"295":1},"1":{"296":1}}],["轻雪会收集以下内容",{"2":{"293":1}}],["轻雪原版资源包请查看liteyukibot",{"2":{"291":1}}],["轻雪主进程不涉及聊天部分",{"2":{"287":1}}],["轻雪插件是轻雪内置的一部分功能",{"2":{"284":1}}],["轻雪函数",{"0":{"278":1},"1":{"279":1,"280":1,"281":1,"282":1,"283":1},"2":{"278":1}}],["轻雪框架提供了一个内存共享通信的接口",{"2":{"270":1}}],["轻雪抽象消息事件",{"2":{"165":2}}],["轻雪生命周期管理",{"2":{"44":2}}],["轻雪实例",{"2":{"33":2}}],["进程生命周期函数",{"2":{"48":4,"50":4}}],["进程函数关键字参数",{"2":{"137":2}}],["进程函数参数",{"2":{"137":2}}],["进程函数",{"2":{"42":1,"137":2}}],["进程名",{"2":{"23":2,"137":2}}],["|",{"0":{"45":1,"155":1,"165":1,"166":1,"229":1},"2":{"39":1,"42":1,"45":3,"61":1,"64":1,"155":1,"165":1,"166":1,"229":1}}],["7",{"2":{"36":1,"131":1,"160":1,"228":1,"232":1,"233":1}}],["兼容键",{"2":{"35":2}}],["兼容旧版本",{"2":{"35":2}}],["获取用户信息",{"2":{"299":1}}],["获取唯一的轻雪bot实例",{"2":{"287":1}}],["获取共享内存",{"2":{"271":1}}],["获取主动通道",{"2":{"268":1}}],["获取被动通道",{"2":{"268":1}}],["获取已加载的插件",{"2":{"227":2}}],["获取函数和类",{"2":{"222":2}}],["获取相对路径",{"2":{"219":2}}],["获取所有键值对",{"2":{"107":2}}],["获取键值对",{"2":{"105":2}}],["获取通道实例们",{"2":{"79":2}}],["获取通道实例",{"2":{"78":2}}],["获取配置",{"2":{"34":2,"35":2}}],["获取轻雪实例",{"2":{"33":2}}],["未实现",{"2":{"29":2,"32":2,"55":2,"57":2}}],["31",{"2":{"256":1}}],["3",{"2":{"22":1,"23":2,"34":3,"35":5,"45":1,"70":1,"76":1,"77":2,"78":1,"79":2,"159":1,"230":1,"268":1}}],["3a",{"2":{"22":1,"23":2,"34":3,"35":5,"45":1,"70":1,"76":1,"77":2,"78":1,"79":2}}],["300~500mb",{"2":{"15":1}}],["延迟重启时间",{"2":{"22":2}}],["外部启动接口",{"2":{"20":2}}],["初始化通道",{"2":{"66":2,"95":2}}],["初始化日志",{"2":{"25":2}}],["初始化轻雪",{"2":{"24":2}}],["初始化轻雪实例",{"2":{"19":2}}],["初始化",{"2":{"19":1}}],["=none",{"2":{"23":1,"66":1,"70":1,"105":1,"165":2}}],["==",{"2":{"22":3,"81":1,"82":2,"83":2,"84":1,"111":1,"117":1,"118":2,"119":2,"120":2,"121":1,"161":1,"222":4,"223":2,"264":1}}],["=",{"0":{"22":1,"23":1,"34":1,"35":1,"66":1,"70":1,"105":1,"106":1,"114":1,"115":1,"127":1,"128":1,"129":1,"137":2,"153":2,"165":2,"175":3,"176":3,"189":1,"190":1,"191":1,"192":1,"193":1,"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"203":1,"204":1,"205":1,"206":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"222":1,"223":2,"224":3,"230":1,"235":1,"236":1,"237":1,"238":1,"239":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"250":1,"251":1,"252":1,"253":1,"254":1},"2":{"19":7,"22":6,"23":2,"44":7,"45":1,"66":10,"67":1,"68":1,"69":2,"70":1,"76":1,"78":1,"79":1,"82":1,"83":1,"84":1,"87":2,"91":1,"95":4,"103":6,"104":2,"105":2,"106":1,"107":1,"109":2,"111":1,"113":1,"118":3,"119":2,"120":1,"121":1,"123":2,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":5,"135":3,"137":5,"139":1,"146":3,"153":2,"155":4,"162":1,"165":10,"166":1,"170":5,"175":1,"180":1,"221":1,"222":17,"223":16,"224":13,"229":12,"230":6,"231":5,"261":1,"262":2,"264":1,"265":1,"268":5,"271":1,"286":1,"287":2}}],["常规操作",{"2":{"19":1}}],[">=",{"2":{"170":1}}],[">",{"2":{"19":1,"27":1,"31":1,"33":1,"34":1,"35":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"68":1,"69":1,"70":3,"78":1,"79":1,"91":1,"92":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":2,"123":2,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"141":1,"146":1,"153":2,"161":1,"171":2,"172":1,"175":1,"176":1,"181":2,"182":2,"183":1,"184":1,"185":1,"219":1,"222":1,"223":3,"224":1,"227":1,"229":1,"230":1,"231":3,"261":1,"264":2,"265":1,"301":2}}],["配置项",{"2":{"301":1}}],["配置项目",{"2":{"123":2}}],["配置了命令别名的命令可以使用别名代替原命令",{"2":{"294":1}}],["配置文件尽量扁平化",{"2":{"122":1}}],["配置值",{"2":{"34":2,"35":2}}],["配置键",{"2":{"34":2,"35":2}}],["配置",{"2":{"19":3,"296":1}}],["$",{"2":{"13":3}}],["kill",{"2":{"139":1}}],["k",{"2":{"123":2,"223":2}}],["keyword",{"2":{"176":2}}],["keywords为城市名",{"2":{"301":2}}],["keywords",{"0":{"176":2},"2":{"176":5,"297":1,"301":2}}],["keyerror",{"2":{"106":1}}],["keyvaluestore",{"0":{"102":1},"1":{"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1},"2":{"113":1,"116":1}}],["keys",{"0":{"35":1},"2":{"35":4}}],["key",{"0":{"34":1,"35":1,"104":1,"105":1,"106":2},"2":{"34":4,"35":11,"104":7,"105":7,"106":13,"118":3,"119":3,"120":3,"123":2,"271":2,"295":4,"299":2,"301":1}}],["keyboardinterrupt",{"2":{"20":1}}],["keeping",{"2":{"21":1}}],["keep",{"0":{"21":1},"2":{"21":1}}],["kwargs=none",{"2":{"137":1}}],["kwargs",{"0":{"19":1,"24":1,"45":1,"54":1,"56":1,"92":1,"137":1},"2":{"19":4,"24":3,"45":3,"54":2,"56":2,"92":2,"137":5,"146":2,"265":2,"295":2}}],["kritor",{"2":{"8":1}}],["knowledge",{"2":{"273":1}}],["know",{"2":{"6":2}}],["qq群号",{"2":{"303":1}}],["qq",{"0":{"8":1},"2":{"7":1,"8":3}}],["question",{"2":{"6":1}}],["questions",{"0":{"6":1,"7":1,"16":1}}],["quotes",{"2":{"276":2}}],["quot",{"2":{"3":2,"276":1,"283":2,"295":2,"301":4}}],["js",{"2":{"8":1}}],["json",{"0":{"125":1},"2":{"0":2,"125":5,"127":2,"129":1}}],["join",{"0":{"138":1},"2":{"7":1,"22":1,"128":1,"138":2,"139":1,"221":1,"223":4,"224":1,"230":2,"264":2}}],["guidelines",{"2":{"276":2}}],["guide",{"0":{"272":1},"1":{"273":1,"274":1,"275":1,"276":1,"277":1},"2":{"276":1}}],["g",{"2":{"231":1,"304":1}}],["group",{"2":{"165":2,"295":9,"296":1,"297":2,"303":3,"304":1}}],["group775840726",{"2":{"7":1}}],["green>",{"2":{"162":1}}],["gather",{"2":{"45":1,"262":1}}],["getattr",{"2":{"261":1}}],["get",{"0":{"33":1,"34":1,"35":1,"78":1,"79":1,"83":1,"84":1,"105":1,"107":1,"113":1,"118":1,"121":1,"161":1,"219":1,"221":1,"222":1,"227":1},"2":{"23":2,"33":2,"34":3,"35":5,"66":2,"67":1,"69":1,"78":2,"79":2,"82":1,"83":4,"84":3,"104":1,"105":4,"106":1,"107":2,"113":1,"116":1,"117":1,"118":3,"120":1,"121":3,"155":1,"161":1,"162":2,"219":1,"221":1,"222":5,"224":3,"225":1,"227":1,"229":3,"230":1,"259":2,"262":1,"268":8,"271":1,"287":2,"295":3,"296":1,"299":2}}],["generic",{"0":{"65":1},"1":{"66":1,"67":1,"68":1,"69":1,"70":1},"2":{"66":2,"67":1,"76":1,"77":1,"78":1,"79":1}}],["generate",{"0":{"223":1,"224":1},"2":{"0":1,"223":1,"224":3,"276":1}}],["gensokyo",{"2":{"8":1}}],["globalkeyvaluestore",{"0":{"112":1},"1":{"113":1,"114":1,"115":1},"2":{"116":1}}],["global",{"2":{"19":1,"70":1,"297":2,"298":2}}],["gt",{"0":{"19":1,"27":1,"31":1,"33":1,"34":1,"35":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"68":1,"69":1,"70":1,"78":1,"79":1,"91":1,"92":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"141":1,"153":1,"161":1,"171":1,"172":1,"175":1,"176":1,"181":1,"182":1,"183":1,"184":1,"185":1,"219":1,"222":1,"223":1,"227":1,"229":1,"230":1,"231":1,"261":1,"264":1,"265":1},"2":{"88":3,"123":1,"170":1,"264":1,"276":2,"294":1,"295":7,"297":10,"299":2}}],["google",{"2":{"276":2}}],["go",{"2":{"8":2,"267":1}}],["gitmoji",{"2":{"276":2}}],["github",{"2":{"7":1,"12":1,"13":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":1,"67":1,"68":1,"69":1,"70":1,"76":1,"77":1,"78":1,"79":1,"82":1,"83":1,"84":1,"87":1,"91":1,"92":1,"95":1,"96":1,"97":1,"98":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"113":1,"118":1,"119":1,"120":1,"121":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"146":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"155":1,"161":1,"162":1,"165":1,"166":1,"170":1,"171":1,"172":1,"174":1,"175":1,"176":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"227":1,"229":1,"230":1,"231":1,"249":1,"257":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":1}}],["git",{"2":{"6":1,"12":2,"13":1,"15":2}}],["`pathlib",{"2":{"229":1}}],["`path",{"2":{"229":1}}],["`pip`",{"2":{"229":1}}],["`process",{"2":{"30":2,"31":2,"45":1,"48":2,"50":2}}],["`dict`",{"2":{"77":1,"79":1}}],["`channel`",{"2":{"76":1,"77":1,"78":1,"79":1}}],["`filter",{"2":{"70":1}}],["`async",{"2":{"45":1}}],["`any`",{"2":{"34":2,"35":2}}],["`sequence`",{"2":{"45":1}}],["`str`",{"2":{"23":1,"34":1,"35":2,"76":1,"77":1,"78":1,"79":1}}],["`tuple`",{"2":{"35":1}}],["`liteyukibot`",{"2":{"33":1}}],["`lifespan",{"2":{"27":2,"28":2,"29":2,"32":2,"46":2,"47":2,"49":2,"51":2}}],["`optional`",{"2":{"23":1,"70":1}}],["`int`",{"2":{"22":1}}],["`",{"2":{"3":1,"223":14,"229":1}}],["validate",{"2":{"67":1}}],["value=ast",{"2":{"222":1}}],["valueerror",{"2":{"66":2,"76":1}}],["value2",{"2":{"2":1}}],["value1",{"2":{"2":1}}],["value",{"0":{"104":1,"205":1},"2":{"2":1,"3":3,"104":6,"119":3,"123":3,"222":6,"223":3,"271":2,"295":2,"299":1}}],["var=value",{"2":{"280":1}}],["var2=value2",{"2":{"280":1}}],["var1=value1>",{"2":{"280":1}}],["var",{"0":{"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"71":1,"72":1,"73":1,"74":1,"75":1,"80":1,"81":1,"100":1,"101":1,"116":1,"117":1,"144":1,"145":1,"159":1,"178":1,"225":1},"2":{"27":2,"28":2,"29":2,"30":2,"31":2,"32":2,"45":2,"46":2,"47":2,"48":2,"49":2,"50":2,"51":2,"70":1,"223":2}}],["version=",{"2":{"286":1}}],["version",{"0":{"159":1},"2":{"15":1,"292":1}}],["venv",{"2":{"12":4}}],["v",{"2":{"13":2,"123":2,"223":2}}],["vitepress",{"2":{"276":1}}],["view",{"2":{"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":1,"67":1,"68":1,"69":1,"70":1,"76":1,"77":1,"78":1,"79":1,"82":1,"83":1,"84":1,"87":1,"91":1,"92":1,"95":1,"96":1,"97":1,"98":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"113":1,"118":1,"119":1,"120":1,"121":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"146":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"155":1,"161":1,"162":1,"165":1,"166":1,"170":1,"171":1,"172":1,"174":1,"175":1,"176":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"227":1,"229":1,"230":1,"231":1,"249":1,"257":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":1}}],["virtual",{"2":{"6":1,"12":3}}],["visit",{"2":{"3":1}}],["v11协议api",{"2":{"295":2}}],["v11",{"2":{"3":1,"282":1}}],["2s戳两次",{"2":{"281":1}}],["22",{"2":{"256":1}}],["27",{"2":{"131":1,"160":1}}],["24",{"2":{"36":1,"233":1}}],["23",{"2":{"36":1,"187":1,"228":1,"232":1}}],["20代替空格",{"2":{"295":1}}],["20和end",{"2":{"281":1}}],["2024",{"2":{"36":2,"131":2,"154":2,"160":2,"163":2,"167":2,"168":2,"173":2,"177":2,"186":2,"187":2,"228":2,"232":2,"233":2,"256":2,"258":2}}],["2020",{"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["20216",{"2":{"1":1,"3":1,"13":4}}],["20",{"2":{"15":1}}],["2019+",{"2":{"15":1}}],["2",{"2":{"2":1,"281":1,"292":1}}],["object",{"2":{"267":1}}],["observer",{"0":{"143":1},"1":{"144":1,"145":1,"146":1,"147":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1},"2":{"153":1,"287":2}}],["occurred",{"2":{"262":1}}],["occupy",{"2":{"15":1}}],["overall",{"2":{"158":1}}],["os",{"2":{"127":1,"128":3,"219":1,"220":4,"221":2,"222":1,"224":2,"230":9,"287":2}}],["outlook",{"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["output",{"0":{"224":1},"2":{"2":1,"224":6}}],["open",{"2":{"22":1,"124":1,"125":1,"126":1,"220":1,"222":1,"277":1}}],["openshamrock",{"2":{"8":1}}],["option",{"2":{"294":1}}],["optional",{"0":{"23":1,"66":1,"70":1,"105":2,"165":2,"229":1,"254":1},"2":{"22":2,"23":3,"34":2,"35":2,"66":1,"70":5,"103":2,"105":3,"165":2,"229":1}}],["opt",{"2":{"20":2,"229":3}}],["ordinary",{"2":{"276":1}}],["order",{"2":{"224":1}}],["organization",{"2":{"273":1}}],["org",{"2":{"22":1,"23":2,"34":3,"35":5,"45":1,"70":1,"76":1,"77":2,"78":1,"79":2}}],["or",{"0":{"181":1},"2":{"4":1,"6":2,"15":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":1,"67":1,"68":1,"69":1,"70":1,"76":1,"77":1,"78":1,"79":1,"82":1,"83":1,"84":1,"87":1,"91":1,"92":1,"95":1,"96":1,"97":1,"98":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"113":1,"118":1,"119":1,"120":1,"121":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"146":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"155":1,"161":1,"162":1,"165":1,"166":1,"170":1,"171":1,"172":1,"174":1,"175":1,"176":1,"180":1,"181":3,"182":1,"183":1,"184":1,"185":1,"219":1,"220":1,"221":1,"222":5,"223":1,"224":1,"227":1,"229":1,"230":1,"231":1,"249":1,"257":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":1,"276":3}}],["of",{"0":{"3":1},"2":{"6":3,"9":1,"13":1,"15":1,"67":1,"76":1,"158":1,"229":1,"273":4,"276":5}}],["other",{"0":{"2":1,"4":1,"7":1,"16":1,"181":1,"182":1},"2":{"2":1,"3":1,"9":1,"15":2,"165":1,"181":2,"182":2,"267":3}}],["one",{"2":{"6":1,"268":1}}],["onebotv11",{"2":{"8":4}}],["onebot",{"0":{"3":1},"2":{"2":2,"3":2,"4":1,"6":2,"8":1,"282":1,"295":1}}],["only",{"2":{"0":1,"6":1,"70":1,"268":1}}],["on",{"0":{"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"59":1,"60":1,"61":1,"70":1,"82":1,"83":1,"84":1,"91":2,"100":1,"101":1,"109":3,"118":1,"119":1,"120":1,"121":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"173":1,"175":1,"176":1},"1":{"174":1,"175":1,"176":1},"2":{"0":1,"3":1,"6":1,"7":1,"8":4,"12":1,"15":3,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":3,"28":3,"29":3,"30":3,"31":3,"32":3,"33":1,"34":1,"35":1,"44":1,"45":1,"46":2,"47":2,"48":2,"49":2,"50":2,"51":2,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"61":2,"66":3,"67":1,"68":1,"69":1,"70":5,"76":1,"77":1,"78":1,"79":1,"81":1,"82":4,"83":4,"84":3,"87":1,"91":5,"92":2,"95":1,"96":1,"97":1,"98":1,"100":1,"101":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":12,"110":2,"111":1,"113":1,"117":1,"118":4,"119":4,"120":4,"121":3,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"146":1,"148":3,"149":3,"150":3,"151":3,"152":3,"153":3,"155":1,"161":1,"162":1,"165":1,"166":1,"170":1,"171":1,"172":1,"173":1,"174":1,"175":2,"176":5,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"227":1,"229":1,"230":1,"231":1,"249":1,"256":1,"257":2,"259":1,"261":1,"262":1,"263":1,"264":1,"265":1,"268":6,"276":1,"287":1}}],["45m",{"2":{"303":2}}],["44",{"2":{"167":1}}],["47",{"2":{"163":1,"186":1}}],["41",{"2":{"13":1}}],["40",{"2":{"13":1}}],["4",{"2":{"1":1}}],["utility",{"2":{"275":1}}],["utils",{"0":{"260":1},"1":{"261":1,"262":1,"263":1,"264":1,"265":1},"2":{"275":1}}],["utf",{"2":{"124":1,"125":1,"126":1,"220":1,"222":1}}],["ubuntu",{"2":{"15":1}}],["unload",{"2":{"297":1,"298":1}}],["understand",{"2":{"276":1}}],["underlying",{"2":{"10":1}}],["unit",{"2":{"275":1}}],["uninstall",{"2":{"6":2,"297":1,"298":1}}],["until",{"2":{"262":2}}],["unclassified",{"0":{"238":2,"244":1}}],["unparse",{"2":{"222":10}}],["unsupported",{"2":{"127":1}}],["usage",{"0":{"243":1},"2":{"273":1}}],["using",{"2":{"6":2,"13":1}}],["users",{"2":{"276":1}}],["user",{"0":{"165":1,"299":1},"2":{"165":3,"166":2,"185":1,"276":1,"281":3}}],["used",{"2":{"70":1,"255":1,"268":1,"276":1}}],["use",{"0":{"14":1},"2":{"1":1,"3":2,"4":2,"6":6,"8":1,"12":4,"13":1,"14":1,"15":2,"35":1,"229":1,"274":1,"276":2}}],["updates",{"2":{"1":1}}],["update",{"2":{"1":2,"2":2,"6":1,"15":2,"127":3,"128":1,"129":1,"295":1,"296":1,"297":1,"298":1}}],["feat",{"2":{"276":1}}],["features",{"2":{"276":2}}],["feature",{"2":{"276":1}}],["flake8",{"2":{"274":1}}],["flat",{"0":{"123":1},"2":{"123":2,"124":1,"125":1,"126":1}}],["flag",{"2":{"44":1}}],["f",{"2":{"22":1,"23":2,"35":1,"66":4,"67":1,"76":2,"123":1,"124":1,"125":1,"126":1,"127":2,"128":1,"136":1,"139":2,"141":1,"220":2,"223":19,"224":1,"229":5,"230":9,"231":1,"262":1,"268":2,"287":1}}],["friend",{"2":{"281":2}}],["front",{"0":{"223":1},"2":{"223":6,"224":3,"273":1}}],["from",{"0":{"124":1,"125":1,"126":1,"127":1,"128":1},"2":{"68":1,"124":4,"125":4,"126":4,"127":4,"128":2,"129":2,"267":1,"268":4,"286":1,"287":3}}],["framework",{"2":{"10":1,"158":1,"267":1,"273":1,"275":3}}],["frequently",{"0":{"6":1}}],["future",{"2":{"262":1}}],["func=none",{"2":{"153":1}}],["func=lambda",{"2":{"81":1,"82":2,"83":2,"84":1,"268":1}}],["funcs",{"0":{"45":2,"100":1,"101":1,"110":1},"2":{"44":6,"45":5,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":2,"53":2,"54":2,"55":2,"56":2,"57":2,"70":1,"109":6,"110":2,"111":1}}],["func`",{"2":{"27":2,"28":2,"29":2,"30":2,"31":2,"32":2,"45":2,"46":2,"47":2,"48":2,"49":2,"50":2,"51":2,"70":1}}],["func",{"0":{"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":4,"28":3,"29":3,"30":3,"31":4,"32":3,"33":1,"34":1,"35":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"44":1,"45":3,"46":4,"47":4,"48":4,"49":4,"50":4,"51":4,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"66":1,"67":1,"68":1,"69":1,"70":3,"76":1,"77":1,"78":1,"79":1,"82":1,"83":1,"84":1,"87":1,"91":2,"92":1,"95":1,"96":1,"97":1,"98":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":3,"110":1,"111":1,"113":1,"118":1,"119":1,"120":1,"121":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"135":1,"136":1,"137":2,"138":1,"139":1,"140":1,"141":1,"144":1,"145":1,"146":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":4,"155":1,"161":1,"162":1,"165":1,"166":1,"170":1,"171":1,"172":1,"174":1,"175":1,"176":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"227":1,"229":1,"230":1,"231":1,"249":1,"257":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":2},"2":{"27":10,"28":9,"29":9,"30":9,"31":10,"32":9,"39":2,"42":2,"44":6,"45":10,"46":11,"47":11,"48":11,"49":11,"50":11,"51":11,"61":2,"64":2,"66":2,"70":22,"91":1,"100":1,"101":1,"109":8,"110":2,"137":1,"146":2,"153":7,"222":2,"223":9,"261":2,"265":5,"280":1}}],["function实现语法高亮",{"2":{"283":1}}],["functiondef",{"2":{"222":3}}],["functioninfo",{"0":{"194":1,"210":1,"215":1},"1":{"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1},"2":{"222":2}}],["functions=",{"2":{"222":1}}],["functions",{"0":{"215":1},"2":{"22":1,"34":2,"35":2,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"222":1,"223":1}}],["function",{"0":{"189":2},"2":{"6":2,"15":2,"222":3,"268":1,"278":1,"280":1,"281":2,"295":3}}],["full",{"2":{"6":1,"268":1}}],["familiar",{"2":{"273":2}}],["failed",{"2":{"6":2,"229":1}}],["faq",{"0":{"5":1},"1":{"6":1,"7":1,"8":1,"9":1,"10":1}}],["false时例如docs",{"2":{"224":2}}],["false",{"0":{"127":1,"128":1,"129":1,"175":1,"176":1,"224":1},"2":{"2":4,"66":2,"95":1,"103":2,"261":1}}],["follow",{"2":{"276":4}}],["following",{"2":{"2":1,"273":1,"276":2}}],["folder",{"0":{"221":1,"224":1},"2":{"221":2,"224":5,"225":1,"255":1}}],["found",{"2":{"67":1,"76":1,"127":1,"128":1,"139":1,"141":1}}],["font",{"2":{"10":1}}],["fonts",{"2":{"1":1}}],["fork",{"2":{"273":1}}],["formatting",{"2":{"274":1}}],["format=get",{"2":{"162":1}}],["formats",{"2":{"128":1}}],["format",{"0":{"161":1,"231":1},"2":{"127":1,"161":3,"162":1,"229":2,"231":1,"276":1}}],["for",{"0":{"16":1},"2":{"1":1,"3":2,"6":2,"8":1,"23":1,"35":1,"45":1,"66":1,"77":1,"110":1,"123":2,"127":1,"128":2,"136":1,"138":1,"140":1,"153":1,"172":1,"174":1,"176":1,"220":1,"221":2,"222":12,"223":9,"224":3,"230":2,"259":2,"262":2,"267":1,"268":1,"274":1,"276":5,"286":1}}],["finally",{"0":{"277":1}}],["field",{"2":{"276":3}}],["fields",{"2":{"0":1,"3":2}}],["fixing",{"2":{"276":2}}],["filter=lambda",{"2":{"287":1}}],["filter",{"0":{"62":1,"63":1,"64":1,"70":2,"145":1,"153":2},"2":{"64":2,"70":10,"81":1,"82":2,"83":2,"84":1,"153":6,"268":1}}],["file",{"0":{"124":1,"125":1,"126":1,"153":1,"220":1,"221":1,"222":1},"2":{"3":1,"6":1,"36":1,"124":5,"125":5,"126":5,"127":12,"128":3,"131":1,"153":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"220":4,"221":7,"222":9,"224":6,"228":1,"232":1,"233":1,"256":1,"258":1,"275":1,"287":3}}],["filesystemeventhandler",{"0":{"147":1},"1":{"148":1,"149":1,"150":1,"151":1,"152":1}}],["filesystemevent",{"2":{"144":1,"145":1,"153":1,"287":2}}],["files",{"0":{"127":2,"220":1},"2":{"0":4,"127":3,"128":1,"129":1,"220":1,"221":2,"224":1}}],["fill",{"2":{"1":1,"3":1,"276":1}}],["first",{"2":{"0":1,"6":1,"222":2,"273":1}}],["b包也定义了一个index",{"2":{"292":1}}],["bilingual",{"2":{"276":1}}],["bind",{"2":{"302":1}}],["binding",{"2":{"1":1}}],["bin",{"2":{"12":1}}],["brief",{"2":{"276":1}}],["branch",{"2":{"273":4}}],["break",{"2":{"174":1}}],["browser",{"2":{"6":1}}],["black",{"2":{"274":1}}],["block",{"0":{"170":1,"175":1,"176":1},"2":{"170":5,"175":2,"176":2}}],["blue>",{"2":{"162":1}}],["b",{"2":{"123":3,"224":4,"264":4,"304":1}}],["body",{"2":{"222":1}}],["bool=false",{"2":{"127":1,"128":1,"129":1,"175":1,"176":1,"224":1}}],["bool=true",{"2":{"106":1,"153":1,"222":1,"230":1}}],["bool",{"0":{"66":1,"106":1,"127":1,"128":1,"129":1,"141":1,"153":1,"170":1,"175":1,"176":1,"183":1,"184":1,"185":1,"201":1,"222":1,"224":1,"230":1,"261":1},"2":{"62":1,"63":1,"66":1,"141":1,"145":1,"170":1,"178":1,"181":1,"182":1,"183":1,"184":1,"185":1,"261":3}}],["both",{"2":{"275":1}}],["bot",{"0":{"17":1,"33":1,"36":1,"165":1},"1":{"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1},"2":{"1":1,"2":1,"6":2,"9":1,"12":1,"15":1,"19":2,"33":4,"34":1,"35":4,"155":2,"165":4,"166":2,"268":4,"275":2,"279":1,"287":2,"295":1,"303":3,"304":1}}],["bugs",{"2":{"276":2}}],["bug",{"2":{"276":2}}],["business",{"2":{"275":1}}],["built",{"2":{"255":2,"275":1}}],["build",{"2":{"13":2}}],["but",{"2":{"3":1,"6":1,"268":1,"276":1}}],["bases",{"2":{"222":1}}],["base",{"0":{"219":1},"2":{"219":4,"222":2}}],["basemodel",{"0":{"194":1,"202":1,"207":1,"213":1,"240":1,"248":1},"1":{"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"203":1,"204":1,"205":1,"206":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"249":1,"250":1,"251":1,"252":1,"253":1,"254":1}}],["baseexception",{"0":{"157":1}}],["based",{"2":{"8":4}}],["bash",{"2":{"12":1}}],["basically",{"2":{"3":1}}],["basic",{"0":{"1":1},"2":{"273":2}}],["better",{"2":{"277":1}}],["between",{"2":{"6":1}}],["before",{"0":{"27":1,"30":1,"31":1,"46":1,"48":1,"50":1,"52":1,"54":1,"56":1},"2":{"27":2,"30":2,"31":2,"44":3,"46":2,"48":2,"50":2,"52":3,"54":3,"56":3}}],["below",{"2":{"6":1}}],["been",{"2":{"6":1}}],["be",{"2":{"3":1,"6":2,"15":1,"35":1,"67":1,"70":1,"76":1,"148":1,"268":1,"276":2}}],["by",{"2":{"3":1,"4":1,"6":2,"268":1,"274":1}}],["14s",{"2":{"303":2}}],["1h",{"2":{"303":2}}],["1d",{"2":{"303":2}}],["1145141919810",{"2":{"295":1}}],["11",{"2":{"258":1}}],["19",{"2":{"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1}}],["1919810",{"2":{"1":1}}],["10",{"2":{"159":1,"295":1}}],["10+",{"2":{"12":1,"15":1}}],["18",{"2":{"154":1}}],["12",{"2":{"131":1,"160":1}}],["127",{"2":{"1":1,"3":1}}],["1gb",{"2":{"15":2}}],["1vcpu",{"2":{"15":1}}],["1",{"2":{"1":1,"2":1,"3":1,"21":1,"22":2,"23":2,"70":1,"82":2,"83":2,"84":1,"111":2,"118":3,"119":2,"120":1,"121":1,"123":3,"147":1,"148":1,"223":6,"224":1,"229":4,"264":2,"286":1,"292":2}}],["03",{"2":{"268":2}}],["0000",{"2":{"268":3}}],["00",{"2":{"268":18}}],["02",{"2":{"233":1,"258":1}}],["04",{"2":{"154":1}}],["04+",{"2":{"15":1}}],["0",{"0":{"22":1,"175":1,"176":1},"2":{"1":2,"3":2,"19":1,"21":1,"22":3,"44":1,"81":1,"82":2,"83":2,"84":1,"111":1,"117":2,"118":2,"119":2,"120":2,"121":1,"170":2,"222":1,"223":7,"281":1,"286":2,"292":2}}],["hints",{"2":{"276":1}}],["hint",{"2":{"66":1,"222":1,"223":1}}],["html中用",{"2":{"292":1}}],["html文件会被覆盖",{"2":{"292":1}}],["html文件",{"2":{"292":2}}],["html",{"2":{"22":1,"23":2,"34":3,"35":5,"45":1,"70":1,"76":1,"77":2,"78":1,"79":2,"292":1}}],["https",{"2":{"12":1,"13":1,"22":1,"23":2,"34":3,"35":5,"45":1,"70":1,"76":1,"77":2,"78":1,"79":2}}],["harmless",{"2":{"276":1}}],["handlers",{"2":{"170":1,"171":1,"172":1}}],["handler",{"0":{"180":1},"2":{"153":3,"171":5,"172":2,"180":3,"181":4,"182":4,"183":2}}],["handle",{"0":{"171":1},"2":{"6":1,"171":1,"256":1,"257":1}}],["hash",{"0":{"249":1},"2":{"249":2}}],["has",{"2":{"6":1,"276":1}}],["have",{"2":{"3":1,"6":3,"7":1,"13":1,"15":1}}],["homepage",{"0":{"246":1}}],["how",{"0":{"273":1},"1":{"274":1},"2":{"6":2}}],["host",{"2":{"1":1}}],["hello",{"2":{"279":5,"295":1}}],["help",{"2":{"6":2,"297":1,"298":1}}],["here",{"2":{"3":2}}],["header",{"2":{"1":1,"6":1}}],["echo",{"2":{"279":3}}],["easy",{"2":{"276":1}}],["each",{"2":{"276":2}}],["editing",{"2":{"276":1}}],["etc",{"2":{"276":1}}],["e",{"2":{"106":2,"229":1,"231":1,"262":2}}],["emoji",{"2":{"276":1}}],["emsp",{"2":{"223":4}}],["email",{"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["empty",{"0":{"175":1,"176":1,"184":1},"2":{"1":1,"184":1,"229":1,"230":1}}],["else",{"2":{"22":1,"23":1,"33":1,"45":1,"66":1,"70":2,"76":1,"78":1,"79":1,"104":1,"105":1,"106":1,"107":1,"109":2,"124":1,"125":1,"126":1,"161":1,"162":5,"174":1,"222":9,"223":10,"224":2,"229":2,"262":1,"264":1}}],["elif",{"2":{"22":2,"66":1,"70":1,"127":4,"222":5,"229":2,"230":1}}],["event装饰器监听文件系统事件",{"2":{"287":1}}],["events",{"2":{"287":1}}],["eventhandler",{"0":{"171":2},"2":{"170":1,"171":4}}],["event",{"0":{"85":1,"86":1,"148":1,"149":1,"150":1,"151":1,"152":2,"153":2,"163":1,"172":1,"183":1,"184":1,"185":1,"257":1},"1":{"86":1,"87":2,"164":1,"165":1,"166":1},"2":{"19":4,"21":1,"26":1,"88":1,"148":1,"149":2,"150":2,"151":2,"152":3,"153":9,"163":1,"166":2,"172":5,"176":2,"181":3,"182":3,"183":2,"184":1,"185":2,"257":3,"262":2,"276":1,"287":8}}],["every",{"2":{"1":1}}],["errors=true",{"2":{"224":1}}],["errors",{"2":{"6":1}}],["error",{"0":{"106":1},"2":{"6":1,"106":4,"162":2,"262":1}}],["extra",{"0":{"247":1}}],["extensions",{"2":{"287":2}}],["extend",{"2":{"155":1}}],["external",{"2":{"1":1}}],["exclude",{"2":{"287":2}}],["exc",{"2":{"172":1,"229":1}}],["exception模块包含了liteyuki运行中的所有错误",{"2":{"156":1}}],["exception",{"0":{"156":1},"1":{"157":1},"2":{"21":1,"172":1,"229":1,"262":2}}],["except",{"2":{"20":1,"21":1,"106":1,"172":1,"229":1,"262":2}}],["executor",{"2":{"69":1}}],["executable",{"2":{"6":1,"15":1,"22":3}}],["exist",{"2":{"230":1}}],["exists",{"2":{"66":2,"76":1,"127":1,"128":1,"220":1,"230":2}}],["exit",{"2":{"22":1}}],["exiting",{"2":{"21":1}}],["example",{"0":{"3":1,"268":1},"2":{"6":2}}],["enclosed",{"2":{"276":1}}],["encoding=",{"2":{"124":1,"125":1,"126":1,"220":1,"222":1}}],["encountered",{"2":{"9":1}}],["english",{"2":{"275":1}}],["en",{"2":{"275":1}}],["entry",{"2":{"275":1}}],["enter",{"2":{"6":1}}],["end",{"2":{"273":1,"280":1}}],["endswith",{"2":{"127":3,"128":1,"221":1,"230":1,"287":1}}],["enum",{"0":{"188":1,"234":1},"1":{"189":1,"190":1,"191":1,"192":1,"193":1,"235":1,"236":1,"237":1,"238":1,"239":1}}],["enumerate",{"2":{"174":1}}],["enforcing",{"2":{"66":1}}],["environment",{"2":{"12":4}}],["environments",{"2":{"3":1,"6":1,"15":1}}],["ensure",{"2":{"1":1,"262":1,"273":1,"276":7}}],["enable",{"2":{"1":1,"274":1,"295":2,"296":1,"297":2,"298":2}}],["msg",{"2":{"295":1}}],["mcfunction",{"2":{"279":2}}],["mkdir",{"2":{"224":1}}],["mkdoc",{"0":{"187":1},"1":{"188":1,"189":1,"190":1,"191":1,"192":1,"193":1,"194":1,"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1,"205":1,"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1},"2":{"187":1}}],["md",{"2":{"224":15}}],["m",{"2":{"12":1,"15":1,"174":2,"231":1,"304":1}}],["mix",{"2":{"276":1}}],["minimum",{"2":{"15":1}}],["minecraftonebot",{"2":{"9":1}}],["minecraft",{"0":{"9":1},"2":{"9":1}}],["misans",{"2":{"10":1}}],["must",{"2":{"67":1,"76":1,"148":1}}],["much",{"2":{"6":1,"276":3}}],["multiple",{"2":{"0":1,"15":1,"276":1}}],["mypy",{"2":{"274":1}}],["my",{"2":{"6":1}}],["member",{"2":{"295":1}}],["memory",{"0":{"116":1},"2":{"15":1,"103":3,"117":1,"118":3,"119":3,"120":3,"121":2,"137":1,"267":1,"271":3}}],["meta",{"2":{"229":4,"286":1}}],["metadata",{"0":{"254":1},"2":{"229":13}}],["method",{"0":{"190":2,"191":1,"192":1},"2":{"222":5,"223":13}}],["methods=",{"2":{"222":1}}],["methods",{"0":{"210":1},"2":{"3":1,"222":1,"223":1}}],["means",{"2":{"6":1}}],["message=",{"2":{"166":1,"295":1}}],["message=message",{"2":{"166":1}}],["messageevent",{"0":{"164":1,"165":1,"172":1,"183":1,"184":1,"185":1,"257":1},"1":{"165":1,"166":1},"2":{"165":1,"166":1,"172":1,"176":1,"178":1,"181":1,"182":1,"183":1,"184":1,"185":1,"257":1}}],["messages",{"2":{"6":2,"267":2}}],["message",{"0":{"163":1,"165":3,"166":1,"167":1,"168":1,"173":1,"175":1,"177":1,"186":1},"1":{"164":1,"165":1,"166":1,"169":1,"170":1,"171":1,"172":1,"174":1,"175":1,"176":1,"178":1,"179":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1},"2":{"4":1,"6":1,"165":12,"166":6,"175":1,"176":2,"257":1,"276":5,"303":1,"304":1}}],["merge",{"2":{"0":1,"273":1}}],["mark",{"2":{"276":1}}],["markdown",{"0":{"223":1},"2":{"223":3,"224":1,"273":1,"276":1}}],["match",{"2":{"231":1}}],["matcher",{"0":{"168":1,"169":1,"174":3,"175":1,"176":1},"1":{"169":1,"170":2,"171":2,"172":2},"2":{"168":1,"174":9,"175":6,"176":1}}],["matter=none",{"2":{"223":1}}],["matter",{"0":{"223":1},"2":{"223":5,"224":3}}],["maplemono",{"2":{"10":1}}],["makedirs",{"2":{"220":1}}],["make",{"2":{"6":2,"277":1}}],["maintainer",{"2":{"273":1}}],["mainprocess",{"2":{"267":1}}],["main",{"0":{"100":1},"2":{"6":1,"12":1,"33":1,"66":4,"70":4,"76":1,"78":1,"79":1,"103":1,"104":1,"105":1,"106":1,"107":1,"109":5,"110":1,"111":1,"267":1,"268":6,"273":1,"275":1,"290":1}}],["manager",{"0":{"131":1,"232":1},"1":{"132":1,"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1},"2":{"19":1,"20":1,"22":1,"23":1,"26":1,"131":1,"232":1}}],["manage",{"2":{"14":1}}],["management",{"2":{"14":1}}],["many",{"2":{"6":1}}],["manually",{"2":{"2":1,"66":1}}],["may",{"2":{"3":1}}],["moved",{"0":{"151":1},"2":{"151":1}}],["more",{"2":{"2":1,"14":1,"15":1,"274":1}}],["moduletype",{"0":{"252":1}}],["module=module",{"2":{"229":1}}],["moduleinfo",{"0":{"213":1,"222":1,"223":1},"1":{"214":1,"215":1,"216":1,"217":1,"218":1},"2":{"222":2,"223":1}}],["module",{"0":{"17":1,"36":1,"58":1,"85":1,"88":1,"89":1,"93":1,"99":1,"122":1,"130":1,"131":1,"142":1,"143":1,"154":1,"155":1,"156":1,"158":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"214":1,"221":1,"222":1,"223":1,"224":1,"225":1,"226":1,"228":1,"229":1,"232":1,"233":1,"237":2,"252":1,"253":1,"255":1,"256":1,"258":1,"260":1,"264":1},"1":{"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"76":1,"77":1,"78":1,"79":1,"80":1,"81":1,"82":1,"83":1,"84":1,"86":1,"87":1,"90":1,"91":1,"92":1,"94":1,"95":1,"96":1,"97":1,"98":1,"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"132":1,"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"144":1,"145":1,"146":1,"147":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"155":1,"157":1,"159":1,"161":1,"162":1,"164":1,"165":1,"166":1,"169":1,"170":1,"171":1,"172":1,"174":1,"175":1,"176":1,"178":1,"179":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1,"188":1,"189":1,"190":1,"191":1,"192":1,"193":1,"194":1,"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1,"205":1,"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1,"227":1,"229":1,"230":1,"231":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"248":1,"249":1,"250":1,"251":1,"252":1,"253":1,"254":1,"257":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":1},"2":{"155":4,"158":1,"221":2,"222":11,"223":6,"224":26,"225":1,"229":27,"230":9,"231":1,"249":1,"255":1,"264":1}}],["modified",{"0":{"148":1},"2":{"13":1,"148":2,"149":1,"150":1,"151":1,"152":1,"153":4}}],["modify",{"2":{"0":2}}],["modes",{"2":{"268":1}}],["model",{"0":{"233":1,"250":1},"1":{"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"248":1,"249":1,"250":1,"251":1,"252":1,"253":1,"254":1},"2":{"233":1}}],["mode为true",{"2":{"143":1}}],["mode",{"2":{"2":5,"6":3,"268":5,"274":2,"295":2,"296":1}}],["most",{"2":{"0":1}}],["lyf结尾",{"2":{"279":1}}],["lyfunction语法",{"2":{"295":1}}],["lyfunction",{"2":{"279":1}}],["lt",{"2":{"276":2,"294":1,"295":7,"297":10,"299":2}}],["lead",{"2":{"276":1}}],["least",{"2":{"15":2}}],["level=0",{"2":{"162":1}}],["level",{"0":{"161":1},"2":{"1":3,"161":2,"162":6}}],["lsposed",{"2":{"8":1}}],["llonebot",{"2":{"8":1}}],["laptop",{"2":{"224":2}}],["lang",{"0":{"223":1,"224":1},"2":{"223":4,"224":3}}],["language",{"2":{"2":2,"273":1,"276":3}}],["last",{"2":{"146":4}}],["lambda",{"2":{"117":1,"118":2,"119":2,"120":2,"121":1}}],["lagrange",{"2":{"8":2}}],["locks",{"2":{"106":1}}],["lock",{"0":{"115":2},"2":{"104":3,"105":3,"106":3,"113":1}}],["local",{"2":{"1":1}}],["loop",{"0":{"111":1},"2":{"19":4,"66":1,"69":3,"103":2,"111":2,"262":10}}],["log0000",{"2":{"268":1}}],["logger",{"0":{"25":1},"2":{"19":1,"20":2,"21":2,"22":1,"24":1,"25":1,"35":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":2,"124":1,"125":1,"126":1,"127":2,"128":1,"136":1,"139":2,"141":1,"162":7,"229":3,"230":3,"262":1,"268":3,"287":2}}],["logo",{"2":{"19":1}}],["logic",{"2":{"6":1,"275":1}}],["login",{"2":{"6":2}}],["logs",{"2":{"2":1}}],["log",{"0":{"160":1,"162":1},"1":{"161":1,"162":1},"2":{"1":4,"6":1,"25":1,"160":1,"162":3,"268":1}}],["loaded",{"0":{"227":1},"2":{"227":1}}],["loader",{"0":{"258":1,"259":1},"1":{"259":1},"2":{"19":1,"259":1}}],["loading",{"2":{"124":1,"125":1,"126":1}}],["load",{"0":{"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"228":1,"229":1,"230":1},"1":{"229":1,"230":1,"231":1},"2":{"0":1,"2":2,"19":1,"124":4,"125":4,"126":4,"127":4,"128":2,"129":3,"155":3,"228":1,"229":3,"230":2,"259":2,"297":1,"298":1}}],["links",{"2":{"276":2}}],["linux",{"2":{"8":1,"12":1,"14":1,"15":1,"22":1}}],["like",{"2":{"267":1}}],["life",{"2":{"44":1}}],["lifespan=self",{"2":{"19":1}}],["lifespan",{"0":{"27":2,"28":1,"29":1,"30":1,"31":2,"32":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"45":2,"46":2,"47":2,"48":2,"49":2,"50":2,"51":2,"135":2},"1":{"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":2,"45":2,"46":2,"47":2,"48":2,"49":2,"50":2,"51":2,"52":2,"53":2,"54":2,"55":2,"56":2,"57":2},"2":{"19":3,"27":9,"28":8,"29":8,"30":10,"31":11,"32":8,"36":1,"39":2,"42":2,"44":6,"45":8,"46":6,"47":6,"48":8,"49":6,"50":8,"51":6,"135":4}}],["library",{"2":{"22":1,"23":2,"34":3,"35":5,"45":1,"70":1,"76":1,"77":2,"78":1,"79":2}}],["litedoc",{"2":{"276":1}}],["liteecho",{"0":{"256":1,"257":1},"1":{"257":1},"2":{"256":2,"257":2,"295":1}}],["liteloader",{"2":{"8":1}}],["liteyukiexception",{"0":{"157":1}}],["liteyukistudio",{"2":{"12":1,"13":1,"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["liteyuki",{"0":{"17":1,"36":1,"58":1,"85":1,"88":1,"89":1,"93":1,"99":1,"122":1,"130":1,"131":1,"142":1,"143":1,"154":1,"156":1,"158":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"226":1,"228":1,"232":1,"233":1,"255":1,"256":1,"258":1,"260":1,"297":1},"1":{"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"76":1,"77":1,"78":1,"79":1,"80":1,"81":1,"82":1,"83":1,"84":1,"86":1,"87":1,"90":1,"91":1,"92":1,"94":1,"95":1,"96":1,"97":1,"98":1,"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"132":1,"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"144":1,"145":1,"146":1,"147":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"155":1,"157":1,"159":1,"161":1,"162":1,"164":1,"165":1,"166":1,"169":1,"170":1,"171":1,"172":1,"174":1,"175":1,"176":1,"178":1,"179":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1,"188":1,"189":1,"190":1,"191":1,"192":1,"193":1,"194":1,"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1,"205":1,"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1,"227":1,"229":1,"230":1,"231":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"248":1,"249":1,"250":1,"251":1,"252":1,"253":1,"254":1,"257":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":1,"298":1},"2":{"1":6,"2":4,"3":2,"4":2,"6":6,"12":1,"14":1,"15":1,"19":2,"21":2,"33":1,"155":2,"158":1,"229":5,"259":3,"267":1,"268":12,"271":2,"273":4,"275":6,"276":2,"277":1,"278":1,"286":1,"287":4,"290":1,"291":1,"295":4,"296":3}}],["liteyukibot",{"0":{"18":1,"33":1},"1":{"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1},"2":{"0":5,"9":1,"12":2,"13":6,"14":1,"22":1,"33":3,"155":1,"267":1,"275":3}}],["limited",{"2":{"4":1}}],["listdir",{"2":{"128":1,"230":2}}],["listen",{"2":{"267":1}}],["listening",{"2":{"1":1}}],["listed",{"2":{"6":1}}],["list",{"0":{"165":1,"176":1,"196":1,"210":1,"211":1,"212":1,"215":1,"216":1,"217":1,"221":1},"2":{"1":4,"44":6,"66":2,"100":1,"101":1,"165":1,"170":1,"174":3,"176":1,"221":4,"222":4,"224":3,"295":1,"297":2,"298":1}}],["switch",{"2":{"295":2,"296":1}}],["simple",{"2":{"286":1}}],["single",{"2":{"276":1}}],["signature",{"2":{"265":2}}],["sides",{"2":{"3":1,"6":1}}],["side",{"0":{"3":1},"2":{"6":4}}],["src",{"2":{"259":1,"275":2,"287":5}}],["schedule",{"2":{"153":1}}],["script",{"0":{"14":1},"2":{"14":1}}],["scripts",{"2":{"12":1}}],["shinjuku",{"2":{"301":1}}],["shellstatistic",{"2":{"303":1}}],["shellbind",{"2":{"301":1}}],["shellweather",{"2":{"301":1}}],["shellmain",{"2":{"292":1}}],["shellvar",{"2":{"280":1}}],["shellcmd",{"2":{"279":1}}],["shell",{"2":{"279":1,"281":1}}],["shutil",{"2":{"224":1}}],["shutdown",{"0":{"29":1,"30":1,"48":1,"49":1,"54":1,"55":1},"2":{"29":2,"30":2,"44":2,"48":2,"49":2,"54":3,"55":3}}],["show",{"2":{"162":6}}],["should",{"2":{"66":1,"276":7}}],["shared",{"0":{"116":1},"2":{"103":3,"117":1,"118":3,"119":3,"120":3,"121":2,"137":1,"267":1,"271":3}}],["syntax",{"2":{"273":1,"276":1}}],["sync",{"0":{"37":1,"40":1,"59":1,"62":1},"2":{"39":1,"42":1,"61":1,"64":1,"265":2}}],["sys",{"2":{"22":3,"162":1}}],["system",{"0":{"153":1},"2":{"15":2,"22":4,"153":1,"287":2}}],["snowykami",{"2":{"36":2,"131":2,"154":2,"160":2,"163":2,"167":2,"168":2,"173":2,"177":2,"186":2,"187":2,"228":2,"232":2,"233":2,"256":2,"258":2}}],["sleep",{"2":{"21":1,"22":1,"268":1,"280":1,"281":1}}],["style",{"2":{"276":2,"292":2}}],["stem",{"2":{"264":2}}],["stdout",{"2":{"162":1}}],["stdtypes",{"2":{"23":1,"34":1,"35":3,"76":1,"77":2,"78":1,"79":2}}],["store",{"2":{"103":1,"104":1,"105":1,"106":2,"107":1,"255":1}}],["storage",{"0":{"99":1},"1":{"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1},"2":{"88":2,"271":2}}],["stopped",{"2":{"20":1}}],["stopping",{"2":{"20":1}}],["stop",{"0":{"26":1},"2":{"19":1,"20":1,"21":2,"26":2}}],["strings",{"2":{"276":2}}],["strip",{"2":{"257":2}}],["str=",{"2":{"223":1,"224":1}}],["structure",{"0":{"275":1},"2":{"67":1}}],["str",{"0":{"23":1,"34":1,"35":2,"66":1,"76":1,"77":1,"78":1,"79":1,"82":2,"83":2,"84":2,"87":2,"95":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"118":2,"119":2,"120":2,"121":2,"123":2,"124":2,"125":2,"126":2,"127":2,"128":2,"129":1,"133":2,"137":1,"139":1,"141":1,"153":1,"155":1,"161":2,"165":9,"166":2,"176":1,"195":1,"196":2,"197":1,"198":1,"199":1,"203":1,"204":1,"206":1,"208":1,"209":1,"212":1,"214":1,"218":1,"219":3,"220":2,"221":1,"222":1,"223":2,"224":3,"227":1,"229":1,"230":1,"231":2,"241":1,"242":1,"243":1,"245":1,"246":1,"247":1,"251":1,"253":1,"264":1},"2":{"19":1,"23":3,"34":3,"35":5,"40":1,"41":1,"66":2,"73":2,"75":2,"76":3,"77":3,"78":3,"79":4,"82":2,"83":2,"84":2,"87":2,"95":1,"100":1,"101":1,"103":5,"104":1,"105":1,"106":1,"107":4,"108":1,"109":1,"110":1,"118":2,"119":2,"120":2,"121":2,"123":2,"124":2,"125":2,"126":2,"127":2,"128":2,"129":1,"133":2,"135":2,"137":1,"139":1,"141":1,"153":1,"155":1,"161":2,"165":11,"166":2,"176":1,"185":1,"219":3,"220":2,"221":1,"222":1,"223":1,"224":4,"227":3,"229":1,"230":1,"231":4,"264":3,"268":1}}],["stat",{"2":{"304":1}}],["statistic",{"2":{"304":1}}],["statistics",{"0":{"303":1},"1":{"304":1}}],["static",{"0":{"191":1},"2":{"222":1}}],["staticmethod",{"0":{"191":1},"2":{"44":1,"45":1,"109":1,"110":1,"222":1}}],["status",{"2":{"295":1,"296":1}}],["standardization",{"0":{"276":1}}],["standard",{"2":{"6":2}}],["startup",{"2":{"268":2}}],["startswith",{"2":{"222":3,"256":1,"257":1}}],["started",{"2":{"6":1}}],["start",{"0":{"27":1,"28":1,"46":1,"47":1,"52":1,"53":1,"111":1,"136":1},"2":{"1":2,"6":3,"12":1,"20":1,"22":2,"27":2,"28":2,"44":2,"46":2,"47":2,"52":3,"53":3,"111":2,"136":2,"263":1,"268":1}}],["starting",{"2":{"0":1,"136":1}}],["s",{"2":{"15":1}}],["sparkles",{"2":{"276":2}}],["space",{"2":{"15":1}}],["split",{"2":{"229":4}}],["specified",{"2":{"229":1}}],["specific",{"2":{"15":1}}],["specify",{"2":{"6":1}}],["so",{"2":{"275":1}}],["sockschannel",{"0":{"94":1},"1":{"95":1,"96":1,"97":1,"98":1}}],["socks",{"0":{"93":1},"1":{"94":1,"95":1,"96":1,"97":1,"98":1}}],["software",{"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["source",{"0":{"199":1},"2":{"12":1,"15":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":1,"67":1,"68":1,"69":1,"70":1,"76":1,"77":1,"78":1,"79":1,"82":1,"83":1,"84":1,"87":1,"91":1,"92":1,"95":1,"96":1,"97":1,"98":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"113":1,"118":1,"119":1,"120":1,"121":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"146":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"155":1,"161":1,"162":1,"165":1,"166":1,"170":1,"171":1,"172":1,"174":1,"175":1,"176":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1,"219":1,"220":1,"221":1,"222":3,"223":7,"224":1,"227":1,"229":1,"230":1,"231":1,"249":1,"257":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":1,"275":1,"277":1}}],["solution",{"0":{"8":1,"9":1}}],["some",{"2":{"1":1,"6":2}}],["search",{"2":{"297":1,"298":1}}],["see",{"2":{"274":1}}],["service",{"0":{"236":2},"2":{"231":1,"286":1}}],["server",{"2":{"1":1,"3":1,"9":1,"15":1}}],["sep",{"2":{"222":3}}],["session",{"0":{"165":2,"186":1},"2":{"165":8,"166":5,"186":1}}],["sequence",{"0":{"45":1},"2":{"45":3}}],["setting",{"2":{"274":1}}],["set",{"0":{"76":1,"77":1,"82":1,"104":1,"119":1,"230":1},"2":{"19":1,"21":1,"26":1,"66":1,"76":2,"77":2,"81":1,"82":3,"104":2,"118":1,"119":3,"230":2,"262":1,"271":1,"295":2,"296":1,"299":2}}],["self",{"0":{"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"44":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":1,"67":1,"68":1,"69":1,"70":1,"87":1,"91":1,"92":1,"95":1,"96":1,"97":1,"98":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"111":1,"133":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"148":1,"149":1,"150":1,"151":1,"152":1,"165":1,"166":1,"170":1,"171":1,"172":1,"180":1,"181":1,"182":1,"183":1,"249":1},"2":{"19":11,"20":4,"21":3,"22":4,"23":2,"24":2,"25":1,"26":3,"27":2,"28":2,"29":2,"30":2,"31":2,"32":2,"44":8,"46":2,"47":2,"48":2,"49":2,"50":2,"51":2,"52":3,"53":3,"54":3,"55":3,"56":3,"57":3,"66":14,"67":6,"68":3,"69":2,"70":3,"87":3,"91":2,"92":2,"95":5,"96":1,"97":1,"98":1,"103":7,"104":3,"105":3,"106":4,"107":3,"108":2,"109":1,"111":4,"133":6,"135":4,"136":2,"137":2,"138":2,"139":3,"140":3,"141":3,"148":1,"149":2,"150":2,"151":2,"152":2,"165":10,"166":3,"170":5,"171":2,"172":3,"180":2,"181":2,"182":2,"183":3,"222":1,"223":1,"249":2}}],["send",{"0":{"67":1,"96":1},"2":{"6":1,"23":2,"66":2,"67":4,"76":1,"78":1,"79":1,"83":1,"84":1,"95":1,"96":1,"104":1,"105":1,"106":1,"107":1,"108":1,"111":1,"118":1,"121":1,"166":1,"267":1,"268":3,"295":1}}],["summary",{"2":{"276":1}}],["summary>",{"2":{"223":3}}],["summary>源代码",{"2":{"223":1}}],["suggestions",{"0":{"274":1}}],["su",{"0":{"185":1},"2":{"185":1,"256":1,"257":1}}],["succeeded",{"2":{"229":1}}],["success",{"2":{"139":1,"162":2,"229":2}}],["such",{"2":{"6":1,"274":1,"276":2}}],["subscribe",{"2":{"109":1}}],["subscriber",{"0":{"100":1,"101":1,"109":1,"110":1},"2":{"109":7,"110":2,"111":1}}],["sub",{"0":{"101":1},"2":{"33":1,"66":2,"70":1,"103":1,"109":4,"111":1}}],["submitted",{"2":{"276":1}}],["submit",{"2":{"7":1,"273":2}}],["sure",{"2":{"6":2}}],["support",{"2":{"276":1}}],["supported",{"2":{"4":1,"128":1}}],["supports",{"2":{"0":1,"8":5}}],["superuser",{"2":{"1":1}}],["superusers",{"2":{"0":1,"1":1,"6":1,"185":1}}],["same",{"2":{"3":2}}],["safe",{"2":{"2":2,"6":3,"124":1}}],["num为每页显示数量",{"2":{"297":2}}],["num",{"2":{"297":2}}],["number",{"2":{"13":2}}],["nliteyuki",{"2":{"279":1}}],["n```",{"2":{"223":2}}],["n```python",{"2":{"223":2}}],["n",{"2":{"223":52,"224":2}}],["name>",{"2":{"280":2}}],["name=module",{"2":{"229":3}}],["name=target",{"2":{"222":2}}],["name=class",{"2":{"222":1}}],["name=node",{"2":{"222":2}}],["name=f",{"2":{"137":2}}],["name=",{"2":{"71":1,"72":1,"73":1,"80":1,"81":1,"103":3,"286":1}}],["name",{"0":{"23":1,"66":1,"76":1,"78":1,"87":1,"95":1,"137":1,"139":1,"141":1,"195":1,"203":1,"208":1,"225":1,"231":2,"241":1,"251":1,"253":1,"264":1},"2":{"23":7,"66":12,"76":8,"77":2,"78":6,"82":3,"83":3,"87":3,"95":5,"136":3,"137":6,"138":1,"139":7,"140":2,"141":6,"222":11,"223":7,"224":2,"229":20,"230":9,"231":7,"249":1,"264":1,"268":2,"295":4,"297":8}}],["ntqq",{"2":{"8":1}}],["npm",{"2":{"6":1,"297":7,"298":1}}],["nesting",{"2":{"276":1}}],["new",{"2":{"19":1,"123":3,"262":1,"273":1,"276":2}}],["necessary",{"2":{"6":1}}],["needs",{"2":{"268":1}}],["need",{"2":{"0":1,"2":1,"6":1,"273":1}}],["non",{"2":{"277":1}}],["nonlocal",{"2":{"146":1}}],["nonedog",{"2":{"286":1}}],["none",{"0":{"19":1,"23":1,"34":1,"35":1,"44":1,"45":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":1,"70":1,"91":1,"104":1,"105":1,"106":1,"108":1,"114":1,"137":1,"153":1,"165":2,"172":1,"205":1,"223":1,"224":1,"254":1},"2":{"19":1,"23":3,"33":1,"34":2,"35":2,"44":1,"45":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":3,"67":1,"69":1,"70":3,"91":1,"95":2,"104":1,"106":1,"108":1,"113":2,"124":1,"125":1,"126":1,"137":1,"144":1,"146":1,"153":1,"165":1,"172":1,"178":2,"183":1,"222":3,"224":1,"229":4,"230":1,"261":1}}],["nonebot2",{"2":{"4":2,"10":1}}],["nonebot",{"0":{"3":1},"2":{"1":2,"2":2,"3":1,"10":1,"260":1,"268":3,"275":3,"286":1,"287":4,"290":1}}],["nohup",{"2":{"22":2,"280":1,"281":1}}],["nodes",{"2":{"222":2}}],["node",{"2":{"8":1,"15":1,"222":42}}],["notimplementederror",{"2":{"148":1}}],["not",{"2":{"1":1,"2":1,"4":1,"6":4,"15":2,"21":1,"23":1,"33":1,"66":1,"67":2,"70":4,"76":1,"106":1,"109":3,"111":1,"124":1,"125":1,"126":1,"127":3,"128":3,"139":2,"141":2,"153":2,"172":1,"220":1,"222":8,"229":1,"230":8,"276":3,"287":2}}],["normal>",{"2":{"162":1}}],["normal",{"0":{"12":1,"222":1},"2":{"1":1,"222":1,"224":1}}],["no",{"0":{"127":1,"128":1,"129":1,"195":1,"196":1,"197":1,"198":1,"200":1,"201":1,"203":1,"204":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"225":1,"241":1,"251":1,"252":1,"253":1},"2":{"1":1,"74":1,"75":1,"127":3,"128":3,"129":3,"222":3,"223":1,"224":2,"276":1}}],["nickname",{"2":{"0":1,"1":2,"6":3}}],["ignored",{"0":{"224":1},"2":{"224":8}}],["ignore",{"0":{"106":1,"222":1,"230":1},"2":{"106":4,"222":6,"224":1,"230":6}}],["id仅超级用户可用",{"2":{"295":1}}],["id=user",{"2":{"281":2}}],["id=1234567",{"2":{"295":2}}],["id=123456",{"2":{"281":1}}],["id=self",{"2":{"166":3}}],["id",{"0":{"165":3},"2":{"70":5,"165":11,"166":3,"185":1,"222":6,"281":2,"295":2,"297":1,"303":4}}],["ids",{"2":{"66":2,"70":2}}],["impossible",{"2":{"267":1}}],["import",{"2":{"117":1,"229":1,"268":5,"271":1,"286":2,"287":3,"290":1}}],["implemented",{"2":{"148":1,"268":1}}],["implement",{"2":{"6":1,"268":1}}],["implementation",{"0":{"3":1},"2":{"3":1,"6":4,"8":1}}],["image",{"2":{"13":1,"295":2,"296":1}}],["i",{"2":{"6":2,"174":2,"268":6}}],["icon=f",{"2":{"162":5}}],["icon",{"2":{"1":2,"162":7,"223":2,"224":2}}],["isclass",{"2":{"261":1}}],["iscoroutinefunction",{"2":{"261":2}}],["isroutine",{"2":{"261":1}}],["isfile",{"2":{"230":1,"287":1}}],["isdir",{"2":{"230":2}}],["isinstance",{"2":{"76":1,"123":1,"222":13,"229":1,"268":1}}],["issues",{"2":{"9":2}}],["issue",{"2":{"7":1}}],["is",{"0":{"141":1,"185":1,"201":1,"261":1},"2":{"1":3,"2":1,"3":3,"4":1,"6":2,"12":1,"15":1,"19":1,"20":2,"21":3,"23":1,"33":2,"45":1,"66":6,"67":1,"70":5,"76":1,"78":1,"79":1,"103":2,"104":1,"105":1,"106":1,"107":1,"109":3,"111":1,"113":2,"124":1,"125":1,"126":1,"137":1,"139":1,"141":2,"153":1,"158":1,"165":1,"183":1,"185":1,"222":2,"223":2,"224":1,"229":1,"230":2,"255":1,"261":1,"262":1,"267":2,"268":3,"275":3,"276":12,"277":1}}],["if",{"2":{"1":2,"2":4,"3":1,"6":2,"7":1,"13":2,"15":2,"22":2,"23":1,"33":2,"35":2,"45":1,"66":5,"67":3,"68":1,"70":6,"76":3,"78":1,"79":1,"104":1,"105":1,"106":3,"107":1,"109":5,"111":2,"113":2,"123":1,"124":1,"125":1,"126":1,"127":2,"128":3,"137":1,"139":2,"141":1,"146":1,"153":1,"161":1,"162":5,"165":1,"166":1,"172":1,"174":1,"183":1,"220":1,"221":1,"222":20,"223":10,"224":4,"229":2,"230":9,"261":2,"262":1,"264":1,"273":3,"276":2}}],["inaccessible",{"2":{"276":1}}],["included",{"2":{"275":1}}],["including",{"2":{"15":1}}],["index",{"2":{"223":2,"224":1,"292":1}}],["inherit=",{"2":{"222":1}}],["inherit",{"0":{"212":1},"2":{"223":5}}],["inspect",{"2":{"261":4,"265":1}}],["insert",{"2":{"174":1}}],["instance",{"0":{"113":1,"114":1},"2":{"19":2,"33":4,"67":1,"76":1,"113":5,"116":1}}],["installed",{"2":{"15":1}}],["installation",{"0":{"12":1},"2":{"6":2}}],["install",{"0":{"11":1},"1":{"12":1,"13":1,"14":1,"15":1,"16":1},"2":{"6":3,"12":3,"13":1,"15":2,"294":1,"297":1,"298":1}}],["instead",{"2":{"6":2,"13":1,"35":1}}],["inner",{"2":{"66":2}}],["initialized",{"2":{"33":1,"66":2}}],["initializing",{"2":{"19":1}}],["init",{"0":{"19":1,"24":1,"25":1,"44":1,"66":1,"87":1,"91":1,"95":1,"103":1,"133":1,"135":1,"162":1,"165":1,"170":1,"180":1},"2":{"19":2,"24":2,"25":2,"44":1,"66":1,"87":1,"91":1,"95":1,"103":1,"133":1,"135":1,"162":1,"165":1,"167":1,"170":1,"180":1,"222":1,"224":2,"230":2,"258":1,"264":1,"286":3}}],["introducing",{"2":{"276":1}}],["introduction",{"0":{"267":1}}],["into",{"2":{"273":1}}],["inter",{"2":{"267":1}}],["interpreter",{"2":{"6":1}}],["interpreters",{"2":{"6":2}}],["int=0",{"2":{"22":1,"175":1,"176":1}}],["int",{"0":{"22":1,"170":1,"175":1,"176":1},"2":{"22":2,"44":1,"66":2,"170":1}}],["intact",{"2":{"6":1}}],["invalidgitrepositoryerror",{"2":{"6":1}}],["information",{"2":{"3":1,"274":1}}],["info",{"0":{"222":1,"223":1},"2":{"1":1,"19":1,"20":2,"21":2,"22":1,"162":3,"222":12,"223":6,"224":5,"268":2}}],["in",{"0":{"129":1,"263":1},"2":{"0":3,"1":1,"2":1,"3":2,"6":3,"23":1,"33":1,"35":3,"45":1,"66":5,"69":1,"70":1,"76":1,"77":1,"106":1,"109":3,"110":1,"111":1,"123":2,"127":1,"128":2,"129":1,"136":1,"138":1,"139":1,"140":1,"141":1,"153":1,"155":1,"172":1,"174":1,"176":2,"185":1,"220":1,"221":2,"222":13,"223":9,"224":5,"230":2,"255":2,"259":2,"262":2,"263":1,"267":1,"273":5,"274":2,"275":4,"276":6,"277":1,"287":1}}],["iter",{"2":{"222":2}}],["items",{"2":{"0":1,"6":1,"77":1,"123":2,"220":1,"223":1,"224":1}}],["itself",{"2":{"6":1,"9":1}}],["it",{"2":{"0":1,"2":2,"3":1,"6":5,"12":1,"267":2}}],["r>",{"2":{"229":2}}],["rv",{"2":{"224":2}}],["rk",{"2":{"224":2}}],["rmtree",{"2":{"224":1}}],["rpm",{"2":{"297":5,"298":1}}],["rp",{"2":{"220":4}}],["rpc",{"0":{"89":1,"90":1},"1":{"90":1,"91":2,"92":2},"2":{"88":1}}],["rule=is",{"2":{"256":1,"257":1}}],["rule=empty",{"2":{"175":1,"176":1}}],["rulehandlerfunc",{"0":{"178":1,"180":1},"2":{"180":1}}],["rule",{"0":{"170":2,"175":3,"176":2,"177":1,"179":1,"181":2,"182":2,"184":1,"185":1},"1":{"178":1,"179":1,"180":2,"181":2,"182":2,"183":2,"184":1,"185":1},"2":{"170":6,"172":1,"175":3,"176":5,"177":1,"181":3,"182":3,"183":1,"184":3,"185":2,"256":1,"257":1}}],["runnable",{"2":{"276":1}}],["running",{"2":{"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":1,"69":1,"103":2,"262":2,"267":1}}],["runtimeerror",{"2":{"33":2,"67":1,"68":1,"70":1,"109":1,"111":1,"262":1}}],["run",{"0":{"13":1,"20":1,"45":1,"110":1,"155":1,"172":1,"262":1,"263":1},"2":{"0":1,"12":1,"13":2,"15":1,"20":3,"45":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"69":1,"110":1,"111":1,"136":1,"155":2,"172":1,"262":3,"263":1,"290":2}}],["raw",{"0":{"165":1},"2":{"165":4,"166":1,"176":1,"257":1}}],["raise",{"2":{"33":2,"66":3,"67":2,"68":1,"70":1,"76":2,"106":1,"109":1,"111":1,"148":1}}],["rights",{"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["root",{"2":{"13":1,"221":2}}],["r",{"2":{"12":1,"15":1,"124":1,"125":1,"126":1,"222":1}}],["revise",{"2":{"276":1}}],["reverse",{"2":{"3":2}}],["readme",{"2":{"224":2}}],["read",{"2":{"222":1,"273":2}}],["reload",{"2":{"295":1,"296":2,"297":1,"298":1}}],["reloading",{"2":{"287":1}}],["related",{"2":{"275":1,"276":1}}],["relative",{"0":{"219":1},"2":{"219":1,"224":1,"225":1,"264":1}}],["rel",{"2":{"224":4,"264":5}}],["relpath",{"2":{"219":1}}],["red>",{"2":{"162":1}}],["remove",{"2":{"162":1}}],["ref",{"0":{"117":1}}],["refer",{"0":{"16":1},"2":{"6":1,"276":1}}],["reference",{"2":{"3":1,"273":1}}],["return",{"0":{"197":1},"2":{"27":2,"28":2,"29":2,"30":2,"31":2,"32":2,"33":2,"34":2,"35":4,"46":2,"47":2,"48":2,"49":2,"50":2,"51":2,"68":2,"69":2,"70":7,"78":3,"79":3,"92":1,"97":1,"105":3,"107":3,"109":3,"113":1,"123":2,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"139":1,"141":1,"146":3,"153":4,"161":2,"171":3,"172":1,"175":1,"176":2,"181":2,"182":2,"183":2,"184":1,"185":1,"219":1,"221":1,"222":4,"223":4,"227":2,"229":2,"230":1,"231":2,"249":1,"261":4,"264":3,"265":3}}],["returns",{"2":{"23":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"68":1,"69":1,"70":1,"78":1,"79":1,"97":1,"105":1,"106":1,"107":1,"108":1,"109":1,"123":1,"139":1,"141":1,"153":1,"162":1,"166":1,"171":1,"172":1,"222":5,"223":1,"227":1,"231":1,"261":1,"262":1,"263":1,"264":1,"265":1}}],["reply",{"0":{"166":1},"2":{"166":3,"257":1}}],["replace",{"2":{"13":1,"222":3,"223":4,"224":8}}],["repository",{"2":{"273":7,"275":2,"276":1}}],["repo",{"2":{"13":1}}],["report设定为false",{"2":{"293":1}}],["reports",{"2":{"6":1}}],["report",{"2":{"1":2,"6":2,"293":1}}],["request",{"2":{"273":1}}],["requests",{"2":{"1":1}}],["required",{"2":{"66":1,"276":1}}],["requires",{"2":{"15":1}}],["requirements",{"0":{"15":1},"1":{"16":1},"2":{"12":1,"15":1}}],["restriction",{"2":{"276":1}}],["restarting",{"2":{"22":1}}],["restart",{"0":{"22":1,"23":1,"31":1,"32":1,"50":1,"51":1,"56":1,"57":1},"2":{"0":1,"19":1,"22":3,"23":1,"31":2,"32":2,"44":2,"50":2,"51":2,"56":3,"57":3,"287":2}}],["resource",{"2":{"275":1}}],["resources",{"2":{"275":1,"291":1,"292":1,"296":1}}],["resolve",{"2":{"264":2}}],["reserved",{"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["response",{"2":{"6":2}}],["respond",{"2":{"6":1}}],["receiving",{"2":{"268":1}}],["receive",{"0":{"59":1,"60":1,"61":1,"68":1,"69":1,"70":1,"97":1,"100":1,"101":1,"109":3,"110":1,"111":1,"165":1},"2":{"1":1,"61":2,"66":3,"68":2,"69":2,"70":4,"78":1,"79":1,"81":1,"82":2,"83":2,"84":1,"97":1,"100":1,"101":1,"103":2,"105":1,"107":1,"109":11,"110":2,"111":4,"117":1,"118":2,"119":2,"120":2,"121":1,"165":4,"166":3,"268":11}}],["recursive=recursive",{"2":{"153":1}}],["recursive",{"0":{"153":1},"2":{"153":3}}],["recv",{"2":{"66":2,"68":2,"78":5,"79":5,"83":3,"84":3,"95":1,"105":5,"107":5,"118":3,"121":3}}],["recommended",{"0":{"8":1,"9":1},"2":{"3":1,"6":1,"12":1,"14":1,"15":2,"276":1}}],["city",{"2":{"301":1,"302":1}}],["css相对路径引用b中的css",{"2":{"292":1}}],["css",{"2":{"291":1,"292":1}}],["cwd",{"2":{"264":1}}],["cfg",{"2":{"155":4}}],["current|bot",{"2":{"303":1}}],["current|group",{"2":{"303":1}}],["current",{"2":{"146":3,"303":2,"304":1}}],["custom",{"2":{"2":4}}],["customize",{"2":{"2":1}}],["c",{"2":{"36":1,"123":3,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"231":1,"232":1,"233":1,"256":1,"258":1,"262":4,"264":4,"304":1}}],["cmd",{"2":{"22":5,"279":2,"280":1}}],["cpu",{"2":{"15":1,"293":1}}],["cd",{"2":{"12":1,"13":1}}],["cls",{"0":{"113":1},"2":{"113":6,"222":1,"223":11}}],["close",{"0":{"98":1},"2":{"98":1,"262":1}}],["closed",{"2":{"66":1,"67":2,"68":2,"95":1}}],["clone",{"2":{"12":2,"13":2}}],["cloning",{"2":{"6":1}}],["classdef",{"2":{"222":3}}],["classes=",{"2":{"222":1}}],["classes",{"0":{"216":1},"2":{"222":1,"223":1}}],["classinfo",{"0":{"207":1,"216":1},"1":{"208":1,"209":1,"210":1,"211":1,"212":1},"2":{"222":1}}],["classmethod",{"0":{"192":1},"2":{"112":1,"113":1,"222":1}}],["class",{"0":{"18":1,"43":1,"65":1,"86":1,"90":1,"94":1,"102":1,"112":1,"132":1,"134":1,"147":1,"157":1,"164":1,"169":1,"179":1,"188":1,"192":1,"194":1,"202":1,"207":1,"213":1,"234":1,"240":1,"248":1},"1":{"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":1,"67":1,"68":1,"69":1,"70":1,"87":1,"91":1,"92":1,"95":1,"96":1,"97":1,"98":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"113":1,"114":1,"115":1,"133":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"148":1,"149":1,"150":1,"151":1,"152":1,"165":1,"166":1,"170":1,"171":1,"172":1,"180":1,"181":1,"182":1,"183":1,"189":1,"190":1,"191":1,"192":1,"193":1,"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"203":1,"204":1,"205":1,"206":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"235":1,"236":1,"237":1,"238":1,"239":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"249":1,"250":1,"251":1,"252":1,"253":1,"254":1},"2":{"33":1,"76":1,"77":1,"78":1,"79":1,"222":24,"223":2}}],["client",{"2":{"8":1}}],["cqhttp",{"2":{"8":1}}],["chinese",{"2":{"275":1}}],["child",{"2":{"222":2,"267":1}}],["chromium",{"2":{"15":1}}],["channel时的通道标识",{"2":{"268":1}}],["channel即可",{"2":{"268":1}}],["channel及passive",{"2":{"268":1}}],["channel函数获取通道对象",{"2":{"268":2}}],["channel=none",{"2":{"166":1}}],["channeldeliver",{"0":{"132":1},"1":{"133":1},"2":{"137":1}}],["channels",{"0":{"77":2,"79":1,"84":1},"2":{"77":5,"79":2,"83":1,"84":3}}],["channel",{"0":{"58":1,"65":1,"71":1,"72":1,"73":1,"74":2,"75":2,"76":3,"77":1,"78":2,"79":1,"80":2,"81":2,"82":1,"83":1,"93":1,"108":1,"109":1,"110":1,"133":8,"165":2,"266":1},"1":{"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":2,"67":2,"68":2,"69":2,"70":2,"71":1,"72":1,"73":1,"74":1,"75":1,"76":1,"77":1,"78":1,"79":1,"80":1,"81":1,"82":1,"83":1,"84":1,"94":1,"95":1,"96":1,"97":1,"98":1,"267":1,"268":1,"269":1,"270":1,"271":1},"2":{"23":2,"66":7,"67":1,"68":1,"71":3,"72":3,"73":3,"74":2,"75":1,"76":21,"77":6,"78":10,"79":8,"80":3,"81":6,"82":11,"83":7,"84":2,"88":2,"103":4,"105":1,"107":1,"108":5,"109":9,"110":4,"111":2,"133":12,"137":12,"165":5,"166":2,"267":3,"268":14}}],["chan",{"2":{"23":4,"78":5,"79":5,"83":3,"84":3,"103":2,"104":1,"105":6,"106":1,"107":6,"108":1,"111":1,"117":1,"118":5,"119":2,"120":2,"121":4,"137":2,"268":2}}],["changed",{"2":{"287":1}}],["change",{"2":{"12":1,"13":1,"297":1,"298":1}}],["chat",{"2":{"6":1,"7":1,"9":1}}],["checking",{"2":{"274":1}}],["check",{"0":{"66":1},"2":{"1":1,"6":1,"66":9,"67":1}}],["cn",{"0":{"223":1,"224":1},"2":{"2":1,"223":2,"224":1}}],["color",{"2":{"231":7}}],["color=",{"2":{"162":5}}],["colors=true",{"2":{"20":2,"229":3}}],["copy",{"2":{"123":1,"273":1}}],["copyright",{"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["count",{"0":{"117":1},"2":{"19":1,"22":2}}],["code插件liteyuki",{"2":{"283":1}}],["code=ast",{"2":{"222":2}}],["codemodifiedhandler",{"0":{"147":1},"1":{"148":1,"149":1,"150":1,"151":1,"152":1},"2":{"153":1}}],["code",{"0":{"199":1},"2":{"15":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":1,"67":1,"68":1,"69":1,"70":1,"76":1,"77":1,"78":1,"79":1,"82":1,"83":1,"84":1,"87":1,"91":1,"92":1,"95":1,"96":1,"97":1,"98":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"113":1,"118":1,"119":1,"120":1,"121":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"146":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":4,"155":1,"161":1,"162":1,"165":1,"166":1,"170":1,"171":1,"172":1,"174":1,"175":1,"176":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1,"219":1,"220":1,"221":1,"222":1,"223":7,"224":3,"227":1,"229":1,"230":1,"231":1,"249":1,"257":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":1,"273":2,"274":1,"275":1,"276":6}}],["corresponding",{"2":{"276":1}}],["correct",{"2":{"276":2}}],["correctly",{"2":{"6":2,"276":1}}],["coro",{"0":{"262":1,"263":1},"2":{"262":6,"263":3}}],["coroutine",{"0":{"261":1,"262":2,"263":2,"265":1},"2":{"45":1,"60":1,"63":1,"70":2,"109":1,"178":1,"261":1,"262":2,"263":3,"265":3}}],["core",{"0":{"130":1,"131":1},"1":{"132":1,"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1},"2":{"8":1}}],["come",{"2":{"267":1}}],["combined",{"2":{"181":2,"182":2}}],["com",{"2":{"12":1,"13":1,"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["compat",{"0":{"35":2},"2":{"35":9}}],["completing",{"2":{"276":1}}],["completion",{"2":{"2":2}}],["complete",{"2":{"262":2,"276":1}}],["complies",{"2":{"6":1}}],["computer",{"2":{"6":1}}],["commit",{"2":{"276":6}}],["comment",{"2":{"276":1}}],["communicate",{"2":{"267":1}}],["communication",{"0":{"266":1},"1":{"267":1,"268":1,"269":1,"270":1,"271":1},"2":{"3":1,"267":1}}],["comm",{"0":{"58":1,"85":1,"88":1,"89":1,"93":1,"99":1},"1":{"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"76":1,"77":1,"78":1,"79":1,"80":1,"81":1,"82":1,"83":1,"84":1,"86":1,"87":1,"90":1,"91":1,"92":1,"94":1,"95":1,"96":1,"97":1,"98":1,"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1},"2":{"268":2,"271":2}}],["command>",{"2":{"280":2}}],["command",{"0":{"295":1},"1":{"296":1},"2":{"1":4,"6":5,"10":1}}],["conditions",{"2":{"276":1}}],["contributions",{"2":{"277":1}}],["content",{"2":{"222":2,"223":17,"224":2,"275":1,"276":1}}],["continue",{"2":{"128":1,"222":1,"224":1,"230":3}}],["container",{"2":{"13":1}}],["contact",{"2":{"6":1,"273":1}}],["conn",{"2":{"66":4,"67":1,"68":1,"95":2}}],["connect",{"2":{"6":1}}],["connected",{"0":{"3":1}}],["convenient",{"2":{"14":1}}],["confirm",{"2":{"6":1}}],["configs",{"0":{"128":1},"2":{"128":1,"129":1}}],["config=self",{"2":{"25":1}}],["configured",{"2":{"3":1}}],["configuration",{"0":{"1":1,"3":1},"2":{"0":5,"1":1,"2":2,"3":1,"6":2}}],["configurations",{"0":{"0":1,"2":1},"1":{"1":1,"2":1,"3":1,"4":1},"2":{"2":1}}],["config",{"0":{"34":1,"35":1,"122":1,"123":2,"129":1,"162":1,"250":1},"1":{"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1},"2":{"0":5,"2":2,"19":2,"25":1,"34":2,"35":6,"123":10,"124":7,"125":7,"126":7,"127":7,"128":4,"129":9,"155":1,"162":3,"259":2,"274":1,"295":4,"296":1}}],["conflict",{"2":{"6":1}}],["conflicts",{"2":{"6":1,"12":1,"273":1}}],["console",{"2":{"1":1,"274":1}}],["created",{"0":{"149":1},"2":{"149":1}}],["create",{"2":{"0":1,"12":1,"110":1,"273":2}}],["case",{"2":{"231":4,"273":1}}],["cases",{"2":{"0":1}}],["category",{"2":{"223":2,"224":2}}],["calling",{"0":{"91":2},"2":{"91":4,"92":1}}],["callback",{"0":{"144":1,"153":2},"2":{"70":1,"153":4,"268":1}}],["callable",{"0":{"70":3,"109":1,"153":1,"171":1,"261":2,"265":2},"2":{"37":1,"38":1,"40":1,"41":1,"45":1,"59":1,"60":1,"62":1,"63":1,"70":13,"109":2,"135":1,"144":1,"145":1,"153":1,"171":1,"178":1,"261":2,"265":6}}],["call",{"0":{"92":1,"183":1,"261":1},"2":{"19":1,"22":2,"92":1,"146":4,"183":1,"261":8,"268":1}}],["cache",{"2":{"13":2}}],["cannot",{"2":{"6":1,"67":1,"68":1,"109":1,"111":1}}],["can",{"2":{"0":2,"4":1,"6":2,"7":1,"12":1,"33":1,"70":1,"267":1,"268":1,"274":1,"276":1}}],["duration>",{"2":{"303":1}}],["duration",{"2":{"303":2,"304":1}}],["during",{"2":{"274":1}}],["duplex",{"2":{"268":1}}],["driver",{"2":{"268":4}}],["d",{"2":{"117":2,"118":4,"119":4,"120":4,"121":2,"264":4,"304":1}}],["data=",{"2":{"166":1}}],["data",{"0":{"67":1,"82":1,"83":1,"84":1,"87":1,"96":1,"108":1,"110":1,"118":1,"119":1,"120":1,"121":1,"165":1,"220":1},"2":{"67":7,"68":2,"69":2,"70":5,"81":2,"82":7,"83":7,"84":4,"87":3,"96":3,"97":2,"108":5,"109":3,"110":4,"111":6,"118":4,"119":3,"120":2,"121":2,"165":7,"220":6,"224":5,"268":7}}],["daemon=true",{"2":{"22":1,"136":1,"263":1}}],["darwin",{"2":{"22":1}}],["day",{"2":{"1":1}}],["dog",{"2":{"286":1,"287":1}}],["double",{"2":{"276":1}}],["dot",{"2":{"222":1}}],["document",{"2":{"276":1}}],["documents",{"2":{"273":1}}],["documentation",{"2":{"6":1,"9":1,"273":1,"275":3,"276":7}}],["docstring=method",{"2":{"222":1}}],["docstring=module",{"2":{"222":1}}],["docstring=class",{"2":{"222":1}}],["docstring=function",{"2":{"222":1}}],["docstring",{"0":{"198":1,"206":1,"209":1,"218":1},"2":{"222":16,"223":12,"276":2}}],["docs",{"0":{"224":1},"2":{"22":1,"23":2,"34":3,"35":5,"45":1,"70":1,"76":1,"77":2,"78":1,"79":2,"224":5,"275":1,"295":1,"296":1}}],["docker",{"0":{"13":1},"2":{"13":4,"275":2}}],["don",{"2":{"6":1,"7":1,"9":1}}],["download",{"2":{"6":1}}],["does",{"2":{"6":4,"230":1}}],["do",{"2":{"6":1,"15":1,"276":1}}],["did",{"2":{"276":1}}],["diagnose=false",{"2":{"162":1}}],["dict",{"0":{"77":1,"79":1,"82":1,"83":1,"84":1,"87":1,"92":1,"107":1,"118":1,"119":1,"120":1,"121":1,"123":2,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"162":1,"165":2,"166":1,"220":1,"227":1,"247":1},"2":{"19":1,"73":1,"75":1,"77":3,"79":4,"82":1,"83":1,"84":1,"87":1,"92":1,"100":1,"101":1,"103":2,"107":4,"118":1,"119":1,"120":1,"121":1,"123":3,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"135":3,"162":1,"165":3,"166":1,"220":1,"224":1,"227":3,"229":6}}],["disable",{"2":{"295":1,"296":1,"297":2,"298":2}}],["disk",{"2":{"15":1}}],["display",{"0":{"231":2},"2":{"1":1,"229":7,"231":5}}],["different",{"2":{"3":2,"6":1}}],["dir",{"0":{"224":1,"230":1},"2":{"224":6,"230":17,"259":2}}],["dirname",{"2":{"220":2}}],["directories=",{"2":{"287":1}}],["directories",{"0":{"128":1,"153":1},"2":{"128":2,"153":4,"275":3}}],["directory",{"2":{"0":4,"1":1,"2":1,"12":1,"13":2,"128":6,"153":2,"230":1,"275":11}}],["directly",{"2":{"15":1}}],["direct",{"2":{"6":1,"267":1}}],["dirs",{"0":{"128":1},"2":{"1":1,"128":1,"129":1,"221":1,"259":1}}],["details",{"2":{"276":1}}],["details>",{"2":{"223":4}}],["detailed",{"2":{"2":1,"3":1,"276":1}}],["debounce",{"0":{"146":1},"2":{"146":1,"147":1,"148":1}}],["debugging",{"2":{"274":1}}],["debug",{"2":{"2":2,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":2,"124":1,"125":1,"126":1,"136":1,"161":2,"162":2,"287":1}}],["deepcopy",{"2":{"123":1}}],["decorator",{"2":{"70":2,"109":2,"146":2,"153":2,"171":2,"222":13,"268":1}}],["del",{"2":{"106":2}}],["deleted",{"0":{"150":1},"2":{"150":1}}],["delete",{"0":{"106":1,"120":1},"2":{"106":2,"119":1,"120":3}}],["deliver",{"0":{"74":1,"75":1,"80":1,"81":1,"133":2},"2":{"76":1,"78":1,"79":1,"80":1,"81":2,"82":2,"83":2,"84":1,"133":6,"137":6}}],["delivery",{"2":{"4":1,"137":1}}],["delay",{"0":{"22":1},"2":{"22":4}}],["deftype",{"0":{"188":1,"200":1},"1":{"189":1,"190":1,"191":1,"192":1,"193":1},"2":{"222":4,"223":1}}],["def",{"2":{"21":1,"45":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"69":1,"70":2,"82":1,"83":1,"84":1,"109":2,"110":1,"111":1,"113":1,"118":1,"119":1,"120":1,"121":1,"146":2,"148":1,"153":2,"171":1,"172":1,"176":1,"181":1,"182":1,"183":1,"184":1,"185":1,"222":4,"223":2,"257":1,"265":1,"268":3,"287":1}}],["defaults",{"2":{"22":2,"23":2,"34":2,"35":2,"70":2}}],["default",{"0":{"34":1,"35":1,"105":1,"129":1,"195":1,"196":1,"197":1,"198":1,"200":1,"201":1,"203":1,"204":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"241":1,"251":1,"252":1,"253":1,"259":1},"2":{"1":1,"2":3,"3":1,"34":4,"35":4,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"71":1,"72":1,"73":1,"74":2,"75":2,"80":1,"81":1,"100":1,"101":1,"105":6,"116":1,"117":1,"118":3,"129":1,"144":1,"145":1,"155":1,"159":1,"161":1,"178":1,"225":1,"259":1}}],["deprecated",{"2":{"35":1}}],["depth=1",{"2":{"12":1,"13":1}}],["deploy",{"2":{"6":1}}],["depend",{"2":{"15":1}}],["dependency",{"2":{"12":1}}],["dependencies",{"2":{"12":1,"15":1}}],["depends",{"2":{"3":1,"15":1}}],["depending",{"2":{"0":1}}],["description=",{"2":{"286":1}}],["description",{"0":{"242":1},"2":{"3":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"76":1,"77":1,"78":1,"79":1,"80":1,"81":1,"92":1,"95":1,"96":1,"97":1,"98":1,"100":1,"101":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"116":1,"117":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"136":1,"137":1,"139":1,"141":1,"144":1,"145":1,"146":1,"153":1,"155":1,"159":1,"162":1,"165":1,"166":1,"170":1,"171":1,"172":1,"178":1,"219":1,"220":1,"222":1,"223":1,"224":1,"225":1,"227":1,"229":1,"230":1,"231":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":1,"276":1,"292":1}}],["device",{"0":{"15":1},"1":{"16":1},"2":{"15":1}}],["developer",{"2":{"274":1,"286":1}}],["developers",{"2":{"9":1}}],["developing",{"2":{"273":2}}],["develop",{"0":{"273":1},"1":{"274":1},"2":{"9":1,"273":1,"275":2}}],["development",{"0":{"272":1},"1":{"273":1,"274":1,"275":1,"276":1,"277":1},"2":{"2":3,"273":2,"274":1,"276":1,"277":1}}],["dev",{"0":{"142":1,"143":1,"154":1},"1":{"144":1,"145":1,"146":1,"147":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"155":1},"2":{"2":1,"274":1,"287":1,"290":1}}],["two",{"2":{"268":1}}],["target",{"0":{"137":3,"219":1},"2":{"137":6,"219":4,"222":5}}],["target=run",{"2":{"263":1}}],["target=self",{"2":{"136":1}}],["target=os",{"2":{"22":1}}],["targets",{"2":{"135":1,"136":1,"137":1,"138":1,"140":1,"141":1,"222":2}}],["task",{"2":{"110":1,"136":2}}],["tasks",{"2":{"45":2}}],["types",{"0":{"250":1}}],["type=plugintype",{"2":{"286":1}}],["type=attr",{"2":{"222":1}}],["type=ast",{"2":{"222":3}}],["type=def",{"2":{"222":1}}],["type=deftype",{"2":{"222":1}}],["type=self",{"2":{"166":2}}],["typeerror",{"2":{"66":1,"67":1,"76":1}}],["typealias",{"2":{"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"144":1,"145":1,"178":1}}],["type",{"0":{"66":1,"165":2,"197":1,"200":1,"204":1,"231":1,"244":1},"2":{"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"66":12,"67":7,"71":1,"72":1,"73":1,"74":1,"75":1,"76":1,"100":1,"101":1,"116":1,"144":1,"145":1,"165":9,"166":2,"178":1,"222":11,"223":13,"229":2,"231":5,"276":5}}],["typing",{"2":{"23":2,"45":2,"70":2}}],["tuple=",{"2":{"137":1}}],["tuplestr",{"2":{"35":1}}],["tuple",{"0":{"35":1,"82":1,"83":1,"84":1,"92":1,"118":1,"119":1,"120":1,"121":1,"133":2,"137":1,"153":1,"196":1},"2":{"35":2,"73":1,"75":1,"82":1,"83":1,"84":1,"92":1,"103":3,"118":1,"119":1,"120":1,"121":1,"133":2,"135":2,"153":1}}],["tests",{"2":{"275":1}}],["test",{"0":{"239":2},"2":{"231":1,"275":1}}],["text",{"2":{"223":3}}],["terminated",{"2":{"139":1}}],["terminate",{"0":{"139":1,"140":1},"2":{"22":1,"26":1,"139":2,"140":2}}],["telegram",{"2":{"6":1}}],["title",{"2":{"224":2}}],["time>",{"2":{"280":1}}],["timeout",{"2":{"139":1}}],["time",{"2":{"22":1,"36":1,"131":1,"146":9,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["tip",{"2":{"12":1,"13":1,"283":1,"292":1,"294":1}}],["txt",{"2":{"12":1,"15":1}}],["transfer",{"2":{"267":1}}],["traceback",{"2":{"172":1,"229":1}}],["tree",{"2":{"222":3}}],["try",{"2":{"20":1,"21":1,"106":1,"172":1,"229":1,"262":1}}],["trss",{"0":{"14":1},"2":{"8":1,"14":1}}],["true时例如docs",{"2":{"224":2}}],["true",{"0":{"106":1,"153":1,"222":1,"230":1,"250":1},"2":{"1":3,"2":4,"6":1,"68":1,"111":1,"162":1,"183":1,"184":1,"224":1,"268":2,"274":1}}],["t",{"0":{"65":1,"67":1,"68":1,"69":1,"70":2},"1":{"66":1,"67":1,"68":1,"69":1,"70":1},"2":{"6":1,"7":1,"9":1,"13":1,"33":1,"59":1,"60":1,"62":1,"63":1,"67":3,"68":3,"69":3,"70":9,"76":1,"77":1,"78":1,"79":1}}],["through",{"2":{"267":2}}],["thread",{"0":{"263":1},"2":{"22":1,"136":1,"263":2}}],["threading",{"0":{"115":1},"2":{"19":1,"22":1,"136":1,"263":1}}],["that",{"2":{"6":2,"267":1,"268":1,"273":2,"276":7}}],["this",{"2":{"6":3,"158":1,"255":1,"273":1,"275":2,"277":1}}],["then",{"2":{"6":1,"12":1}}],["therefore",{"2":{"267":1}}],["there",{"2":{"1":1,"6":1,"15":1,"276":2}}],["these",{"2":{"0":1,"275":1}}],["the",{"2":{"0":6,"1":1,"2":4,"3":6,"4":2,"6":20,"9":2,"10":3,"12":3,"13":2,"15":4,"158":1,"229":1,"255":1,"267":1,"268":2,"273":10,"274":1,"275":6,"276":24}}],["tokyo",{"2":{"301":1}}],["token",{"2":{"2":2}}],["together",{"2":{"276":1}}],["top",{"0":{"224":1},"2":{"224":4}}],["tools",{"2":{"274":1}}],["too",{"2":{"6":1}}],["to",{"0":{"3":1,"16":1,"220":1,"264":1,"273":1},"1":{"274":1},"2":{"0":1,"1":6,"2":3,"3":2,"4":1,"6":17,"12":6,"13":1,"14":2,"15":5,"22":2,"23":2,"34":2,"35":2,"67":1,"70":2,"220":1,"224":1,"229":7,"230":2,"255":1,"264":2,"267":3,"268":2,"273":5,"274":1,"276":7,"277":1}}],["toml",{"0":{"126":1},"2":{"0":2,"126":5,"127":2,"129":1}}],["world",{"2":{"279":5}}],["w",{"2":{"220":1}}],["write",{"0":{"220":1},"2":{"220":2,"224":1}}],["wrapper",{"0":{"265":1},"2":{"45":1,"70":2,"109":4,"137":1,"146":2,"153":2,"265":4}}],["watchdog",{"2":{"287":1,"290":1}}],["watch",{"2":{"286":1,"287":1}}],["walk",{"2":{"221":1,"222":1}}],["wait",{"0":{"146":1},"2":{"146":2}}],["waring=no",{"2":{"129":1}}],["waring",{"0":{"128":1,"129":1},"2":{"128":3,"129":3}}],["warning=no",{"2":{"128":1,"129":1}}],["warning",{"0":{"127":1,"230":1},"2":{"15":2,"35":1,"127":5,"128":1,"139":1,"141":1,"162":2,"229":1,"230":9,"283":1,"298":1}}],["way",{"2":{"14":1}}],["want",{"2":{"1":1}}],["weather",{"0":{"301":1},"1":{"302":1},"2":{"301":1,"302":1}}],["welcome",{"2":{"277":1}}],["we",{"2":{"9":1,"276":1,"277":1}}],["websocket",{"2":{"3":2}}],["windows10+",{"2":{"15":1}}],["windows",{"2":{"13":1,"15":2,"22":1}}],["without",{"2":{"15":1}}],["with",{"0":{"13":1,"35":1,"224":1},"2":{"6":2,"13":1,"35":1,"104":1,"105":1,"106":1,"113":1,"220":1,"222":1,"223":5,"224":4,"267":1,"268":1,"273":2}}],["will",{"2":{"0":3,"2":3,"6":1,"15":2,"35":1,"277":1}}],["what",{"2":{"276":1}}],["while",{"2":{"21":1,"68":1,"111":1,"268":2}}],["which",{"2":{"6":2,"14":1}}],["why",{"2":{"6":1}}],["where",{"2":{"276":1}}],["whether",{"2":{"1":3,"2":1}}],["when",{"2":{"0":2,"276":2}}],["ws",{"2":{"3":2}}],["poke",{"2":{"281":4}}],["possible",{"2":{"276":3}}],["port",{"2":{"1":2,"13":2}}],["pep8",{"2":{"276":1}}],["period`",{"2":{"304":1}}],["period>",{"2":{"303":1}}],["period",{"2":{"303":2}}],["permit",{"2":{"276":1}}],["permission",{"2":{"6":1}}],["persists",{"2":{"6":1}}],["personal",{"2":{"0":1,"273":1}}],["pull",{"2":{"273":1}}],["publish=publish",{"2":{"137":1}}],["publish",{"0":{"73":1,"108":1,"133":1},"2":{"73":1,"103":2,"108":2,"111":2,"133":3}}],["pwd",{"2":{"13":3}}],["p",{"2":{"13":1,"304":1}}],["pipe",{"2":{"66":2}}],["pip",{"2":{"12":1,"15":1,"229":1}}],["py即可启动插件",{"2":{"290":1}}],["pyo",{"2":{"287":1}}],["pycache",{"2":{"287":1}}],["pyc",{"2":{"287":1}}],["pycharm",{"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["py文件",{"2":{"286":1}}],["py文件或一个包含",{"2":{"286":1}}],["py的文件夹即可被识别为插件",{"2":{"286":1}}],["pyfile",{"0":{"225":1},"2":{"224":8,"225":1}}],["pyi",{"2":{"221":1,"222":1}}],["py",{"2":{"6":1,"12":1,"36":1,"131":1,"154":1,"160":1,"163":1,"167":2,"168":1,"173":1,"177":1,"186":1,"187":1,"221":1,"222":1,"224":1,"228":1,"230":3,"232":1,"233":1,"256":1,"258":2,"271":1,"275":1,"286":1,"287":1,"290":2,"292":1}}],["python格式",{"2":{"279":1}}],["pythonfrom",{"2":{"268":1,"271":1,"286":1,"290":1}}],["pythonimport",{"2":{"268":1,"287":1}}],["pythonasync",{"2":{"21":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"69":1,"111":1,"172":1,"183":1}}],["pythondef",{"2":{"19":1,"20":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"44":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"66":1,"67":1,"68":1,"70":1,"76":1,"77":1,"78":1,"79":1,"87":1,"91":1,"92":1,"95":1,"96":1,"97":1,"98":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"146":1,"149":1,"150":1,"151":1,"152":1,"153":1,"155":1,"161":1,"162":1,"165":1,"166":1,"170":1,"171":1,"174":1,"175":1,"176":1,"180":1,"181":1,"182":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"227":1,"229":1,"230":1,"231":1,"249":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":1}}],["python3",{"2":{"12":1,"15":1}}],["python",{"2":{"6":5,"12":2,"15":3,"22":1,"23":2,"34":3,"35":5,"45":2,"70":1,"76":1,"77":2,"78":1,"79":2,"82":1,"83":1,"84":1,"110":1,"113":1,"118":1,"119":1,"120":1,"121":1,"148":1,"184":1,"185":1,"222":2,"257":1,"273":1,"276":1}}],["page为页数",{"2":{"297":2}}],["page",{"2":{"297":2}}],["pacman",{"0":{"297":1},"1":{"298":1}}],["pack",{"2":{"292":2,"297":3}}],["packs",{"2":{"275":1}}],["param",{"2":{"294":1}}],["participate",{"2":{"277":1}}],["participation",{"2":{"273":1}}],["part",{"2":{"275":1,"276":1}}],["parts",{"2":{"264":2}}],["parent",{"2":{"222":4}}],["parse",{"2":{"222":1,"276":1}}],["parser",{"2":{"10":1}}],["parsed",{"2":{"6":1}}],["parsing",{"2":{"1":1}}],["pass",{"2":{"96":1,"97":1,"98":1}}],["passive=channel",{"2":{"137":1}}],["passive=chan",{"2":{"137":1}}],["passive",{"0":{"72":1,"75":1,"81":1,"133":2},"2":{"72":1,"76":1,"78":1,"79":1,"81":2,"82":2,"83":2,"84":1,"103":2,"104":1,"105":1,"106":1,"107":1,"117":1,"118":2,"119":2,"120":2,"121":1,"133":6,"137":6,"268":15}}],["pathlib",{"2":{"229":1}}],["paths=none",{"2":{"224":1}}],["paths",{"0":{"224":1},"2":{"224":5}}],["path=dot",{"2":{"222":1}}],["path",{"0":{"155":2,"214":1,"219":3,"222":1,"225":1,"229":2,"264":3},"2":{"6":2,"13":1,"15":3,"127":1,"128":2,"155":5,"219":10,"220":3,"221":1,"222":7,"224":22,"225":2,"229":19,"230":26,"264":12,"287":5}}],["platform",{"2":{"22":3}}],["platforms",{"2":{"6":1}}],["playwright",{"2":{"6":2}}],["plugintype",{"0":{"231":1,"234":1,"244":2},"1":{"235":1,"236":1,"237":1,"238":1,"239":1},"2":{"231":5,"286":1}}],["pluginmetadata",{"0":{"240":1,"254":1},"1":{"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1},"2":{"229":4,"286":2}}],["plugin`",{"2":{"229":1}}],["plugin`的函数签名",{"2":{"155":1}}],["plugin的函数签名",{"2":{"155":1}}],["plugin",{"0":{"154":1,"226":1,"227":1,"228":1,"229":2,"230":2,"231":1,"232":1,"233":1,"248":1,"258":1},"1":{"155":1,"227":1,"229":1,"230":1,"231":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"248":1,"249":2,"250":2,"251":2,"252":2,"253":2,"254":2,"259":1},"2":{"1":3,"4":1,"6":3,"8":1,"10":1,"19":2,"154":1,"227":3,"229":15,"230":6,"231":5,"255":1,"259":6,"267":1,"273":2,"275":3,"286":4,"289":1,"290":2,"297":5}}],["plugins下创建一个文件",{"2":{"290":1}}],["plugins中添加你的插件路径",{"2":{"289":1}}],["plugins",{"0":{"155":1,"227":1,"230":1,"255":1,"256":1,"258":1,"259":1},"1":{"257":1,"259":1},"2":{"1":1,"2":2,"6":2,"15":3,"19":1,"155":6,"227":2,"229":3,"230":9,"255":1,"259":4,"275":5,"287":1,"290":2}}],["please",{"0":{"16":1},"2":{"1":2,"2":1,"3":2,"6":4,"9":1,"13":2,"15":1,"273":3,"275":2,"276":2}}],["priority",{"0":{"170":1,"175":1,"176":1},"2":{"170":5,"174":2,"175":2,"176":2}}],["prioritize",{"2":{"9":1}}],["private",{"0":{"222":1},"2":{"165":2,"222":6}}],["print",{"2":{"19":1,"172":1,"224":1,"229":1}}],["profile",{"2":{"299":4}}],["profit",{"2":{"277":1}}],["property",{"0":{"193":2},"2":{"222":2}}],["provides",{"2":{"10":3,"14":1,"267":1}}],["provided",{"2":{"3":1,"6":1}}],["problematic",{"2":{"6":1}}],["problem",{"2":{"6":1}}],["problems",{"2":{"1":1}}],["processmanager",{"0":{"134":1},"1":{"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1},"2":{"19":2}}],["process",{"0":{"23":1,"30":2,"31":3,"40":1,"41":1,"42":1,"45":1,"48":3,"50":3,"54":1,"56":1,"141":1},"2":{"19":1,"20":1,"22":1,"23":4,"26":1,"30":7,"31":8,"33":2,"42":2,"44":4,"45":3,"48":8,"50":8,"54":2,"56":2,"66":4,"70":3,"76":1,"78":1,"79":1,"104":1,"105":1,"106":1,"107":1,"109":3,"111":2,"135":1,"136":2,"138":2,"139":7,"141":2,"267":2,"268":8,"287":2}}],["processes",{"2":{"6":1,"15":1,"23":1,"135":1,"139":2,"141":1,"267":4}}],["processing",{"2":{"6":1}}],["protocol",{"2":{"3":1,"6":1,"8":6}}],["production",{"2":{"3":1}}],["project",{"0":{"275":1},"2":{"0":1,"6":2,"9":2,"12":1,"13":1,"275":1,"277":2}}],["prefix",{"2":{"1":1}}],["preference",{"2":{"0":1}}],["y",{"2":{"231":1}}],["yellow>",{"2":{"162":1}}],["y>name",{"2":{"231":1}}],["y>",{"2":{"20":2,"231":1}}],["y>liteyuki",{"2":{"20":2}}],["yunzai",{"2":{"8":1}}],["yml格式的所有合法内容",{"2":{"295":1}}],["yml文件",{"2":{"292":1}}],["yml中填写一些信息",{"2":{"292":1}}],["yml",{"2":{"0":2,"127":1,"129":1,"274":1,"292":2,"295":1}}],["you",{"2":{"0":4,"1":1,"2":1,"3":1,"4":1,"6":6,"7":2,"12":1,"13":2,"15":2,"267":1,"273":5,"274":1,"276":2}}],["your",{"2":{"0":1,"13":1,"15":1,"229":4,"273":6,"277":1}}],["yamlweather",{"2":{"301":1}}],["yamlname",{"2":{"292":1}}],["yaml",{"0":{"124":1},"2":{"0":2,"1":1,"2":2,"124":5,"127":2,"129":1}}],["a包中的index",{"2":{"292":1}}],["application",{"0":{"235":2},"2":{"231":1,"275":4}}],["append",{"2":{"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"70":2,"109":2,"171":1,"174":1,"221":1,"222":5}}],["api格式为onebot",{"2":{"295":1}}],["api文档",{"2":{"282":1}}],["api也有差别",{"2":{"282":1}}],["api",{"0":{"282":1},"2":{"224":10,"273":1,"280":3,"281":2,"295":3}}],["awaitable",{"2":{"38":1,"41":1}}],["await",{"2":{"21":1,"45":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"69":1,"70":2,"109":1,"111":2,"172":2,"181":2,"182":2,"183":1,"268":1,"280":1,"281":1,"283":1}}],["arbitrary",{"0":{"250":1}}],["arg",{"2":{"222":13,"223":16}}],["argv",{"2":{"22":1}}],["args=coro",{"2":{"263":1}}],["args=",{"2":{"22":1,"136":1,"222":2}}],["args",{"0":{"24":1,"45":1,"54":1,"56":1,"92":1,"137":1,"196":1},"2":{"19":1,"22":3,"23":1,"24":4,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"34":1,"35":1,"45":4,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"54":2,"56":2,"66":1,"67":1,"70":1,"76":1,"77":1,"78":1,"92":2,"95":1,"96":1,"104":1,"105":1,"106":1,"108":1,"109":1,"110":1,"123":1,"137":5,"139":1,"141":1,"146":2,"153":1,"155":1,"165":1,"166":1,"170":1,"172":1,"219":1,"220":1,"222":9,"223":9,"224":1,"231":1,"261":1,"262":1,"263":1,"264":1,"265":3,"295":4}}],["arguments",{"2":{"19":1,"22":1,"23":1,"24":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"34":1,"35":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"66":1,"67":1,"70":1,"76":1,"77":1,"78":1,"95":1,"96":1,"104":1,"105":1,"106":1,"108":1,"109":1,"110":1,"123":1,"137":1,"139":1,"141":1,"153":1,"155":1,"166":1,"170":1,"172":1,"219":1,"220":1,"222":1,"223":1,"224":1,"229":1,"230":1,"231":1,"261":1,"262":1,"263":1,"264":1,"265":1}}],["arch",{"2":{"14":1}}],["are",{"2":{"1":1,"6":2,"13":1,"15":1,"267":1,"273":4,"275":1,"276":2}}],["abs",{"2":{"224":4}}],["absolute",{"2":{"13":1}}],["able",{"2":{"15":1}}],["about",{"2":{"6":1}}],["active和",{"2":{"268":1}}],["active和chan",{"2":{"137":2}}],["active=channel",{"2":{"137":1}}],["active=chan",{"2":{"137":1}}],["active",{"0":{"71":1,"74":1,"80":1,"133":2},"2":{"23":6,"71":1,"80":1,"103":2,"108":1,"111":1,"133":6,"137":4,"268":13}}],["activate",{"2":{"12":4}}],["acknowledgements",{"0":{"10":1}}],["account",{"2":{"7":1,"273":1}}],["according",{"2":{"6":1}}],["accesstoken",{"2":{"3":2}}],["access",{"2":{"2":2}}],["author",{"0":{"245":1},"2":{"6":1,"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["auto",{"2":{"1":2,"2":2}}],["automatically",{"2":{"0":1,"1":2}}],["after",{"0":{"28":1,"29":1,"32":1,"47":1,"49":1,"51":1,"53":1,"55":1,"57":1},"2":{"6":2,"28":2,"29":2,"32":2,"44":3,"47":2,"49":2,"51":2,"53":3,"55":3,"57":3,"268":1,"276":1}}],["avoid",{"2":{"6":1,"12":1}}],["available",{"2":{"1":1}}],["a",{"2":{"3":1,"6":4,"7":1,"8":3,"9":1,"12":2,"14":1,"67":1,"68":1,"123":3,"224":4,"230":1,"264":2,"267":1,"268":1,"273":4,"276":4,"277":1,"286":1}}],["annassign",{"2":{"222":1}}],["annotation",{"2":{"222":6}}],["an",{"2":{"6":1,"7":1,"67":1,"76":1}}],["anyone",{"2":{"277":1}}],["any=none",{"2":{"34":1,"35":1}}],["any",{"0":{"34":2,"35":2,"70":2,"82":1,"83":1,"84":1,"87":1,"92":1,"104":1,"105":2,"107":1,"108":1,"110":1,"118":1,"119":1,"120":1,"121":1,"123":2,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":4,"152":1,"165":2,"166":1,"205":1,"247":1,"261":1,"265":1},"2":{"2":1,"4":1,"19":1,"34":5,"35":5,"37":1,"38":1,"40":1,"41":1,"59":1,"60":3,"63":2,"70":9,"73":1,"74":1,"75":1,"78":1,"79":1,"82":1,"83":1,"84":1,"87":1,"92":1,"103":3,"104":1,"105":5,"107":4,"108":1,"109":1,"110":1,"118":1,"119":1,"120":1,"121":1,"123":2,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":4,"152":1,"165":3,"166":1,"176":1,"222":7,"224":1,"261":1,"265":1}}],["and",{"0":{"182":1},"2":{"0":6,"4":1,"6":7,"9":1,"12":2,"15":2,"67":1,"153":1,"182":2,"222":7,"223":1,"230":3,"267":3,"268":2,"273":4,"274":2,"275":2,"276":9,"277":1,"287":2}}],["adapter",{"2":{"3":1,"4":2}}],["advanced",{"2":{"2":1}}],["addition",{"2":{"276":1}}],["add",{"0":{"137":1,"174":1},"2":{"2":1,"137":1,"162":1,"174":1,"175":1,"230":1,"276":1}}],["address",{"2":{"1":1,"3":2}}],["amp",{"2":{"13":2}}],["am",{"2":{"1":1,"268":6}}],["attributes=",{"2":{"222":2}}],["attributes",{"0":{"211":1,"217":1},"2":{"222":2,"223":2}}],["attributeinfo",{"0":{"202":1,"211":1,"217":1},"1":{"203":1,"204":1,"205":1,"206":1},"2":{"222":2}}],["attr",{"0":{"114":1,"115":1,"189":1,"190":1,"191":1,"192":1,"193":1,"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"203":1,"204":1,"205":1,"206":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"235":1,"236":1,"237":1,"238":1,"239":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"250":1,"251":1,"252":1,"253":1,"254":1},"2":{"222":2,"223":14}}],["at",{"2":{"1":1,"15":2}}],["already",{"2":{"66":2,"76":1,"273":1}}],["alive",{"0":{"21":1,"141":1},"2":{"21":2,"139":1,"141":2}}],["alconna",{"2":{"1":2,"2":2,"10":1}}],["allowed",{"0":{"250":1}}],["allow",{"2":{"2":2}}],["all",{"0":{"107":1,"121":1,"136":1,"138":1,"140":1},"2":{"0":1,"2":1,"20":1,"22":1,"26":1,"36":1,"107":2,"120":1,"121":3,"131":1,"136":1,"138":1,"140":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["assumes",{"2":{"273":1}}],["assign",{"2":{"222":2}}],["ast",{"2":{"222":29}}],["asynchronous",{"2":{"265":2}}],["async=isinstance",{"2":{"222":2}}],["asyncfunctiondef",{"2":{"222":3}}],["async",{"0":{"21":1,"38":1,"41":1,"45":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"60":1,"63":1,"69":2,"110":1,"111":1,"172":1,"183":1,"184":1,"185":1,"201":1,"257":1,"265":1},"2":{"39":1,"42":1,"45":3,"61":1,"64":1,"69":1,"70":1,"100":1,"101":1,"109":1,"110":1,"111":1,"176":1,"181":1,"182":1,"184":1,"185":1,"223":4,"257":1,"265":2,"268":2}}],["asyncio",{"2":{"19":2,"20":1,"21":1,"45":1,"69":1,"110":1,"262":5,"268":2}}],["ask",{"2":{"9":1}}],["asked",{"0":{"6":1}}],["as",{"2":{"0":1,"3":1,"6":2,"106":1,"220":1,"222":1,"229":1,"262":1,"274":1,"276":6}}]],"serializationVersion":2}';export{e as default}; diff --git a/assets/chunks/@localSearchIndexroot.B8WeOrAr.js b/assets/chunks/@localSearchIndexroot.B8WeOrAr.js deleted file mode 100644 index 87ea4a07..00000000 --- a/assets/chunks/@localSearchIndexroot.B8WeOrAr.js +++ /dev/null @@ -1 +0,0 @@ -const e='{"documentCount":305,"nextId":305,"documentIds":{"0":"/deploy/config.html#配置","1":"/deploy/config.html#基础配置项","2":"/deploy/config.html#其他配置","3":"/deploy/config.html#示例-与nonebot对接的onebot实现端配置","4":"/deploy/config.html#其他","5":"/deploy/fandq.html#答疑","6":"/deploy/fandq.html#常见问题","7":"/deploy/fandq.html#其他问题","8":"/deploy/fandq.html#推荐方案-qq","9":"/deploy/fandq.html#推荐方案-minecraft","10":"/deploy/fandq.html#鸣谢","11":"/deploy/install.html#安装","12":"/deploy/install.html#常规部署","13":"/deploy/install.html#使用docker构建","14":"/deploy/install.html#使用trss-scripts部署","15":"/deploy/install.html#装置要求","16":"/deploy/install.html#其他问题请移步至答疑","17":"/dev/api/bot/#模块-liteyuki-bot","18":"/dev/api/bot/#class-liteyukibot","19":"/dev/api/bot/#func-init-self-kwargs-none","20":"/dev/api/bot/#func-run-self","21":"/dev/api/bot/#async-func-keep-alive-self","22":"/dev/api/bot/#func-restart-self-delay-int-0","23":"/dev/api/bot/#func-restart-process-self-name-optional-str-none","24":"/dev/api/bot/#func-init-self-args-kwargs","25":"/dev/api/bot/#func-init-logger-self","26":"/dev/api/bot/#func-stop-self","27":"/dev/api/bot/#func-on-before-start-self-func-lifespan-func-lifespan-func","28":"/dev/api/bot/#func-on-after-start-self-func-lifespan-func","29":"/dev/api/bot/#func-on-after-shutdown-self-func-lifespan-func","30":"/dev/api/bot/#func-on-before-process-shutdown-self-func-process-lifespan-func","31":"/dev/api/bot/#func-on-before-process-restart-self-func-process-lifespan-func-process-lifespan-func","32":"/dev/api/bot/#func-on-after-restart-self-func-lifespan-func","33":"/dev/api/bot/#func-get-bot-liteyukibot","34":"/dev/api/bot/#func-get-config-key-str-default-any-none-any","35":"/dev/api/bot/#func-get-config-with-compat-key-str-compat-keys-tuple-str-default-any-none-any","36":"/dev/api/bot/lifespan.html#模块-liteyuki-bot-lifespan","37":"/dev/api/bot/lifespan.html#var-sync-lifespan-func","38":"/dev/api/bot/lifespan.html#var-async-lifespan-func","39":"/dev/api/bot/lifespan.html#var-lifespan-func","40":"/dev/api/bot/lifespan.html#var-sync-process-lifespan-func","41":"/dev/api/bot/lifespan.html#var-async-process-lifespan-func","42":"/dev/api/bot/lifespan.html#var-process-lifespan-func","43":"/dev/api/bot/lifespan.html#class-lifespan","44":"/dev/api/bot/lifespan.html#func-init-self-none","45":"/dev/api/bot/lifespan.html#async-func-run-funcs-funcs-sequence-lifespan-func-process-lifespan-func-args-kwargs-none","46":"/dev/api/bot/lifespan.html#func-on-before-start-self-func-lifespan-func-lifespan-func","47":"/dev/api/bot/lifespan.html#func-on-after-start-self-func-lifespan-func-lifespan-func","48":"/dev/api/bot/lifespan.html#func-on-before-process-shutdown-self-func-process-lifespan-func-process-lifespan-func","49":"/dev/api/bot/lifespan.html#func-on-after-shutdown-self-func-lifespan-func-lifespan-func","50":"/dev/api/bot/lifespan.html#func-on-before-process-restart-self-func-process-lifespan-func-process-lifespan-func","51":"/dev/api/bot/lifespan.html#func-on-after-restart-self-func-lifespan-func-lifespan-func","52":"/dev/api/bot/lifespan.html#async-func-before-start-self-none","53":"/dev/api/bot/lifespan.html#async-func-after-start-self-none","54":"/dev/api/bot/lifespan.html#async-func-before-process-shutdown-self-args-kwargs-none","55":"/dev/api/bot/lifespan.html#async-func-after-shutdown-self-none","56":"/dev/api/bot/lifespan.html#async-func-before-process-restart-self-args-kwargs-none","57":"/dev/api/bot/lifespan.html#async-func-after-restart-self-none","58":"/dev/api/comm/channel.html#模块-liteyuki-comm-channel","59":"/dev/api/comm/channel.html#var-sync-on-receive-func","60":"/dev/api/comm/channel.html#var-async-on-receive-func","61":"/dev/api/comm/channel.html#var-on-receive-func","62":"/dev/api/comm/channel.html#var-sync-filter-func","63":"/dev/api/comm/channel.html#var-async-filter-func","64":"/dev/api/comm/channel.html#var-filter-func","65":"/dev/api/comm/channel.html#class-channel-generic-t","66":"/dev/api/comm/channel.html#func-init-self-name-str-type-check-optional-bool-none","67":"/dev/api/comm/channel.html#func-send-self-data-t","68":"/dev/api/comm/channel.html#func-receive-self-t","69":"/dev/api/comm/channel.html#async-func-async-receive-self-t","70":"/dev/api/comm/channel.html#func-on-receive-self-filter-func-optional-filter-func-none-callable-callable-t-any-callable-t-any","71":"/dev/api/comm/channel.html#var-active-channel","72":"/dev/api/comm/channel.html#var-passive-channel","73":"/dev/api/comm/channel.html#var-publish-channel","74":"/dev/api/comm/channel.html#var-channel-deliver-active-channel","75":"/dev/api/comm/channel.html#var-channel-deliver-passive-channel","76":"/dev/api/comm/channel.html#func-set-channel-name-str-channel-channel","77":"/dev/api/comm/channel.html#func-set-channels-channels-dict-str-channel","78":"/dev/api/comm/channel.html#func-get-channel-name-str-channel","79":"/dev/api/comm/channel.html#func-get-channels-dict-str-channel","80":"/dev/api/comm/channel.html#var-channel-deliver-active-channel-1","81":"/dev/api/comm/channel.html#var-channel-deliver-passive-channel-1","82":"/dev/api/comm/channel.html#func-on-set-channel-data-tuple-str-dict-str-any","83":"/dev/api/comm/channel.html#func-on-get-channel-data-tuple-str-dict-str-any","84":"/dev/api/comm/channel.html#func-on-get-channels-data-tuple-str-dict-str-any","85":"/dev/api/comm/event.html#模块-liteyuki-comm-event","86":"/dev/api/comm/event.html#class-event","87":"/dev/api/comm/event.html#func-init-self-name-str-data-dict-str-any","88":"/dev/api/comm/#模块-liteyuki-comm","89":"/dev/api/comm/rpc.html#模块-liteyuki-comm-rpc","90":"/dev/api/comm/rpc.html#class-rpc","91":"/dev/api/comm/rpc.html#func-init-self-on-calling-on-calling-func-none","92":"/dev/api/comm/rpc.html#func-call-self-args-tuple-kwargs-dict-any","93":"/dev/api/comm/socks_channel.html#模块-liteyuki-comm-socks-channel","94":"/dev/api/comm/socks_channel.html#class-sockschannel","95":"/dev/api/comm/socks_channel.html#func-init-self-name-str","96":"/dev/api/comm/socks_channel.html#func-send-self-data","97":"/dev/api/comm/socks_channel.html#func-receive-self","98":"/dev/api/comm/socks_channel.html#func-close-self","99":"/dev/api/comm/storage.html#模块-liteyuki-comm-storage","100":"/dev/api/comm/storage.html#var-on-main-subscriber-receive-funcs","101":"/dev/api/comm/storage.html#var-on-sub-subscriber-receive-funcs","102":"/dev/api/comm/storage.html#class-keyvaluestore","103":"/dev/api/comm/storage.html#func-init-self","104":"/dev/api/comm/storage.html#func-set-self-key-str-value-any-none","105":"/dev/api/comm/storage.html#func-get-self-key-str-default-optional-any-none-optional-any","106":"/dev/api/comm/storage.html#func-delete-self-key-str-ignore-key-error-bool-true-none","107":"/dev/api/comm/storage.html#func-get-all-self-dict-str-any","108":"/dev/api/comm/storage.html#func-publish-self-channel-str-data-any-none","109":"/dev/api/comm/storage.html#func-on-subscriber-receive-self-channel-str-callable-on-receive-func-on-receive-func","110":"/dev/api/comm/storage.html#async-func-run-subscriber-receive-funcs-channel-str-data-any","111":"/dev/api/comm/storage.html#async-func-start-receive-loop-self","112":"/dev/api/comm/storage.html#class-globalkeyvaluestore","113":"/dev/api/comm/storage.html#func-get-instance-cls","114":"/dev/api/comm/storage.html#attr-instance-none","115":"/dev/api/comm/storage.html#attr-lock-threading-lock","116":"/dev/api/comm/storage.html#var-shared-memory","117":"/dev/api/comm/storage.html#var-ref-count","118":"/dev/api/comm/storage.html#func-on-get-data-tuple-str-dict-str-any","119":"/dev/api/comm/storage.html#func-on-set-data-tuple-str-dict-str-any","120":"/dev/api/comm/storage.html#func-on-delete-data-tuple-str-dict-str-any","121":"/dev/api/comm/storage.html#func-on-get-all-data-tuple-str-dict-str-any","122":"/dev/api/config.html#模块-liteyuki-config","123":"/dev/api/config.html#func-flat-config-config-dict-str-any-dict-str-any","124":"/dev/api/config.html#func-load-from-yaml-file-str-dict-str-any","125":"/dev/api/config.html#func-load-from-json-file-str-dict-str-any","126":"/dev/api/config.html#func-load-from-toml-file-str-dict-str-any","127":"/dev/api/config.html#func-load-from-files-files-str-no-warning-bool-false-dict-str-any","128":"/dev/api/config.html#func-load-configs-from-dirs-directories-str-no-waring-bool-false-dict-str-any","129":"/dev/api/config.html#func-load-config-in-default-no-waring-bool-false-dict-str-any","130":"/dev/api/core/#模块-liteyuki-core","131":"/dev/api/core/manager.html#模块-liteyuki-core-manager","132":"/dev/api/core/manager.html#class-channeldeliver","133":"/dev/api/core/manager.html#func-init-self-active-channel-any-passive-channel-any-channel-deliver-active-channel-channel-any-channel-deliver-passive-channel-tuple-str-dict-publish-channel-tuple-str-any","134":"/dev/api/core/manager.html#class-processmanager","135":"/dev/api/core/manager.html#func-init-self-lifespan-lifespan","136":"/dev/api/core/manager.html#func-start-all-self","137":"/dev/api/core/manager.html#func-add-target-self-name-str-target-target-func-args-tuple-kwargs-none","138":"/dev/api/core/manager.html#func-join-all-self","139":"/dev/api/core/manager.html#func-terminate-self-name-str","140":"/dev/api/core/manager.html#func-terminate-all-self","141":"/dev/api/core/manager.html#func-is-process-alive-self-name-str-bool","142":"/dev/api/dev/#模块-liteyuki-dev","143":"/dev/api/dev/observer.html#模块-liteyuki-dev-observer","144":"/dev/api/dev/observer.html#var-callback-func","145":"/dev/api/dev/observer.html#var-filter-func","146":"/dev/api/dev/observer.html#func-debounce-wait","147":"/dev/api/dev/observer.html#class-codemodifiedhandler-filesystemeventhandler","148":"/dev/api/dev/observer.html#func-on-modified-self-event","149":"/dev/api/dev/observer.html#func-on-created-self-event","150":"/dev/api/dev/observer.html#func-on-deleted-self-event","151":"/dev/api/dev/observer.html#func-on-moved-self-event","152":"/dev/api/dev/observer.html#func-on-any-event-self-event","153":"/dev/api/dev/observer.html#func-on-file-system-event-directories-tuple-str-recursive-bool-true-event-filter-filter-func-none-callable-callback-func-callback-func","154":"/dev/api/dev/plugin.html#模块-liteyuki-dev-plugin","155":"/dev/api/dev/plugin.html#func-run-plugins-module-path-str-path","156":"/dev/api/exception.html#模块-liteyuki-exception","157":"/dev/api/exception.html#class-liteyukiexception-baseexception","158":"/dev/api/#模块-liteyuki","159":"/dev/api/#var-version","160":"/dev/api/log.html#模块-liteyuki-log","161":"/dev/api/log.html#func-get-format-level-str-str","162":"/dev/api/log.html#func-init-log-config-dict","163":"/dev/api/message/event.html#模块-liteyuki-message-event","164":"/dev/api/message/event.html#class-messageevent","165":"/dev/api/message/event.html#func-init-self-bot-id-str-message-list-dict-str-any-str-message-type-str-raw-message-str-session-id-str-user-id-str-session-type-str-receive-channel-optional-channel-messageevent-none-data-optional-dict-str-any-none","166":"/dev/api/message/event.html#func-reply-self-message-str-dict-str-any","167":"/dev/api/message/#模块-liteyuki-message","168":"/dev/api/message/matcher.html#模块-liteyuki-message-matcher","169":"/dev/api/message/matcher.html#class-matcher","170":"/dev/api/message/matcher.html#func-init-self-rule-rule-priority-int-block-bool","171":"/dev/api/message/matcher.html#func-handle-self-callable-eventhandler-eventhandler","172":"/dev/api/message/matcher.html#async-func-run-self-event-messageevent-none","173":"/dev/api/message/on.html#模块-liteyuki-message-on","174":"/dev/api/message/on.html#func-add-matcher-matcher-matcher","175":"/dev/api/message/on.html#func-on-message-rule-rule-empty-rule-priority-int-0-block-bool-false-matcher","176":"/dev/api/message/on.html#func-on-keywords-keywords-list-str-rule-empty-rule-priority-int-0-block-bool-false-matcher","177":"/dev/api/message/rule.html#模块-liteyuki-message-rule","178":"/dev/api/message/rule.html#var-rulehandlerfunc","179":"/dev/api/message/rule.html#class-rule","180":"/dev/api/message/rule.html#func-init-self-handler-rulehandlerfunc","181":"/dev/api/message/rule.html#func-or-self-other-rule-rule","182":"/dev/api/message/rule.html#func-and-self-other-rule-rule","183":"/dev/api/message/rule.html#async-func-call-self-event-messageevent-bool","184":"/dev/api/message/rule.html#async-func-empty-rule-event-messageevent-bool","185":"/dev/api/message/rule.html#async-func-is-su-rule-event-messageevent-bool","186":"/dev/api/message/session.html#模块-liteyuki-message-session","187":"/dev/api/mkdoc.html#模块-liteyuki-mkdoc","188":"/dev/api/mkdoc.html#class-deftype-enum","189":"/dev/api/mkdoc.html#attr-function-function","190":"/dev/api/mkdoc.html#attr-method-method","191":"/dev/api/mkdoc.html#attr-static-method-staticmethod","192":"/dev/api/mkdoc.html#attr-class-method-classmethod","193":"/dev/api/mkdoc.html#attr-property-property","194":"/dev/api/mkdoc.html#class-functioninfo-basemodel","195":"/dev/api/mkdoc.html#attr-name-str-no-default","196":"/dev/api/mkdoc.html#attr-args-list-tuple-str-str-no-default","197":"/dev/api/mkdoc.html#attr-return-type-str-no-default","198":"/dev/api/mkdoc.html#attr-docstring-str-no-default","199":"/dev/api/mkdoc.html#attr-source-code-str","200":"/dev/api/mkdoc.html#attr-type-deftype-no-default","201":"/dev/api/mkdoc.html#attr-is-async-bool-no-default","202":"/dev/api/mkdoc.html#class-attributeinfo-basemodel","203":"/dev/api/mkdoc.html#attr-name-str-no-default-1","204":"/dev/api/mkdoc.html#attr-type-str-no-default","205":"/dev/api/mkdoc.html#attr-value-any-none","206":"/dev/api/mkdoc.html#attr-docstring-str","207":"/dev/api/mkdoc.html#class-classinfo-basemodel","208":"/dev/api/mkdoc.html#attr-name-str-no-default-2","209":"/dev/api/mkdoc.html#attr-docstring-str-no-default-1","210":"/dev/api/mkdoc.html#attr-methods-list-functioninfo-no-default","211":"/dev/api/mkdoc.html#attr-attributes-list-attributeinfo-no-default","212":"/dev/api/mkdoc.html#attr-inherit-list-str-no-default","213":"/dev/api/mkdoc.html#class-moduleinfo-basemodel","214":"/dev/api/mkdoc.html#attr-module-path-str-no-default","215":"/dev/api/mkdoc.html#attr-functions-list-functioninfo-no-default","216":"/dev/api/mkdoc.html#attr-classes-list-classinfo-no-default","217":"/dev/api/mkdoc.html#attr-attributes-list-attributeinfo-no-default-1","218":"/dev/api/mkdoc.html#attr-docstring-str-no-default-2","219":"/dev/api/mkdoc.html#func-get-relative-path-base-path-str-target-path-str-str","220":"/dev/api/mkdoc.html#func-write-to-files-file-data-dict-str-str","221":"/dev/api/mkdoc.html#func-get-file-list-module-folder-str","222":"/dev/api/mkdoc.html#func-get-module-info-normal-file-path-str-ignore-private-bool-true-moduleinfo","223":"/dev/api/mkdoc.html#func-generate-markdown-module-info-moduleinfo-front-matter-none-lang-str-zh-cn-str","224":"/dev/api/mkdoc.html#func-generate-docs-module-folder-str-output-dir-str-with-top-bool-false-lang-str-zh-cn-ignored-paths-none","225":"/dev/api/mkdoc.html#var-no-module-name-pyfile-path","226":"/dev/api/plugin/#模块-liteyuki-plugin","227":"/dev/api/plugin/#func-get-loaded-plugins-dict-str-plugin","228":"/dev/api/plugin/load.html#模块-liteyuki-plugin-load","229":"/dev/api/plugin/load.html#func-load-plugin-module-path-str-path-optional-plugin","230":"/dev/api/plugin/load.html#func-load-plugins-plugin-dir-str-ignore-warning-bool-true-set-plugin","231":"/dev/api/plugin/load.html#func-format-display-name-display-name-str-plugin-type-plugintype-str","232":"/dev/api/plugin/manager.html#模块-liteyuki-plugin-manager","233":"/dev/api/plugin/model.html#模块-liteyuki-plugin-model","234":"/dev/api/plugin/model.html#class-plugintype-enum","235":"/dev/api/plugin/model.html#attr-application-application","236":"/dev/api/plugin/model.html#attr-service-service","237":"/dev/api/plugin/model.html#attr-module-module","238":"/dev/api/plugin/model.html#attr-unclassified-unclassified","239":"/dev/api/plugin/model.html#attr-test-test","240":"/dev/api/plugin/model.html#class-pluginmetadata-basemodel","241":"/dev/api/plugin/model.html#attr-name-str-no-default","242":"/dev/api/plugin/model.html#attr-description-str","243":"/dev/api/plugin/model.html#attr-usage-str","244":"/dev/api/plugin/model.html#attr-type-plugintype-plugintype-unclassified","245":"/dev/api/plugin/model.html#attr-author-str","246":"/dev/api/plugin/model.html#attr-homepage-str","247":"/dev/api/plugin/model.html#attr-extra-dict-str-any","248":"/dev/api/plugin/model.html#class-plugin-basemodel","249":"/dev/api/plugin/model.html#func-hash-self","250":"/dev/api/plugin/model.html#attr-model-config-arbitrary-types-allowed-true","251":"/dev/api/plugin/model.html#attr-name-str-no-default-1","252":"/dev/api/plugin/model.html#attr-module-moduletype-no-default","253":"/dev/api/plugin/model.html#attr-module-name-str-no-default","254":"/dev/api/plugin/model.html#attr-metadata-optional-pluginmetadata-none","255":"/dev/api/plugins/#模块-liteyuki-plugins","256":"/dev/api/plugins/plugin_loader/#模块-liteyuki-plugins-plugin-loader","257":"/dev/api/plugins/plugin_loader/#func-default-plugins-loader","258":"/dev/api/plugins/liteecho.html#模块-liteyuki-plugins-liteecho","259":"/dev/api/plugins/liteecho.html#async-func-liteecho-event-messageevent","260":"/dev/api/utils.html#模块-liteyuki-utils","261":"/dev/api/utils.html#func-is-coroutine-callable-call-callable-any-bool","262":"/dev/api/utils.html#func-run-coroutine-coro-coroutine","263":"/dev/api/utils.html#func-run-coroutine-in-thread-coro-coroutine","264":"/dev/api/utils.html#func-path-to-module-name-path-path-str","265":"/dev/api/utils.html#func-async-wrapper-func-callable-any-callable-coroutine","266":"/dev/comm.html#通道通信","267":"/dev/comm.html#简介","268":"/dev/comm.html#示例","269":"/dev/comm.html#共享内存通信","270":"/dev/comm.html#简介-1","271":"/dev/comm.html#示例-1","272":"/dev/guide.html#开发指南","273":"/dev/guide.html#如何开发","274":"/dev/guide.html#建议","275":"/dev/guide.html#项目结构","276":"/dev/guide.html#规范化","277":"/dev/guide.html#最后","278":"/dev/lyfunc.html#轻雪函数","279":"/dev/lyfunc.html#函数文件","280":"/dev/lyfunc.html#命令文档","281":"/dev/lyfunc.html#示例","282":"/dev/lyfunc.html#api","283":"/dev/lyfunc.html#结束关键字","284":"/dev/plugin.html#简介","285":"/dev/plugin.html#开始","286":"/dev/plugin.html#创建插件","287":"/dev/plugin.html#编写逻辑部分","288":"/dev/plugin.html#加载插件","289":"/dev/plugin.html#方法1","290":"/dev/plugin.html#方法2","291":"/dev/resource.html#简介","292":"/dev/resource.html#加载资源包","293":"/usage/agreement.html#用户协议","294":"/usage/basic.html#基础插件","295":"/usage/basic.html#轻雪命令liteyuki-command","296":"/usage/basic.html#命令别名","297":"/usage/basic.html#插件-包管理器-liteyuki-pacman","298":"/usage/basic.html#命令别名-1","299":"/usage/basic.html#用户管理liteyuki-user","300":"/usage/extra.html#功能插件命令","301":"/usage/extra.html#轻雪天气liteyuki-weather","302":"/usage/extra.html#命令别名","303":"/usage/extra.html#统计信息liteyuki-statistics","304":"/usage/extra.html#命令别名-1"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[1,1,16],"1":[1,1,51],"2":[1,1,48],"3":[2,1,28],"4":[1,1,3],"5":[1,1,1],"6":[1,1,55],"7":[1,1,2],"8":[3,1,30],"9":[3,1,6],"10":[1,1,8],"11":[1,1,1],"12":[1,1,48],"13":[1,1,35],"14":[2,1,7],"15":[1,1,39],"16":[1,2,1],"17":[3,1,1],"18":[2,3,1],"19":[6,5,58],"20":[4,5,28],"21":[6,5,30],"22":[8,5,70],"23":[10,5,49],"24":[6,5,16],"25":[5,5,13],"26":[4,5,15],"27":[8,5,25],"28":[8,5,24],"29":[8,5,25],"30":[10,5,27],"31":[10,5,28],"32":[8,5,25],"33":[5,3,38],"34":[10,3,41],"35":[14,3,61],"36":[4,1,24],"37":[4,4,8],"38":[4,4,9],"39":[3,4,11],"40":[5,4,9],"41":[5,4,10],"42":[4,4,12],"43":[2,4,1],"44":[5,6,31],"45":[13,6,55],"46":[8,6,27],"47":[8,6,27],"48":[10,6,29],"49":[8,6,27],"50":[10,6,29],"51":[8,6,27],"52":[7,6,20],"53":[7,6,20],"54":[10,6,23],"55":[7,6,21],"56":[10,6,23],"57":[7,6,21],"58":[4,1,3],"59":[5,4,9],"60":[5,4,10],"61":[4,4,12],"62":[4,4,9],"63":[4,4,11],"64":[3,4,11],"65":[5,4,1],"66":[12,9,73],"67":[6,9,45],"68":[5,9,30],"69":[6,9,29],"70":[15,9,79],"71":[3,4,9],"72":[3,4,9],"73":[3,4,15],"74":[4,4,11],"75":[4,4,12],"76":[7,4,55],"77":[7,4,35],"78":[7,4,47],"79":[8,4,46],"80":[4,4,9],"81":[4,4,17],"82":[10,4,25],"83":[10,4,28],"84":[10,4,27],"85":[4,1,2],"86":[2,4,1],"87":[9,6,13],"88":[3,1,8],"89":[4,1,4],"90":[2,4,1],"91":[10,6,15],"92":[9,6,18],"93":[5,1,2],"94":[2,5,1],"95":[6,7,21],"96":[5,7,14],"97":[4,7,14],"98":[4,7,10],"99":[4,1,4],"100":[6,4,12],"101":[6,4,12],"102":[2,4,1],"103":[4,6,30],"104":[9,6,32],"105":[12,6,39],"106":[12,6,44],"107":[9,6,31],"108":[9,6,23],"109":[13,6,54],"110":[11,6,30],"111":[7,6,42],"112":[2,4,2],"113":[5,6,18],"114":[4,6,1],"115":[6,6,1],"116":[3,4,9],"117":[3,4,17],"118":[9,4,29],"119":[9,4,27],"120":[9,4,27],"121":[10,4,27],"122":[3,1,14],"123":[8,3,40],"124":[10,3,35],"125":[10,3,34],"126":[10,3,34],"127":[14,3,43],"128":[16,3,49],"129":[15,3,34],"130":[3,1,1],"131":[4,1,24],"132":[2,4,1],"133":[14,6,18],"134":[2,4,1],"135":[6,6,17],"136":[5,6,28],"137":[14,6,49],"138":[5,6,13],"139":[6,6,33],"140":[5,6,12],"141":[9,6,29],"142":[3,1,2],"143":[4,1,5],"144":[3,4,9],"145":[3,4,9],"146":[4,4,25],"147":[4,4,3],"148":[6,8,17],"149":[6,8,10],"150":[6,8,10],"151":[6,8,10],"152":[6,8,10],"153":[20,4,55],"154":[4,1,24],"155":[9,4,33],"156":[3,1,2],"157":[4,3,1],"158":[2,1,10],"159":[3,2,7],"160":[3,1,24],"161":[6,3,17],"162":[6,3,47],"163":[4,1,24],"164":[2,4,1],"165":[24,6,49],"166":[9,6,36],"167":[3,1,24],"168":[4,1,24],"169":[2,4,1],"170":[10,6,27],"171":[7,6,21],"172":[8,6,32],"173":[4,1,24],"174":[5,4,21],"175":[15,4,19],"176":[16,4,30],"177":[4,1,24],"178":[2,4,11],"179":[2,4,1],"180":[6,6,10],"181":[6,6,19],"182":[6,6,19],"183":[8,6,20],"184":[8,4,16],"185":[9,4,21],"186":[4,1,24],"187":[3,1,24],"188":[4,3,1],"189":[5,7,1],"190":[5,7,1],"191":[6,7,1],"192":[6,7,1],"193":[5,7,1],"194":[4,3,1],"195":[6,7,1],"196":[8,7,1],"197":[7,7,1],"198":[6,7,1],"199":[6,7,1],"200":[6,7,1],"201":[7,7,1],"202":[4,3,1],"203":[6,7,1],"204":[6,7,1],"205":[5,7,1],"206":[5,7,1],"207":[4,3,1],"208":[6,7,1],"209":[6,7,1],"210":[7,7,1],"211":[7,7,1],"212":[7,7,1],"213":[4,3,1],"214":[7,7,1],"215":[7,7,1],"216":[7,7,1],"217":[7,7,1],"218":[6,7,1],"219":[8,3,21],"220":[9,3,37],"221":[8,3,27],"222":[15,3,145],"223":[15,3,97],"224":[20,3,96],"225":[6,3,10],"226":[3,1,1],"227":[9,3,18],"228":[4,1,24],"229":[12,4,80],"230":[15,4,58],"231":[9,4,41],"232":[4,1,24],"233":[4,1,24],"234":[4,4,1],"235":[5,8,1],"236":[5,8,1],"237":[5,8,1],"238":[5,8,1],"239":[5,8,1],"240":[4,4,1],"241":[6,8,1],"242":[5,8,1],"243":[5,8,1],"244":[5,8,1],"245":[5,8,1],"246":[5,8,1],"247":[7,8,1],"248":[4,4,1],"249":[4,8,10],"250":[9,8,1],"251":[6,8,1],"252":[6,8,1],"253":[7,8,1],"254":[6,8,1],"255":[3,1,15],"256":[5,1,24],"257":[5,5,21],"258":[4,1,30],"259":[6,4,21],"260":[3,1,5],"261":[9,3,32],"262":[6,3,44],"263":[8,3,22],"264":[8,3,40],"265":[8,3,27],"266":[1,1,1],"267":[1,1,12],"268":[1,1,83],"269":[1,1,1],"270":[1,2,9],"271":[1,2,18],"272":[1,1,1],"273":[1,1,18],"274":[1,2,10],"275":[1,1,36],"276":[1,1,55],"277":[1,1,4],"278":[1,1,9],"279":[1,1,25],"280":[1,1,33],"281":[1,2,26],"282":[1,1,7],"283":[1,1,18],"284":[1,1,4],"285":[1,1,1],"286":[1,2,42],"287":[1,2,58],"288":[1,2,1],"289":[1,3,6],"290":[1,3,25],"291":[1,1,31],"292":[1,1,56],"293":[1,1,28],"294":[1,1,16],"295":[2,1,86],"296":[1,3,30],"297":[4,1,53],"298":[1,5,38],"299":[2,1,20],"300":[1,1,1],"301":[2,1,30],"302":[1,3,8],"303":[2,1,35],"304":[1,3,17]},"averageFieldLength":[5.54754098360656,4.127868852459012,19.93114754098361],"storedFields":{"0":{"title":"配置","titles":[]},"1":{"title":"基础配置项","titles":["配置"]},"2":{"title":"其他配置","titles":["配置"]},"3":{"title":"示例:与NoneBot对接的OneBot实现端配置","titles":["配置"]},"4":{"title":"其他","titles":["配置"]},"5":{"title":"答疑","titles":[]},"6":{"title":"常见问题","titles":["答疑"]},"7":{"title":"其他问题","titles":["答疑"]},"8":{"title":"推荐方案(QQ)","titles":["答疑"]},"9":{"title":"推荐方案(Minecraft)","titles":["答疑"]},"10":{"title":"鸣谢","titles":["答疑"]},"11":{"title":"安装","titles":[]},"12":{"title":"常规部署","titles":["安装"]},"13":{"title":"使用Docker构建","titles":["安装"]},"14":{"title":"使用TRSS Scripts部署","titles":["安装"]},"15":{"title":"装置要求","titles":["安装"]},"16":{"title":"其他问题请移步至","titles":["安装","装置要求"]},"17":{"title":"模块 liteyuki.bot","titles":[]},"18":{"title":"class LiteyukiBot","titles":["模块 liteyuki.bot"]},"19":{"title":"func __init__(self, **kwargs) -> None","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"20":{"title":"func run(self)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"21":{"title":"async func keep_alive(self)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"22":{"title":"func restart(self, delay: int = 0)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"23":{"title":"func restart_process(self, name: Optional[str] = None)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"24":{"title":"func init(self, *args, **kwargs)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"25":{"title":"func init_logger(self)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"26":{"title":"func stop(self)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"27":{"title":"func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"28":{"title":"func on_after_start(self, func: LIFESPAN_FUNC)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"29":{"title":"func on_after_shutdown(self, func: LIFESPAN_FUNC)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"30":{"title":"func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"31":{"title":"func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"32":{"title":"func on_after_restart(self, func: LIFESPAN_FUNC)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"33":{"title":"func get_bot() -> LiteyukiBot","titles":["模块 liteyuki.bot"]},"34":{"title":"func get_config(key: str, default: Any = None) -> Any","titles":["模块 liteyuki.bot"]},"35":{"title":"func get_config_with_compat(key: str, compat_keys: tuple[str], default: Any = None) -> Any","titles":["模块 liteyuki.bot"]},"36":{"title":"模块 liteyuki.bot.lifespan","titles":[]},"37":{"title":"var SYNC_LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan"]},"38":{"title":"var ASYNC_LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan"]},"39":{"title":"var LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan"]},"40":{"title":"var SYNC_PROCESS_LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan"]},"41":{"title":"var ASYNC_PROCESS_LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan"]},"42":{"title":"var PROCESS_LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan"]},"43":{"title":"class Lifespan","titles":["模块 liteyuki.bot.lifespan"]},"44":{"title":"func __init__(self) -> None","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"45":{"title":"async func run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"46":{"title":"func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"47":{"title":"func on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"48":{"title":"func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"49":{"title":"func on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"50":{"title":"func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"51":{"title":"func on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"52":{"title":"async func before_start(self) -> None","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"53":{"title":"async func after_start(self) -> None","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"54":{"title":"async func before_process_shutdown(self, *args, **kwargs) -> None","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"55":{"title":"async func after_shutdown(self) -> None","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"56":{"title":"async func before_process_restart(self, *args, **kwargs) -> None","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"57":{"title":"async func after_restart(self) -> None","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"58":{"title":"模块 liteyuki.comm.channel","titles":[]},"59":{"title":"var SYNC_ON_RECEIVE_FUNC","titles":["模块 liteyuki.comm.channel"]},"60":{"title":"var ASYNC_ON_RECEIVE_FUNC","titles":["模块 liteyuki.comm.channel"]},"61":{"title":"var ON_RECEIVE_FUNC","titles":["模块 liteyuki.comm.channel"]},"62":{"title":"var SYNC_FILTER_FUNC","titles":["模块 liteyuki.comm.channel"]},"63":{"title":"var ASYNC_FILTER_FUNC","titles":["模块 liteyuki.comm.channel"]},"64":{"title":"var FILTER_FUNC","titles":["模块 liteyuki.comm.channel"]},"65":{"title":"class Channel(Generic[T])","titles":["模块 liteyuki.comm.channel"]},"66":{"title":"func __init__(self, name: str, type_check: Optional[bool] = None)","titles":["模块 liteyuki.comm.channel","class Channel(Generic[T])"]},"67":{"title":"func send(self, data: T)","titles":["模块 liteyuki.comm.channel","class Channel(Generic[T])"]},"68":{"title":"func receive(self) -> T","titles":["模块 liteyuki.comm.channel","class Channel(Generic[T])"]},"69":{"title":"async func async_receive(self) -> T","titles":["模块 liteyuki.comm.channel","class Channel(Generic[T])"]},"70":{"title":"func on_receive(self, filter_func: Optional[FILTER_FUNC] = None) -> Callable[[Callable[[T], Any]], Callable[[T], Any]]","titles":["模块 liteyuki.comm.channel","class Channel(Generic[T])"]},"71":{"title":"var active_channel","titles":["模块 liteyuki.comm.channel"]},"72":{"title":"var passive_channel","titles":["模块 liteyuki.comm.channel"]},"73":{"title":"var publish_channel","titles":["模块 liteyuki.comm.channel"]},"74":{"title":"var channel_deliver_active_channel","titles":["模块 liteyuki.comm.channel"]},"75":{"title":"var channel_deliver_passive_channel","titles":["模块 liteyuki.comm.channel"]},"76":{"title":"func set_channel(name: str, channel: Channel)","titles":["模块 liteyuki.comm.channel"]},"77":{"title":"func set_channels(channels: dict[str, Channel])","titles":["模块 liteyuki.comm.channel"]},"78":{"title":"func get_channel(name: str) -> Channel","titles":["模块 liteyuki.comm.channel"]},"79":{"title":"func get_channels() -> dict[str, Channel]","titles":["模块 liteyuki.comm.channel"]},"80":{"title":"var channel_deliver_active_channel","titles":["模块 liteyuki.comm.channel"]},"81":{"title":"var channel_deliver_passive_channel","titles":["模块 liteyuki.comm.channel"]},"82":{"title":"func on_set_channel(data: tuple[str, dict[str, Any]])","titles":["模块 liteyuki.comm.channel"]},"83":{"title":"func on_get_channel(data: tuple[str, dict[str, Any]])","titles":["模块 liteyuki.comm.channel"]},"84":{"title":"func on_get_channels(data: tuple[str, dict[str, Any]])","titles":["模块 liteyuki.comm.channel"]},"85":{"title":"模块 liteyuki.comm.event","titles":[]},"86":{"title":"class Event","titles":["模块 liteyuki.comm.event"]},"87":{"title":"func __init__(self, name: str, data: dict[str, Any])","titles":["模块 liteyuki.comm.event","class Event"]},"88":{"title":"模块 liteyuki.comm","titles":[]},"89":{"title":"模块 liteyuki.comm.rpc","titles":[]},"90":{"title":"class RPC","titles":["模块 liteyuki.comm.rpc"]},"91":{"title":"func __init__(self, on_calling: ON_CALLING_FUNC) -> None","titles":["模块 liteyuki.comm.rpc","class RPC"]},"92":{"title":"func call(self, args: tuple, kwargs: dict) -> Any","titles":["模块 liteyuki.comm.rpc","class RPC"]},"93":{"title":"模块 liteyuki.comm.socks_channel","titles":[]},"94":{"title":"class SocksChannel","titles":["模块 liteyuki.comm.socks_channel"]},"95":{"title":"func __init__(self, name: str)","titles":["模块 liteyuki.comm.socks_channel","class SocksChannel"]},"96":{"title":"func send(self, data)","titles":["模块 liteyuki.comm.socks_channel","class SocksChannel"]},"97":{"title":"func receive(self)","titles":["模块 liteyuki.comm.socks_channel","class SocksChannel"]},"98":{"title":"func close(self)","titles":["模块 liteyuki.comm.socks_channel","class SocksChannel"]},"99":{"title":"模块 liteyuki.comm.storage","titles":[]},"100":{"title":"var _on_main_subscriber_receive_funcs","titles":["模块 liteyuki.comm.storage"]},"101":{"title":"var _on_sub_subscriber_receive_funcs","titles":["模块 liteyuki.comm.storage"]},"102":{"title":"class KeyValueStore","titles":["模块 liteyuki.comm.storage"]},"103":{"title":"func __init__(self)","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"104":{"title":"func set(self, key: str, value: Any) -> None","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"105":{"title":"func get(self, key: str, default: Optional[Any] = None) -> Optional[Any]","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"106":{"title":"func delete(self, key: str, ignore_key_error: bool = True) -> None","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"107":{"title":"func get_all(self) -> dict[str, Any]","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"108":{"title":"func publish(self, channel_: str, data: Any) -> None","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"109":{"title":"func on_subscriber_receive(self, channel_: str) -> Callable[[ON_RECEIVE_FUNC], ON_RECEIVE_FUNC]","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"110":{"title":"async func run_subscriber_receive_funcs(channel_: str, data: Any)","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"111":{"title":"async func start_receive_loop(self)","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"112":{"title":"class GlobalKeyValueStore","titles":["模块 liteyuki.comm.storage"]},"113":{"title":"func get_instance(cls)","titles":["模块 liteyuki.comm.storage","class GlobalKeyValueStore"]},"114":{"title":"attr _instance = None","titles":["模块 liteyuki.comm.storage","class GlobalKeyValueStore"]},"115":{"title":"attr _lock = threading.Lock()","titles":["模块 liteyuki.comm.storage","class GlobalKeyValueStore"]},"116":{"title":"var shared_memory","titles":["模块 liteyuki.comm.storage"]},"117":{"title":"var _ref_count","titles":["模块 liteyuki.comm.storage"]},"118":{"title":"func on_get(data: tuple[str, dict[str, Any]])","titles":["模块 liteyuki.comm.storage"]},"119":{"title":"func on_set(data: tuple[str, dict[str, Any]])","titles":["模块 liteyuki.comm.storage"]},"120":{"title":"func on_delete(data: tuple[str, dict[str, Any]])","titles":["模块 liteyuki.comm.storage"]},"121":{"title":"func on_get_all(data: tuple[str, dict[str, Any]])","titles":["模块 liteyuki.comm.storage"]},"122":{"title":"模块 liteyuki.config","titles":[]},"123":{"title":"func flat_config(config: dict[str, Any]) -> dict[str, Any]","titles":["模块 liteyuki.config"]},"124":{"title":"func load_from_yaml(file_: str) -> dict[str, Any]","titles":["模块 liteyuki.config"]},"125":{"title":"func load_from_json(file_: str) -> dict[str, Any]","titles":["模块 liteyuki.config"]},"126":{"title":"func load_from_toml(file_: str) -> dict[str, Any]","titles":["模块 liteyuki.config"]},"127":{"title":"func load_from_files(*files: str, *, no_warning: bool = False) -> dict[str, Any]","titles":["模块 liteyuki.config"]},"128":{"title":"func load_configs_from_dirs(*directories: str, *, no_waring: bool = False) -> dict[str, Any]","titles":["模块 liteyuki.config"]},"129":{"title":"func load_config_in_default(no_waring: bool = False) -> dict[str, Any]","titles":["模块 liteyuki.config"]},"130":{"title":"模块 liteyuki.core","titles":[]},"131":{"title":"模块 liteyuki.core.manager","titles":[]},"132":{"title":"class ChannelDeliver","titles":["模块 liteyuki.core.manager"]},"133":{"title":"func __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]])","titles":["模块 liteyuki.core.manager","class ChannelDeliver"]},"134":{"title":"class ProcessManager","titles":["模块 liteyuki.core.manager"]},"135":{"title":"func __init__(self, lifespan: Lifespan)","titles":["模块 liteyuki.core.manager","class ProcessManager"]},"136":{"title":"func start_all(self)","titles":["模块 liteyuki.core.manager","class ProcessManager"]},"137":{"title":"func add_target(self, name: str, target: TARGET_FUNC, args: tuple = (), kwargs = None)","titles":["模块 liteyuki.core.manager","class ProcessManager"]},"138":{"title":"func join_all(self)","titles":["模块 liteyuki.core.manager","class ProcessManager"]},"139":{"title":"func terminate(self, name: str)","titles":["模块 liteyuki.core.manager","class ProcessManager"]},"140":{"title":"func terminate_all(self)","titles":["模块 liteyuki.core.manager","class ProcessManager"]},"141":{"title":"func is_process_alive(self, name: str) -> bool","titles":["模块 liteyuki.core.manager","class ProcessManager"]},"142":{"title":"模块 liteyuki.dev","titles":[]},"143":{"title":"模块 liteyuki.dev.observer","titles":[]},"144":{"title":"var CALLBACK_FUNC","titles":["模块 liteyuki.dev.observer"]},"145":{"title":"var FILTER_FUNC","titles":["模块 liteyuki.dev.observer"]},"146":{"title":"func debounce(wait)","titles":["模块 liteyuki.dev.observer"]},"147":{"title":"class CodeModifiedHandler(FileSystemEventHandler)","titles":["模块 liteyuki.dev.observer"]},"148":{"title":"func on_modified(self, event)","titles":["模块 liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"149":{"title":"func on_created(self, event)","titles":["模块 liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"150":{"title":"func on_deleted(self, event)","titles":["模块 liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"151":{"title":"func on_moved(self, event)","titles":["模块 liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"152":{"title":"func on_any_event(self, event)","titles":["模块 liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"153":{"title":"func on_file_system_event(directories: tuple[str], recursive: bool = True, event_filter: FILTER_FUNC = None) -> Callable[[CALLBACK_FUNC], CALLBACK_FUNC]","titles":["模块 liteyuki.dev.observer"]},"154":{"title":"模块 liteyuki.dev.plugin","titles":[]},"155":{"title":"func run_plugins(*module_path: str | Path)","titles":["模块 liteyuki.dev.plugin"]},"156":{"title":"模块 liteyuki.exception","titles":[]},"157":{"title":"class LiteyukiException(BaseException)","titles":["模块 liteyuki.exception"]},"158":{"title":"模块 liteyuki","titles":[]},"159":{"title":"var __version__","titles":["模块 liteyuki"]},"160":{"title":"模块 liteyuki.log","titles":[]},"161":{"title":"func get_format(level: str) -> str","titles":["模块 liteyuki.log"]},"162":{"title":"func init_log(config: dict)","titles":["模块 liteyuki.log"]},"163":{"title":"模块 liteyuki.message.event","titles":[]},"164":{"title":"class MessageEvent","titles":["模块 liteyuki.message.event"]},"165":{"title":"func __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel[MessageEvent]] = None, data: Optional[dict[str, Any]] = None)","titles":["模块 liteyuki.message.event","class MessageEvent"]},"166":{"title":"func reply(self, message: str | dict[str, Any])","titles":["模块 liteyuki.message.event","class MessageEvent"]},"167":{"title":"模块 liteyuki.message","titles":[]},"168":{"title":"模块 liteyuki.message.matcher","titles":[]},"169":{"title":"class Matcher","titles":["模块 liteyuki.message.matcher"]},"170":{"title":"func __init__(self, rule: Rule, priority: int, block: bool)","titles":["模块 liteyuki.message.matcher","class Matcher"]},"171":{"title":"func handle(self) -> Callable[[EventHandler], EventHandler]","titles":["模块 liteyuki.message.matcher","class Matcher"]},"172":{"title":"async func run(self, event: MessageEvent) -> None","titles":["模块 liteyuki.message.matcher","class Matcher"]},"173":{"title":"模块 liteyuki.message.on","titles":[]},"174":{"title":"func add_matcher(matcher: Matcher)","titles":["模块 liteyuki.message.on"]},"175":{"title":"func on_message(rule: Rule = empty_rule, priority: int = 0, block: bool = False) -> Matcher","titles":["模块 liteyuki.message.on"]},"176":{"title":"func on_keywords(keywords: list[str], rule = empty_rule, priority: int = 0, block: bool = False) -> Matcher","titles":["模块 liteyuki.message.on"]},"177":{"title":"模块 liteyuki.message.rule","titles":[]},"178":{"title":"var RuleHandlerFunc","titles":["模块 liteyuki.message.rule"]},"179":{"title":"class Rule","titles":["模块 liteyuki.message.rule"]},"180":{"title":"func __init__(self, handler: RuleHandlerFunc)","titles":["模块 liteyuki.message.rule","class Rule"]},"181":{"title":"func __or__(self, other: Rule) -> Rule","titles":["模块 liteyuki.message.rule","class Rule"]},"182":{"title":"func __and__(self, other: Rule) -> Rule","titles":["模块 liteyuki.message.rule","class Rule"]},"183":{"title":"async func __call__(self, event: MessageEvent) -> bool","titles":["模块 liteyuki.message.rule","class Rule"]},"184":{"title":"async func empty_rule(event: MessageEvent) -> bool","titles":["模块 liteyuki.message.rule"]},"185":{"title":"async func is_su_rule(event: MessageEvent) -> bool","titles":["模块 liteyuki.message.rule"]},"186":{"title":"模块 liteyuki.message.session","titles":[]},"187":{"title":"模块 liteyuki.mkdoc","titles":[]},"188":{"title":"class DefType(Enum)","titles":["模块 liteyuki.mkdoc"]},"189":{"title":"attr FUNCTION = \'function\'","titles":["模块 liteyuki.mkdoc","class DefType(Enum)"]},"190":{"title":"attr METHOD = \'method\'","titles":["模块 liteyuki.mkdoc","class DefType(Enum)"]},"191":{"title":"attr STATIC_METHOD = \'staticmethod\'","titles":["模块 liteyuki.mkdoc","class DefType(Enum)"]},"192":{"title":"attr CLASS_METHOD = \'classmethod\'","titles":["模块 liteyuki.mkdoc","class DefType(Enum)"]},"193":{"title":"attr PROPERTY = \'property\'","titles":["模块 liteyuki.mkdoc","class DefType(Enum)"]},"194":{"title":"class FunctionInfo(BaseModel)","titles":["模块 liteyuki.mkdoc"]},"195":{"title":"attr name: str = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class FunctionInfo(BaseModel)"]},"196":{"title":"attr args: list[tuple[str, str]] = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class FunctionInfo(BaseModel)"]},"197":{"title":"attr return_type: str = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class FunctionInfo(BaseModel)"]},"198":{"title":"attr docstring: str = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class FunctionInfo(BaseModel)"]},"199":{"title":"attr source_code: str = \'\'","titles":["模块 liteyuki.mkdoc","class FunctionInfo(BaseModel)"]},"200":{"title":"attr type: DefType = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class FunctionInfo(BaseModel)"]},"201":{"title":"attr is_async: bool = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class FunctionInfo(BaseModel)"]},"202":{"title":"class AttributeInfo(BaseModel)","titles":["模块 liteyuki.mkdoc"]},"203":{"title":"attr name: str = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class AttributeInfo(BaseModel)"]},"204":{"title":"attr type: str = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class AttributeInfo(BaseModel)"]},"205":{"title":"attr value: Any = None","titles":["模块 liteyuki.mkdoc","class AttributeInfo(BaseModel)"]},"206":{"title":"attr docstring: str = \'\'","titles":["模块 liteyuki.mkdoc","class AttributeInfo(BaseModel)"]},"207":{"title":"class ClassInfo(BaseModel)","titles":["模块 liteyuki.mkdoc"]},"208":{"title":"attr name: str = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class ClassInfo(BaseModel)"]},"209":{"title":"attr docstring: str = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class ClassInfo(BaseModel)"]},"210":{"title":"attr methods: list[FunctionInfo] = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class ClassInfo(BaseModel)"]},"211":{"title":"attr attributes: list[AttributeInfo] = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class ClassInfo(BaseModel)"]},"212":{"title":"attr inherit: list[str] = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class ClassInfo(BaseModel)"]},"213":{"title":"class ModuleInfo(BaseModel)","titles":["模块 liteyuki.mkdoc"]},"214":{"title":"attr module_path: str = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class ModuleInfo(BaseModel)"]},"215":{"title":"attr functions: list[FunctionInfo] = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class ModuleInfo(BaseModel)"]},"216":{"title":"attr classes: list[ClassInfo] = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class ModuleInfo(BaseModel)"]},"217":{"title":"attr attributes: list[AttributeInfo] = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class ModuleInfo(BaseModel)"]},"218":{"title":"attr docstring: str = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class ModuleInfo(BaseModel)"]},"219":{"title":"func get_relative_path(base_path: str, target_path: str) -> str","titles":["模块 liteyuki.mkdoc"]},"220":{"title":"func write_to_files(file_data: dict[str, str])","titles":["模块 liteyuki.mkdoc"]},"221":{"title":"func get_file_list(module_folder: str)","titles":["模块 liteyuki.mkdoc"]},"222":{"title":"func get_module_info_normal(file_path: str, ignore_private: bool = True) -> ModuleInfo","titles":["模块 liteyuki.mkdoc"]},"223":{"title":"func generate_markdown(module_info: ModuleInfo, front_matter = None, lang: str = \'zh-CN\') -> str","titles":["模块 liteyuki.mkdoc"]},"224":{"title":"func generate_docs(module_folder: str, output_dir: str, with_top: bool = False, lang: str = \'zh-CN\', ignored_paths = None)","titles":["模块 liteyuki.mkdoc"]},"225":{"title":"var no_module_name_pyfile_path","titles":["模块 liteyuki.mkdoc"]},"226":{"title":"模块 liteyuki.plugin","titles":[]},"227":{"title":"func get_loaded_plugins() -> dict[str, Plugin]","titles":["模块 liteyuki.plugin"]},"228":{"title":"模块 liteyuki.plugin.load","titles":[]},"229":{"title":"func load_plugin(module_path: str | Path) -> Optional[Plugin]","titles":["模块 liteyuki.plugin.load"]},"230":{"title":"func load_plugins(*plugin_dir: str, *, ignore_warning: bool = True) -> set[Plugin]","titles":["模块 liteyuki.plugin.load"]},"231":{"title":"func format_display_name(display_name: str, plugin_type: PluginType) -> str","titles":["模块 liteyuki.plugin.load"]},"232":{"title":"模块 liteyuki.plugin.manager","titles":[]},"233":{"title":"模块 liteyuki.plugin.model","titles":[]},"234":{"title":"class PluginType(Enum)","titles":["模块 liteyuki.plugin.model"]},"235":{"title":"attr APPLICATION = \'application\'","titles":["模块 liteyuki.plugin.model","class PluginType(Enum)"]},"236":{"title":"attr SERVICE = \'service\'","titles":["模块 liteyuki.plugin.model","class PluginType(Enum)"]},"237":{"title":"attr MODULE = \'module\'","titles":["模块 liteyuki.plugin.model","class PluginType(Enum)"]},"238":{"title":"attr UNCLASSIFIED = \'unclassified\'","titles":["模块 liteyuki.plugin.model","class PluginType(Enum)"]},"239":{"title":"attr TEST = \'test\'","titles":["模块 liteyuki.plugin.model","class PluginType(Enum)"]},"240":{"title":"class PluginMetadata(BaseModel)","titles":["模块 liteyuki.plugin.model"]},"241":{"title":"attr name: str = NO_DEFAULT","titles":["模块 liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"242":{"title":"attr description: str = \'\'","titles":["模块 liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"243":{"title":"attr usage: str = \'\'","titles":["模块 liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"244":{"title":"attr type: PluginType = PluginType.UNCLASSIFIED","titles":["模块 liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"245":{"title":"attr author: str = \'\'","titles":["模块 liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"246":{"title":"attr homepage: str = \'\'","titles":["模块 liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"247":{"title":"attr extra: dict[str, Any] = {}","titles":["模块 liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"248":{"title":"class Plugin(BaseModel)","titles":["模块 liteyuki.plugin.model"]},"249":{"title":"func __hash__(self)","titles":["模块 liteyuki.plugin.model","class Plugin(BaseModel)"]},"250":{"title":"attr model_config = {\'arbitrary_types_allowed\': True}","titles":["模块 liteyuki.plugin.model","class Plugin(BaseModel)"]},"251":{"title":"attr name: str = NO_DEFAULT","titles":["模块 liteyuki.plugin.model","class Plugin(BaseModel)"]},"252":{"title":"attr module: ModuleType = NO_DEFAULT","titles":["模块 liteyuki.plugin.model","class Plugin(BaseModel)"]},"253":{"title":"attr module_name: str = NO_DEFAULT","titles":["模块 liteyuki.plugin.model","class Plugin(BaseModel)"]},"254":{"title":"attr metadata: Optional[PluginMetadata] = None","titles":["模块 liteyuki.plugin.model","class Plugin(BaseModel)"]},"255":{"title":"模块 liteyuki.plugins","titles":[]},"256":{"title":"模块 liteyuki.plugins.plugin_loader","titles":[]},"257":{"title":"func default_plugins_loader()","titles":["模块 liteyuki.plugins.plugin_loader"]},"258":{"title":"模块 liteyuki.plugins.liteecho","titles":[]},"259":{"title":"async func liteecho(event: MessageEvent)","titles":["模块 liteyuki.plugins.liteecho"]},"260":{"title":"模块 liteyuki.utils","titles":[]},"261":{"title":"func is_coroutine_callable(call: Callable[..., Any]) -> bool","titles":["模块 liteyuki.utils"]},"262":{"title":"func run_coroutine(*coro: Coroutine)","titles":["模块 liteyuki.utils"]},"263":{"title":"func run_coroutine_in_thread(*coro: Coroutine)","titles":["模块 liteyuki.utils"]},"264":{"title":"func path_to_module_name(path: Path) -> str","titles":["模块 liteyuki.utils"]},"265":{"title":"func async_wrapper(func: Callable[..., Any]) -> Callable[..., Coroutine]","titles":["模块 liteyuki.utils"]},"266":{"title":"通道通信","titles":[]},"267":{"title":"简介","titles":["通道通信"]},"268":{"title":"示例","titles":["通道通信"]},"269":{"title":"共享内存通信","titles":["通道通信"]},"270":{"title":"简介","titles":["通道通信","共享内存通信"]},"271":{"title":"示例","titles":["通道通信","共享内存通信"]},"272":{"title":"开发指南","titles":[]},"273":{"title":"如何开发","titles":["开发指南"]},"274":{"title":"建议","titles":["开发指南","如何开发"]},"275":{"title":"项目结构","titles":["开发指南"]},"276":{"title":"规范化","titles":["开发指南"]},"277":{"title":"最后","titles":["开发指南"]},"278":{"title":"轻雪函数","titles":[]},"279":{"title":"函数文件","titles":["轻雪函数"]},"280":{"title":"命令文档","titles":["轻雪函数"]},"281":{"title":"示例","titles":["轻雪函数","命令文档"]},"282":{"title":"API","titles":["轻雪函数"]},"283":{"title":"结束关键字","titles":["轻雪函数"]},"284":{"title":"简介","titles":[]},"285":{"title":"开始","titles":["简介"]},"286":{"title":"创建插件","titles":["简介","开始"]},"287":{"title":"编写逻辑部分","titles":["简介","开始"]},"288":{"title":"加载插件","titles":["简介","开始"]},"289":{"title":"方法1","titles":["简介","开始","加载插件"]},"290":{"title":"方法2","titles":["简介","开始","加载插件"]},"291":{"title":"简介","titles":[]},"292":{"title":"加载资源包","titles":["简介"]},"293":{"title":"用户协议","titles":[]},"294":{"title":"基础插件","titles":[]},"295":{"title":"轻雪命令liteyuki_command","titles":["基础插件"]},"296":{"title":"命令别名","titles":["基础插件","轻雪命令liteyuki_command"]},"297":{"title":"插件/包管理器 liteyuki_pacman","titles":["基础插件"]},"298":{"title":"命令别名","titles":["基础插件","插件/包管理器 liteyuki_pacman"]},"299":{"title":"用户管理liteyuki_user","titles":["基础插件"]},"300":{"title":"功能插件命令","titles":[]},"301":{"title":"轻雪天气liteyuki_weather","titles":["功能插件命令"]},"302":{"title":"命令别名","titles":["功能插件命令","轻雪天气liteyuki_weather"]},"303":{"title":"统计信息liteyuki_statistics","titles":["功能插件命令"]},"304":{"title":"命令别名","titles":["功能插件命令","统计信息liteyuki_statistics"]}},"dirtCount":0,"index":[["当前bot",{"2":{"303":1}}],["当前群聊",{"2":{"303":1}}],["当前会话启用",{"2":{"297":1}}],["秒",{"2":{"303":2}}],["小时",{"2":{"303":2}}],["天",{"2":{"303":2}}],["天气",{"2":{"301":1,"302":1}}],["格式",{"2":{"303":1}}],["格式为onebot",{"2":{"295":1}}],["统计时间范围为duration",{"2":{"303":1}}],["统计周期为period",{"2":{"303":1}}],["统计信息",{"2":{"303":1}}],["统计信息liteyuki",{"0":{"303":1},"1":{"304":1}}],["功能",{"2":{"303":1}}],["功能插件命令",{"0":{"300":1},"1":{"301":1,"302":1,"303":1,"304":1}}],["个人全局生效",{"2":{"301":1}}],["个人信息",{"2":{"299":1}}],["绑定城市",{"2":{"302":1}}],["绑定查询城市",{"2":{"301":1}}],["绑定端口",{"2":{"1":1}}],["海淀",{"2":{"301":1}}],["北京",{"2":{"301":1}}],["受限于nonebot2钩子函数的依赖注入参数",{"2":{"298":1}}],["帮助",{"2":{"298":1}}],["列表",{"2":{"298":1}}],["列出所有资源包",{"2":{"297":1}}],["列出所有插件",{"2":{"297":1}}],["更改",{"2":{"298":1}}],["更新",{"2":{"298":1}}],["更新插件商店索引",{"2":{"297":1}}],["更新轻雪",{"2":{"295":1,"296":1}}],["更新轻雪失败",{"2":{"6":1}}],["全局停用",{"2":{"298":1}}],["全局启用",{"2":{"297":1,"298":1}}],["搜索",{"2":{"298":1}}],["卸载",{"2":{"298":2}}],["卸载资源包",{"2":{"297":1}}],["卸载插件",{"2":{"297":1}}],["私聊所有人可用",{"2":{"297":2}}],["私聊通常为用户id",{"2":{"165":1}}],["包管理器",{"0":{"297":1},"1":{"298":1}}],["包括子task",{"2":{"280":1}}],["包括chromium",{"2":{"15":1}}],["切换图片模式",{"2":{"296":1}}],["切换到bot目录下",{"2":{"12":1}}],["状态",{"2":{"296":1}}],["别名",{"2":{"296":1,"298":1,"299":1,"302":1,"304":1}}],["别用你那b",{"2":{"15":1}}],["所有人",{"2":{"295":1,"297":1,"299":3}}],["所以在编写lyfunction时也要注意异步的调用",{"2":{"283":1}}],["所以此项目既是liteyukibot应用仓库",{"2":{"275":1}}],["群号",{"2":{"295":1}}],["群聊",{"2":{"296":1}}],["群聊仅群主",{"2":{"295":1,"297":2}}],["群聊通常为群id",{"2":{"165":1}}],["管理员",{"2":{"295":1,"297":2}}],["停用插件",{"2":{"297":2}}],["停用",{"2":{"296":1,"298":1}}],["停用机器人",{"2":{"295":1}}],["停止后钩子",{"2":{"55":2}}],["停止前钩子",{"2":{"54":2}}],["停止",{"2":{"44":2}}],["停止轻雪",{"2":{"23":2,"26":2}}],["查询目标地实时天气",{"2":{"301":1}}],["查询实时天气",{"2":{"301":1}}],["查询",{"2":{"296":1,"299":1}}],["查询配置项",{"2":{"295":1}}],["查看用户信息菜单",{"2":{"299":1}}],["查看插件帮助",{"2":{"297":1}}],["查看轻雪文档",{"2":{"295":1}}],["查看统计信息和状态",{"2":{"295":1}}],["查看当前bot",{"2":{"295":1}}],["版本",{"2":{"295":1}}],["❌",{"2":{"295":11}}],["超级用户可用",{"2":{"295":1,"297":2}}],["超级用户",{"2":{"295":10,"297":10}}],["超级用户列表",{"2":{"1":1}}],["重载",{"2":{"298":1}}],["重载所有资源包",{"2":{"297":1}}],["重载资源",{"2":{"296":1}}],["重载轻雪",{"2":{"295":1}}],["重启轻雪",{"2":{"296":1}}],["重启轻雪即可加载插件",{"2":{"289":1}}],["重启轻雪本体",{"2":{"22":2}}],["重启后钩子",{"2":{"57":2}}],["重启前钩子",{"2":{"56":2}}],["重启",{"2":{"44":2}}],["举例",{"2":{"295":1}}],["权限",{"2":{"295":1,"297":2,"299":1}}],["~代替",{"2":{"294":1}}],["~可以使用插件",{"2":{"294":1}}],["命令",{"2":{"295":1,"296":1,"297":2,"298":1,"299":2,"301":1,"302":1,"303":1,"304":1}}],["命令别名",{"0":{"296":1,"298":1,"302":1,"304":1},"2":{"294":1,"299":1}}],["命令文档",{"0":{"280":1},"1":{"281":1}}],["系统信息及python信息",{"2":{"293":1}}],["分钟",{"2":{"303":2}}],["分发",{"2":{"293":1}}],["分工明确",{"2":{"122":1}}],["修改优先级",{"2":{"297":1}}],["修改",{"2":{"293":1}}],["修订文档时",{"2":{"276":1}}],["第三方资源包开发者需要注意版本兼容性",{"2":{"292":1}}],["└─",{"2":{"292":1}}],["└───",{"2":{"292":1}}],["└─resource",{"2":{"292":2}}],["├─templates",{"2":{"292":1}}],["├─metadata",{"2":{"292":2}}],["正常的路径应该是这样的",{"2":{"292":1}}],["只需要将其解压到根目录resources目录下即可",{"2":{"292":1}}],["只负责处理和回应消息",{"2":{"6":1}}],["zip格式压缩的",{"2":{"292":1}}],["zh",{"0":{"223":1,"224":1},"2":{"2":1,"223":2,"224":1,"275":1}}],["错位等无法预料的事情发生",{"2":{"291":1}}],["异常",{"2":{"291":1}}],["异步任务结束关键字",{"2":{"283":1}}],["异步等待",{"2":{"280":1}}],["异步包装器",{"2":{"265":2}}],["异步接收数据",{"2":{"69":2}}],["异步接收函数",{"2":{"60":1}}],["异步过滤函数",{"2":{"63":1}}],["异步进程生命周期函数",{"2":{"41":1}}],["异步生命周期函数",{"2":{"38":1}}],["欢迎各位投稿资源包到轻雪资源商店",{"2":{"291":1}}],["部分异常信息",{"2":{"293":1}}],["部分内容制作需要一点点前端基础",{"2":{"291":1}}],["部分来源于",{"2":{"260":1}}],["讲起打包成一个新的资源包",{"2":{"291":1}}],["仅需按照原有路径进行文件替换即可",{"2":{"291":1}}],["资源",{"2":{"291":1}}],["资源包管理",{"2":{"297":1}}],["资源包的结构会随着轻雪的更新而有变动",{"2":{"292":1}}],["资源包的制作很简单",{"2":{"291":1}}],["资源包加载遵循一个优先级",{"2":{"292":1}}],["资源包描述",{"2":{"292":1}}],["资源包名称",{"2":{"292":1}}],["资源包通常是以",{"2":{"292":1}}],["资源包",{"2":{"291":1,"298":1}}],["它允许你一定程度上自定义轻雪的外观",{"2":{"291":1}}],["它允许你在轻雪中运行一些自定义的由数据驱动的命令",{"2":{"278":1}}],["亦可根据用途称为主题包",{"2":{"291":1}}],["保存后轻雪会自动重载nonebot进程",{"2":{"290":1}}],["保持轻雪运行",{"2":{"21":2}}],["方法2",{"0":{"290":1}}],["方法1",{"0":{"289":1}}],["用户管理liteyuki",{"0":{"299":1}}],["用户协议",{"0":{"293":1}}],["用observer的on",{"2":{"287":1}}],["用于统计bot接收到的消息",{"2":{"303":1}}],["用于开发nonebot时进行文件系统变更重载",{"2":{"287":1}}],["用于结束当前已完成function的执行",{"2":{"283":1}}],["用于存放内置插件",{"2":{"255":1}}],["用于回复消息",{"2":{"165":1}}],["用于获取和唯一标识",{"2":{"137":2}}],["用于进程间通信",{"2":{"58":1}}],["排除的文件扩展名",{"2":{"287":1}}],["因此插件主要是一些后台任务或者与聊天机器人的通信",{"2":{"287":1}}],["因此无法通过内存共享和直接对象传递的方式进行通信",{"2":{"267":1}}],["定义插件元数据",{"2":{"286":1}}],["定义变量",{"2":{"280":1}}],["导入轻雪bot和日志",{"2":{"287":1}}],["导入文件系统事件",{"2":{"287":1}}],["导入文件系统观察器",{"2":{"287":1}}],["导入文件夹下多个插件",{"2":{"230":2}}],["导入逻辑部分",{"2":{"286":1}}],["编写逻辑部分",{"0":{"287":1}}],["编写轻雪函数推荐你使用vs",{"2":{"283":1}}],["编辑时的语法高亮可采取shell格式",{"2":{"279":1}}],["那么加载b包后",{"2":{"292":1}}],["那么你能够很快就上手",{"2":{"291":1}}],["那么当前所有函数包的task都会被截停销毁",{"2":{"283":1}}],["那么将会被解析为nickname而不是命令",{"2":{"6":1}}],["的情况是效率提升的关键",{"2":{"283":1}}],["避免出现",{"2":{"283":1}}],["由于liteyukibot基于异步运行",{"2":{"283":1}}],["结束关键字",{"0":{"283":1}}],["结束函数关键字",{"2":{"280":1}}],["理论上所有基于onebotv11的api都可调用",{"2":{"282":1}}],["则该文件夹不会被识别为资源包",{"2":{"292":1}}],["则需要删除await",{"2":{"281":1}}],["则传入泛型默认开启",{"2":{"66":2}}],["无需手动创建实例",{"2":{"290":1}}],["无需手动初始化bot",{"2":{"155":2}}],["无限戳",{"2":{"281":1}}],["执行",{"2":{"281":1}}],["疯狂戳好友",{"2":{"281":1}}],["否则会导致渲染失败或渲染结果不理想",{"2":{"291":1}}],["否则task对象会被销毁",{"2":{"280":1}}],["否则默认关闭",{"2":{"66":2}}],["等待所有异步任务结束",{"2":{"280":1}}],["单线程走到底",{"2":{"283":1}}],["单位s",{"2":{"280":1}}],["单元测试目录",{"2":{"275":1}}],["也支持句末注释",{"2":{"279":1}}],["也可以监听其他进程的消息",{"2":{"267":1}}],["支持中英文",{"2":{"301":2}}],["支持中英文城市名",{"2":{"301":1}}],["支持多个关键词查询",{"2":{"301":1}}],["支持绑定城市",{"2":{"301":1}}],["支持单行注释",{"2":{"279":1}}],["支持onebotv11标准",{"2":{"9":1}}],["函数文件放在资源包的functions目录下",{"2":{"279":1}}],["函数文件",{"0":{"279":1}}],["函数列表",{"2":{"45":2}}],["属于资源包的一部分",{"2":{"278":1}}],["是可以相对引用的",{"2":{"292":1}}],["是轻雪的一个功能",{"2":{"278":1}}],["是否为协程可调用对象",{"2":{"261":2}}],["是否忽略警告",{"2":{"230":2}}],["是否忽略键不存在的错误",{"2":{"106":2}}],["是否包含顶层文件夹",{"2":{"224":2}}],["是否阻断后续优先级更低的匹配器",{"2":{"170":2}}],["是否递归监听子目录",{"2":{"153":2}}],["是否开启类型检查",{"2":{"66":2}}],["是否允许更新",{"2":{"2":1}}],["是否自动更新轻雪",{"2":{"1":1}}],["是否自动上报问题给轻雪服务器",{"2":{"1":1}}],["是否显示日志等级图标",{"2":{"1":1}}],["最后",{"0":{"277":1}}],["总结来说就是你干了什么",{"2":{"276":1}}],["给event添加新字段",{"2":{"276":1}}],["具体请参考gitmoji",{"2":{"276":1}}],["表示修复bug等",{"2":{"276":1}}],["表示引入新功能",{"2":{"276":1}}],["我们在src",{"2":{"290":1}}],["我们欢迎任何人参与开发",{"2":{"277":1}}],["我们使用gitmoji来标记commit的类型",{"2":{"276":1}}],["我们专门为minecraft开发的服务器bot",{"2":{"9":1}}],["应在每次完成一个功能或修复一个bug后提交代码",{"2":{"276":1}}],["应在初始化时调用",{"2":{"257":2}}],["尽量避免使用单引号",{"2":{"276":1}}],["尽量不要冲突",{"2":{"122":1}}],["没有危害的",{"2":{"276":1}}],["没有异步的必要",{"2":{"67":2}}],["提交到轻雪仓库的代码",{"2":{"276":1}}],["提供",{"2":{"6":1}}],["代码请遵循pep8和google",{"2":{"276":1}}],["规范化",{"0":{"276":1}}],["规则函数签名",{"2":{"178":1}}],["规则",{"2":{"170":2}}],["业务逻辑请在此目录下进行开发",{"2":{"275":1}}],["同时用户也应该自行选择可用的资源包",{"2":{"292":1}}],["同时也是liteyuki框架的仓库",{"2":{"275":1}}],["同步接收数据",{"2":{"68":2}}],["同步接收函数",{"2":{"59":1}}],["同步过滤函数",{"2":{"62":1}}],["同步进程生命周期函数",{"2":{"40":1}}],["同步生命周期函数",{"2":{"37":1}}],["中文文档",{"2":{"275":1}}],["英文文档",{"2":{"275":1}}],["文档请遵循markdown语法",{"2":{"276":1}}],["文档目录",{"2":{"275":1}}],["文件内容为一系列的命令",{"2":{"279":1}}],["文件名以",{"2":{"279":1}}],["文件夹路径",{"2":{"230":2}}],["文件路径",{"2":{"222":2}}],["文件数据",{"2":{"220":2}}],["工具目录",{"2":{"275":1}}],["内置资源包目录",{"2":{"275":1}}],["内存共享是线程安全的",{"2":{"270":1}}],["内存共享使得代码编写更加简洁",{"2":{"270":1}}],["内存",{"2":{"15":1,"293":1}}],["框架目录",{"2":{"275":1}}],["项目结构",{"0":{"275":1}}],["项目目录下的配置文件优先",{"2":{"129":2}}],["项目目录下的配置文件优先级高于config目录下的配置文件",{"2":{"122":1}}],["项目目录下的config",{"2":{"129":2}}],["出现冲突请与仓库维护者联系",{"2":{"273":1}}],["将你的分支合并到轻雪仓库的main分支",{"2":{"273":1}}],["将你的代码提交到这个分支",{"2":{"273":1}}],["将消息按照onebot标准处理好上报给轻雪",{"2":{"6":1}}],["组织账户下",{"2":{"273":1}}],["首先创建一个文件夹",{"2":{"286":1}}],["首先fork一份轻雪仓库到你的个人",{"2":{"273":1}}],["首次运行后生成config",{"2":{"0":1}}],["引用",{"2":{"273":1}}],["引用计数",{"2":{"117":1}}],["线程锁会自动保护共享内存的读写操作",{"2":{"270":1}}],["相比于普通进程通信",{"2":{"270":1}}],["相对路径",{"2":{"220":2}}],["且通过安全的方式传输到轻雪的服务器",{"2":{"293":1}}],["且通道标识为",{"2":{"268":1}}],["且遵守了相关字体开源协议",{"2":{"10":1}}],["创建入口文件",{"2":{"290":1}}],["创建插件",{"0":{"286":1}}],["创建子进程的同时会初始化一个被动通道和一个主动通道",{"2":{"268":1}}],["创建asyncio",{"2":{"136":2}}],["实现",{"2":{"268":1}}],["实现端本身不负责处理响应逻辑",{"2":{"6":1}}],["被动模式",{"2":{"268":1}}],["被动模式由chan",{"2":{"268":1}}],["被动通道传递通道",{"2":{"75":1,"81":1}}],["被动通道",{"2":{"72":1}}],["即后加载的资源包会覆盖前面的资源包",{"2":{"292":1}}],["即可创建一个插件",{"2":{"286":1}}],["即不等待",{"2":{"280":1}}],["即被动模式和主动模式",{"2":{"268":1}}],["即轻雪作为服务端",{"2":{"3":1}}],["有一个task任务没有完成而await被执行了",{"2":{"283":1}}],["有条件可以使用中英双语",{"2":{"276":1}}],["有两种接收模式",{"2":{"268":1}}],["有的插件安装后报错无法启动",{"2":{"6":1}}],["这样可以在控制台看到更多的调试信息",{"2":{"274":1}}],["这时可以通过通道对主进程发送消息",{"2":{"267":1}}],["这里给出一个参考值",{"2":{"3":1}}],["里",{"2":{"267":1}}],["简介",{"0":{"267":1,"270":1,"284":1,"291":1},"1":{"285":1,"286":1,"287":1,"288":1,"289":1,"290":1,"292":1}}],["路径a",{"2":{"264":2}}],["转换路径为模块名",{"2":{"264":2}}],["判断是否为协程可调用对象",{"2":{"261":2}}],["一个",{"2":{"286":1}}],["一个键不要多次出现",{"2":{"122":1}}],["一些常用的工具类",{"2":{"260":1}}],["根据不同类型插件设置颜色",{"2":{"231":2}}],["插件停用只能阻断传入响应",{"2":{"298":1}}],["插件管理",{"2":{"297":1,"298":1}}],["插件",{"0":{"297":1},"1":{"298":1}}],["插件信息",{"2":{"293":1}}],["插件描述",{"2":{"286":1}}],["插件版本",{"2":{"286":1}}],["插件开发请在此目录下进行开发",{"2":{"275":1}}],["插件开发无需阅读本文档",{"2":{"273":1}}],["插件类型",{"2":{"231":2,"286":1}}],["插件名称",{"2":{"229":2,"231":2,"286":1}}],["插件字典",{"2":{"227":2}}],["插件路径",{"2":{"155":2}}],["去头路径",{"2":{"225":1}}],["忽略的路径",{"2":{"224":2}}],["忽略私有函数和类",{"2":{"222":2}}],["+",{"2":{"223":2,"264":1}}],["+=",{"2":{"22":1,"70":1,"223":15}}],["字体包",{"2":{"291":1}}],["字符串请使用双引号",{"2":{"276":1}}],["字符串",{"2":{"223":2}}],["字段",{"2":{"3":1}}],["语言包等",{"2":{"291":1}}],["语言",{"2":{"223":2,"224":2}}],["输入值会被执行以转换为正确的类型",{"2":{"295":1}}],["输入playwright",{"2":{"6":1}}],["输出",{"2":{"279":1}}],["输出文件夹",{"2":{"224":2}}],["输出文件",{"2":{"220":2}}],["目标路径",{"2":{"219":2}}],["目前可用性较低",{"2":{"8":1}}],["目前markdown消息支持lagrange",{"2":{"8":1}}],["x26",{"2":{"176":1,"223":4}}],["x3c",{"2":{"20":4,"22":1,"162":5,"174":1,"223":8,"229":2,"231":4,"280":6,"301":2,"303":2}}],["505468b及以后的lagrange",{"2":{"295":1}}],["59",{"2":{"228":1,"232":1}}],["55",{"2":{"177":1}}],["52",{"2":{"173":1}}],["51",{"2":{"168":1}}],["添加配置项",{"2":{"295":1}}],["添加sleep",{"2":{"281":1}}],["添加处理函数",{"2":{"171":2}}],["添加进程",{"2":{"137":2}}],["优先级",{"2":{"170":2}}],["匹配器",{"2":{"170":2}}],["45m",{"2":{"303":2}}],["44",{"2":{"167":1}}],["47",{"2":{"163":1,"186":1}}],["回复消息",{"2":{"166":2}}],["附加数据",{"2":{"165":1}}],["原始消息",{"2":{"165":1}}],["原生实现",{"2":{"8":1}}],["消息类型",{"2":{"165":1}}],["消息段数组",{"2":{"165":1}}],["消息",{"2":{"165":1}}],["机器人源码目录",{"2":{"275":1}}],["机器人入口文件",{"2":{"275":1}}],["机器人id",{"2":{"165":1}}],["机器人昵称列表",{"2":{"1":1}}],["⭕",{"2":{"162":1}}],["⚠️",{"2":{"162":1}}],["✅",{"2":{"162":1}}],["ℹ️信息",{"2":{"268":4}}],["ℹ️",{"2":{"162":1}}],["🐛",{"2":{"162":1}}],["6",{"2":{"159":1}}],["测试版本号",{"2":{"159":1}}],["此模块为内置插件文件夹",{"2":{"255":1}}],["此模块为liteyuki的框架整体",{"2":{"158":1}}],["此模块用于注册观察者函数",{"2":{"143":1}}],["运行环境的设备信息",{"2":{"293":1}}],["运行在主进程中",{"2":{"284":1}}],["运行协程",{"2":{"262":2}}],["运行处理函数",{"2":{"172":2}}],["运行插件",{"2":{"155":2}}],["运行订阅者接收函数",{"2":{"110":2}}],["上午12",{"2":{"233":1}}],["上午11",{"2":{"131":1}}],["上午6",{"2":{"187":1}}],["上午9",{"2":{"160":1}}],["上午5",{"2":{"154":1}}],["事件过滤器",{"2":{"153":2}}],["事件循环",{"2":{"19":1}}],["防抖函数",{"2":{"146":2}}],["防止获取空指针",{"2":{"117":1}}],["位置1为filesystemevent",{"2":{"144":1,"145":1}}],["启用",{"2":{"296":1,"298":1}}],["启用插件后",{"2":{"290":1}}],["启用开发者模式",{"2":{"274":1}}],["启用该模块需要在配置文件中设置dev",{"2":{"143":1}}],["启动后控制台输出",{"2":{"268":1}}],["启动后钩子",{"2":{"53":2}}],["启动所有进程",{"2":{"136":2}}],["启动发布订阅接收器循环",{"2":{"111":2}}],["启动前钩子",{"2":{"52":2}}],["启动",{"2":{"44":2}}],["启动容器",{"2":{"13":1}}],["启动bot",{"2":{"12":1}}],["启动时会加载项目目录下config",{"2":{"0":1}}],["检查进程是否存活",{"2":{"141":2}}],["终止进程并从进程字典中删除",{"2":{"139":2}}],["对于主动推送的插件不生效",{"2":{"298":1}}],["对于不同资源包的不同文件",{"2":{"292":1}}],["对外启动方法",{"2":{"136":2}}],["对公开放时建议设置",{"2":{"2":1}}],["按照读取文件的优先级反向覆盖",{"2":{"128":2}}],["从一个标准的轻雪项目加载配置文件",{"2":{"129":2}}],["从目录下加载配置文件",{"2":{"128":2}}],["从指定文件加载配置项",{"2":{"127":2}}],["8",{"2":{"124":1,"125":1,"126":1,"154":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"220":1,"222":1,"256":1,"258":1,"259":1}}],["但请注意甄别第三方插件的安全性",{"2":{"293":1}}],["但请保证以上三个字段",{"2":{"292":1}}],["但若出现非单function的情况",{"2":{"283":1}}],["但需单独起篇幅",{"2":{"278":1}}],["但在嵌套字符串时可以使用单引号",{"2":{"276":1}}],["但一个通道只能使用一种",{"2":{"268":1}}],["但也包含原有的键值对",{"2":{"123":2}}],["但是请保留原作者信息",{"2":{"293":1}}],["但是更加轻量级并且线程安全",{"2":{"99":1}}],["但是bot昵称有一个help",{"2":{"6":1}}],["但是基本上都是一样的",{"2":{"3":1}}],["但是部分内容会被覆盖",{"2":{"1":1}}],["扁平化后的配置文件",{"2":{"123":2}}],["扁平化配置文件",{"2":{"123":2}}],["扁平化编写",{"2":{"122":1}}],["注意不要嵌套文件夹",{"2":{"292":1}}],["注意冲突时的优先级",{"2":{"122":1}}],["注册一个函数在nonebot启动后运行",{"2":{"268":1}}],["注册一个函数在轻雪启动后运行",{"2":{"268":1}}],["注册文件系统变化监听器",{"2":{"153":2}}],["注册重启后的函数",{"2":{"32":2,"51":2}}],["注册进程重启前的函数",{"2":{"31":2,"50":2}}],["注册进程停止前的函数",{"2":{"30":2,"48":2}}],["注册停止后的函数",{"2":{"29":2,"49":2}}],["注册启动时的函数",{"2":{"46":2,"47":2}}],["注册启动后的函数",{"2":{"28":2}}],["注册启动前的函数",{"2":{"27":2}}],["每隔0",{"2":{"281":1}}],["每行一个命令",{"2":{"279":1}}],["每个语言的文档都要修订",{"2":{"276":1}}],["每个配置文件给一个或一类服务提供配置",{"2":{"122":1}}],["每种语言都有对应的文档",{"2":{"276":1}}],["每次接收到字符串数据时都会运行",{"2":{"268":1}}],["每3秒发送一次消息",{"2":{"268":1}}],["每天4点检查更新",{"2":{"1":1}}],["多配置文件编写原则",{"2":{"122":1}}],["共享内存通信",{"0":{"269":1},"1":{"270":1,"271":1}}],["共享内存对象",{"2":{"116":1}}],["共享内存模块",{"2":{"99":1}}],["订阅者接收消息时的回调",{"2":{"109":2}}],["频道",{"2":{"108":2,"109":2,"110":2}}],["发布消息",{"2":{"108":2}}],["发送函数为同步函数",{"2":{"67":2}}],["发送数据",{"2":{"67":2,"96":2}}],["删除键值对",{"2":{"106":2}}],["值",{"2":{"104":2,"105":2}}],["键值对",{"2":{"107":2}}],["键",{"2":{"104":2,"105":2,"106":2}}],["类似于minecraft的mcfunction",{"2":{"278":1}}],["类似于redis",{"2":{"99":1}}],["类型",{"2":{"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"71":1,"72":1,"73":1,"74":1,"75":1,"100":1,"101":1,"116":1,"144":1,"145":1,"178":1}}],["关闭通道",{"2":{"98":2}}],["关键字参数",{"2":{"24":2}}],["调用机器人函数",{"2":{"295":1}}],["调用机器人api",{"2":{"295":1}}],["调用重启进程方法",{"2":{"287":1}}],["调用函数",{"2":{"280":1}}],["调用bot",{"2":{"280":1}}],["调用",{"2":{"92":2}}],["通过关键词搜索插件",{"2":{"297":1}}],["通过装饰器注册一个函数在接收到消息时运行",{"2":{"268":1}}],["通常是目录不存在或目录为空",{"2":{"230":2}}],["通常为纯文本的格式",{"2":{"165":1}}],["通常会默认传入chan",{"2":{"137":2}}],["通信",{"2":{"89":1}}],["通道是全双工的",{"2":{"268":1}}],["通道通信",{"0":{"266":1},"1":{"267":1,"268":1,"269":1,"270":1,"271":1}}],["通道实例",{"2":{"76":2,"77":2,"78":2,"79":2}}],["通道名称",{"2":{"76":2,"78":2}}],["通道传递通道",{"2":{"73":1,"74":1}}],["通道id",{"2":{"66":2,"95":2}}],["依赖关系",{"2":{"88":1}}],["主题包中的html渲染使用js来规定数据的渲染位置",{"2":{"291":1}}],["主题商店提供了一些资源包供你选择",{"2":{"291":1}}],["主动模式需调用chan",{"2":{"268":1}}],["主动通道传递通道",{"2":{"80":1}}],["主进程中",{"2":{"268":1}}],["主进程中通过get",{"2":{"268":1}}],["主进程接收到消息后重启对应子进程",{"2":{"267":1}}],["主进程订阅者接收函数",{"2":{"100":1}}],["主进程创建单例",{"2":{"73":1,"74":1}}],["设置用户信息或打开属性设置菜单",{"2":{"299":1}}],["设置",{"2":{"296":1,"299":1}}],["设置共享内存",{"2":{"271":1}}],["设置后的插件名称",{"2":{"231":2}}],["设置插件名称颜色",{"2":{"231":2}}],["设置键值对",{"2":{"104":2}}],["设置通道实例",{"2":{"76":2,"77":2}}],["设备上python环境太乱了",{"2":{"6":1}}],["子进程中获取通道直接导入进程全局单例即可",{"2":{"268":1}}],["子进程中导入单例active",{"2":{"268":1}}],["子进程订阅者接收函数",{"2":{"101":1}}],["子进程初始化时实例化",{"2":{"73":1,"74":1}}],["子进程可用的主动和被动通道",{"2":{"71":1}}],["装饰回调函数实现",{"2":{"268":1}}],["装饰一个函数在接收到数据后执行",{"2":{"153":2}}],["装饰器",{"2":{"70":2,"109":2,"153":2,"171":4}}],["装置要求",{"0":{"15":1},"1":{"16":1}}],["接收频道",{"2":{"165":1}}],["接收数据",{"2":{"97":2}}],["接收数据并执行函数",{"2":{"70":2}}],["接收函数",{"2":{"61":1}}],["会自动判断key版本",{"2":{"301":1}}],["会自动识别文件格式",{"2":{"127":2}}],["会触发最大递归深度限制",{"2":{"281":1}}],["会话负载信息",{"2":{"293":1}}],["会话类型",{"2":{"165":1}}],["会话id",{"2":{"165":1}}],["会挂起等待",{"2":{"69":2}}],["会阻塞线程",{"2":{"68":2}}],["数据",{"2":{"67":2,"68":2,"69":2,"96":2,"97":2,"108":2,"110":2}}],["过滤函数",{"2":{"64":1,"70":2}}],["并且应该在metadata",{"2":{"292":1}}],["并且不用修改源代码",{"2":{"291":1}}],["并且支持vitepress相关内容",{"2":{"276":1}}],["并在其中写入一些代码",{"2":{"290":1}}],["并在其中写入以下代码",{"2":{"290":1}}],["并在其中创建一个",{"2":{"286":1}}],["并遵循其许可进行修改",{"2":{"260":1}}],["并发运行异步函数",{"2":{"45":2}}],["并使用克隆而非直接下载的方式部署轻雪",{"2":{"6":1}}],["|",{"0":{"45":1,"155":1,"165":1,"166":1,"229":1},"2":{"39":1,"42":1,"45":3,"61":1,"64":1,"155":1,"165":1,"166":1,"229":1}}],["下午12",{"2":{"258":1}}],["下午11",{"2":{"228":1,"232":1}}],["下午10",{"2":{"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"256":1}}],["下午8",{"2":{"36":1}}],["下面已经列出一些推荐的实现端",{"2":{"6":1}}],["7",{"2":{"36":1,"131":1,"160":1,"228":1,"232":1,"233":1}}],["兼容键",{"2":{"35":2}}],["兼容旧版本",{"2":{"35":2}}],["获取用户信息",{"2":{"299":1}}],["获取唯一的轻雪bot实例",{"2":{"287":1}}],["获取共享内存",{"2":{"271":1}}],["获取主动通道",{"2":{"268":1}}],["获取被动通道",{"2":{"268":1}}],["获取已加载的插件",{"2":{"227":2}}],["获取函数和类",{"2":{"222":2}}],["获取相对路径",{"2":{"219":2}}],["获取所有键值对",{"2":{"107":2}}],["获取键值对",{"2":{"105":2}}],["获取通道实例们",{"2":{"79":2}}],["获取通道实例",{"2":{"78":2}}],["获取配置",{"2":{"34":2,"35":2}}],["获取轻雪实例",{"2":{"33":2}}],["为可选参数",{"2":{"294":1}}],["为必填参数",{"2":{"294":1}}],["为子进程重启时调用",{"2":{"31":2}}],["为子进程停止时调用",{"2":{"30":2}}],["为什么我启动后机器人没有反应",{"2":{"6":1}}],["未实现",{"2":{"29":2,"32":2,"55":2,"57":2}}],["返回true则执行回调函数",{"2":{"153":2}}],["返回",{"2":{"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"68":1,"69":1,"70":1,"78":1,"79":1,"97":1,"105":1,"107":1,"109":1,"123":1,"153":1,"171":1,"222":1,"223":1,"227":1,"231":1,"261":1,"264":1,"265":1}}],["自定义选项title",{"2":{"223":2}}],["自动调用",{"2":{"24":2}}],["自己整一个websocket客户端",{"2":{"8":1}}],["`pathlib",{"2":{"229":1}}],["`path",{"2":{"229":1}}],["`pip`",{"2":{"229":1}}],["`process",{"2":{"30":2,"31":2,"45":1,"48":2,"50":2}}],["`",{"2":{"223":14,"229":1}}],["`dict`",{"2":{"77":1,"79":1}}],["`channel`",{"2":{"76":1,"77":1,"78":1,"79":1}}],["`filter",{"2":{"70":1}}],["`async",{"2":{"45":1}}],["`any`",{"2":{"34":2,"35":2}}],["`sequence`",{"2":{"45":1}}],["`str`",{"2":{"23":1,"34":1,"35":2,"76":1,"77":1,"78":1,"79":1}}],["`tuple`",{"2":{"35":1}}],["`liteyukibot`",{"2":{"33":1}}],["`lifespan",{"2":{"27":2,"28":2,"29":2,"32":2,"46":2,"47":2,"49":2,"51":2}}],["`optional`",{"2":{"23":1,"70":1}}],["`int`",{"2":{"22":1}}],["进程生命周期函数",{"2":{"48":4,"50":4}}],["进程函数关键字参数",{"2":{"137":2}}],["进程函数参数",{"2":{"137":2}}],["进程函数",{"2":{"42":1,"137":2}}],["进程名",{"2":{"23":2,"137":2}}],["进入轻雪目录",{"2":{"13":1}}],["join",{"0":{"138":1},"2":{"22":1,"128":1,"138":2,"139":1,"221":1,"223":4,"224":1,"230":2,"264":2}}],["js",{"2":{"8":1}}],["json",{"0":{"125":1},"2":{"0":1,"125":5,"127":2,"129":1}}],["json和toml作为配置文件",{"2":{"0":1}}],["31",{"2":{"258":1}}],["3",{"2":{"22":1,"23":2,"34":3,"35":5,"45":1,"70":1,"76":1,"77":2,"78":1,"79":2,"159":1,"230":1,"268":1}}],["3a",{"2":{"22":1,"23":2,"34":3,"35":5,"45":1,"70":1,"76":1,"77":2,"78":1,"79":2}}],["延迟重启时间",{"2":{"22":2}}],["kill",{"2":{"139":1}}],["k",{"2":{"123":2,"223":2}}],["keyword",{"2":{"176":2}}],["keywords为城市名",{"2":{"301":2}}],["keywords",{"0":{"176":2},"2":{"176":5,"297":1,"301":2}}],["keyerror",{"2":{"106":1}}],["keyvaluestore",{"0":{"102":1},"1":{"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1},"2":{"113":1,"116":1}}],["keys",{"0":{"35":1},"2":{"35":4}}],["key",{"0":{"34":1,"35":1,"104":1,"105":1,"106":2},"2":{"34":4,"35":11,"104":7,"105":7,"106":13,"118":3,"119":3,"120":3,"123":2,"271":2,"295":4,"299":2,"301":1}}],["keyboardinterrupt",{"2":{"20":1}}],["keeping",{"2":{"21":1}}],["keep",{"0":{"21":1},"2":{"21":1}}],["kwargs=none",{"2":{"137":1}}],["kwargs",{"0":{"19":1,"24":1,"45":1,"54":1,"56":1,"92":1,"137":1},"2":{"19":4,"24":3,"45":3,"54":2,"56":2,"92":2,"137":5,"146":2,"265":2,"295":2}}],["echo",{"2":{"279":3}}],["emoji",{"2":{"276":1}}],["emsp",{"2":{"223":4}}],["empty",{"0":{"175":1,"176":1,"184":1},"2":{"184":1,"229":1,"230":1}}],["email",{"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["enable",{"2":{"295":2,"296":1,"297":2,"298":2}}],["end",{"2":{"280":1}}],["endswith",{"2":{"127":3,"128":1,"221":1,"230":1,"287":1}}],["en",{"2":{"275":1}}],["ensure",{"2":{"262":1}}],["enum",{"0":{"188":1,"234":1},"1":{"189":1,"190":1,"191":1,"192":1,"193":1,"235":1,"236":1,"237":1,"238":1,"239":1}}],["enumerate",{"2":{"174":1}}],["encoding=",{"2":{"124":1,"125":1,"126":1,"220":1,"222":1}}],["enforcing",{"2":{"66":1}}],["e",{"2":{"106":2,"229":1,"231":1,"262":2}}],["errors=true",{"2":{"224":1}}],["error",{"0":{"106":1},"2":{"106":4,"162":2,"262":1}}],["else",{"2":{"22":1,"23":1,"33":1,"45":1,"66":1,"70":2,"76":1,"78":1,"79":1,"104":1,"105":1,"106":1,"107":1,"109":2,"124":1,"125":1,"126":1,"161":1,"162":5,"174":1,"222":9,"223":10,"224":2,"229":2,"262":1,"264":1}}],["elif",{"2":{"22":2,"66":1,"70":1,"127":4,"222":5,"229":2,"230":1}}],["extensions",{"2":{"287":2}}],["extend",{"2":{"155":1}}],["extra",{"0":{"247":1}}],["exclude",{"2":{"287":2}}],["exc",{"2":{"172":1,"229":1}}],["exception模块包含了liteyuki运行中的所有错误",{"2":{"156":1}}],["exception",{"0":{"156":1},"1":{"157":1},"2":{"21":1,"172":1,"229":1,"262":2}}],["except",{"2":{"20":1,"21":1,"106":1,"172":1,"229":1,"262":2}}],["executor",{"2":{"69":1}}],["executable",{"2":{"22":3}}],["exist",{"2":{"230":1}}],["exists",{"2":{"66":2,"76":1,"127":1,"128":1,"220":1,"230":2}}],["exit",{"2":{"22":1}}],["exiting",{"2":{"21":1}}],["event装饰器监听文件系统事件",{"2":{"287":1}}],["events",{"2":{"287":1}}],["eventhandler",{"0":{"171":2},"2":{"170":1,"171":4}}],["event",{"0":{"85":1,"86":1,"148":1,"149":1,"150":1,"151":1,"152":2,"153":2,"163":1,"172":1,"183":1,"184":1,"185":1,"259":1},"1":{"86":1,"87":2,"164":1,"165":1,"166":1},"2":{"19":4,"21":1,"26":1,"88":1,"148":1,"149":2,"150":2,"151":2,"152":3,"153":9,"163":1,"166":2,"172":5,"176":2,"181":3,"182":3,"183":2,"184":1,"185":2,"259":3,"262":2,"287":8}}],["外部启动接口",{"2":{"20":2}}],["加载",{"2":{"298":1}}],["加载资源包",{"0":{"292":1},"2":{"297":1}}],["加载插件",{"0":{"288":1},"1":{"289":1,"290":1}}],["加载插件加载器",{"2":{"19":1}}],["加载单个插件",{"2":{"229":2}}],["加入qq群775840726",{"2":{"7":1}}],["生成文档",{"2":{"224":2}}],["生成模块的markdown",{"2":{"223":2}}],["生命周期函数",{"2":{"27":4,"28":4,"29":4,"30":4,"31":4,"32":4,"39":1,"46":4,"47":4,"49":4,"51":4}}],["生命周期管理",{"2":{"19":1}}],["生产环境中推荐反向websocket",{"2":{"3":1}}],["初始化通道",{"2":{"66":2,"95":2}}],["初始化日志",{"2":{"25":2}}],["初始化轻雪",{"2":{"24":2}}],["初始化轻雪实例",{"2":{"19":2}}],["初始化",{"2":{"19":1}}],["=none",{"2":{"23":1,"66":1,"70":1,"105":1,"165":2}}],["==",{"2":{"22":3,"81":1,"82":2,"83":2,"84":1,"111":1,"117":1,"118":2,"119":2,"120":2,"121":1,"161":1,"222":4,"223":2,"264":1}}],["=",{"0":{"22":1,"23":1,"34":1,"35":1,"66":1,"70":1,"105":1,"106":1,"114":1,"115":1,"127":1,"128":1,"129":1,"137":2,"153":2,"165":2,"175":3,"176":3,"189":1,"190":1,"191":1,"192":1,"193":1,"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"203":1,"204":1,"205":1,"206":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"222":1,"223":2,"224":3,"230":1,"235":1,"236":1,"237":1,"238":1,"239":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"250":1,"251":1,"252":1,"253":1,"254":1},"2":{"19":7,"22":6,"23":2,"44":7,"45":1,"66":10,"67":1,"68":1,"69":2,"70":1,"76":1,"78":1,"79":1,"82":1,"83":1,"84":1,"87":2,"91":1,"95":4,"103":6,"104":2,"105":2,"106":1,"107":1,"109":2,"111":1,"113":1,"118":3,"119":2,"120":1,"121":1,"123":2,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":5,"135":3,"137":5,"139":1,"146":3,"153":2,"155":4,"162":1,"165":10,"166":1,"170":5,"175":1,"180":1,"221":1,"222":17,"223":16,"224":13,"229":12,"230":6,"231":5,"261":1,"262":2,"264":1,"265":1,"268":5,"271":1,"286":1,"287":2}}],[">=",{"2":{"170":1}}],[">",{"2":{"19":1,"27":1,"31":1,"33":1,"34":1,"35":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"68":1,"69":1,"70":3,"78":1,"79":1,"91":1,"92":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":2,"123":2,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"141":1,"146":1,"153":2,"161":1,"171":2,"172":1,"175":1,"176":1,"181":2,"182":2,"183":1,"184":1,"185":1,"219":1,"222":1,"223":3,"224":1,"227":1,"229":1,"230":1,"231":3,"261":1,"264":2,"265":1,"301":2}}],["在群聊启用",{"2":{"295":1}}],["在普通图片和markdown大图之间切换",{"2":{"295":1}}],["在b中定义了templates",{"2":{"292":1}}],["在配置文件中的liteyuki",{"2":{"289":1}}],["在设备上执行命令",{"2":{"280":1}}],["在发信器输出",{"2":{"279":1}}],["在你的仓库中创建一个pull",{"2":{"273":1}}],["在你的仓库中创建一个新的分支",{"2":{"273":1}}],["在你的仓库中进行开发",{"2":{"273":1}}],["在任意进程中均可使用",{"2":{"271":1}}],["在子进程中",{"2":{"268":1}}],["在轻雪插件中",{"2":{"268":1}}],["在新线程中运行协程",{"2":{"263":2}}],["在语言加载完成后执行",{"2":{"162":2}}],["在主进程中运行",{"2":{"111":2}}],["在github上查看",{"2":{"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":1,"67":1,"68":1,"69":1,"70":1,"76":1,"77":1,"78":1,"79":1,"82":1,"83":1,"84":1,"87":1,"91":1,"92":1,"95":1,"96":1,"97":1,"98":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"113":1,"118":1,"119":1,"120":1,"121":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"146":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"155":1,"161":1,"162":1,"165":1,"166":1,"170":1,"171":1,"172":1,"174":1,"175":1,"176":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"227":1,"229":1,"230":1,"231":1,"249":1,"257":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":1}}],["在安全模式下你可以使用npm",{"2":{"6":1}}],["或插件路径",{"2":{"229":2}}],["或",{"2":{"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":1,"67":1,"68":1,"69":1,"70":1,"76":1,"77":1,"78":1,"79":1,"82":1,"83":1,"84":1,"87":1,"91":1,"92":1,"95":1,"96":1,"97":1,"98":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"113":1,"118":1,"119":1,"120":1,"121":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"146":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"155":1,"161":1,"162":1,"165":1,"166":1,"170":1,"171":1,"172":1,"174":1,"175":1,"176":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"227":1,"229":1,"230":1,"231":1,"249":1,"257":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":1,"303":2}}],["源代码",{"2":{"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":1,"67":1,"68":1,"69":1,"70":1,"76":1,"77":1,"78":1,"79":1,"82":1,"83":1,"84":1,"87":1,"91":1,"92":1,"95":1,"96":1,"97":1,"98":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"113":1,"118":1,"119":1,"120":1,"121":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"146":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"155":1,"161":1,"162":1,"165":1,"166":1,"170":1,"171":1,"172":1,"174":1,"175":1,"176":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1,"219":1,"220":1,"221":1,"222":1,"223":2,"224":1,"227":1,"229":1,"230":1,"231":1,"249":1,"257":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":1,"271":1}}],["参与开发默认你已经了解python语言和轻雪框架的基本使用方法",{"2":{"273":1}}],["参考`liteyuki",{"2":{"155":1}}],["参考liteyuki",{"2":{"155":1}}],["参考值",{"2":{"3":1}}],["参数列表",{"2":{"295":2}}],["参数为调用set",{"2":{"268":1}}],["参数",{"2":{"19":1,"22":1,"23":1,"24":3,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"34":1,"35":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"66":1,"67":1,"70":1,"76":1,"77":1,"78":1,"95":1,"96":1,"104":1,"105":1,"106":1,"108":1,"109":1,"110":1,"123":1,"137":1,"139":1,"141":1,"153":1,"155":1,"166":1,"170":1,"172":1,"219":1,"220":1,"222":1,"223":1,"224":1,"229":2,"230":2,"231":1,"261":1,"262":1,"263":1,"264":1,"265":1,"294":1,"303":1}}],["feat",{"2":{"276":1}}],["future",{"2":{"262":1}}],["function实现语法高亮",{"2":{"283":1}}],["functiondef",{"2":{"222":3}}],["functioninfo",{"0":{"194":1,"210":1,"215":1},"1":{"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1},"2":{"222":2}}],["function",{"0":{"189":2},"2":{"222":3,"278":1,"280":1,"281":2,"295":3}}],["functions=",{"2":{"222":1}}],["functions",{"0":{"215":1},"2":{"22":1,"34":2,"35":2,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"222":1,"223":1}}],["func=none",{"2":{"153":1}}],["func=lambda",{"2":{"81":1,"82":2,"83":2,"84":1,"268":1}}],["funcs",{"0":{"45":2,"100":1,"101":1,"110":1},"2":{"44":6,"45":5,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":2,"53":2,"54":2,"55":2,"56":2,"57":2,"70":1,"109":6,"110":2,"111":1}}],["func`",{"2":{"27":2,"28":2,"29":2,"30":2,"31":2,"32":2,"45":2,"46":2,"47":2,"48":2,"49":2,"50":2,"51":2,"70":1}}],["func",{"0":{"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":4,"28":3,"29":3,"30":3,"31":4,"32":3,"33":1,"34":1,"35":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"44":1,"45":3,"46":4,"47":4,"48":4,"49":4,"50":4,"51":4,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"66":1,"67":1,"68":1,"69":1,"70":3,"76":1,"77":1,"78":1,"79":1,"82":1,"83":1,"84":1,"87":1,"91":2,"92":1,"95":1,"96":1,"97":1,"98":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":3,"110":1,"111":1,"113":1,"118":1,"119":1,"120":1,"121":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"135":1,"136":1,"137":2,"138":1,"139":1,"140":1,"141":1,"144":1,"145":1,"146":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":4,"155":1,"161":1,"162":1,"165":1,"166":1,"170":1,"171":1,"172":1,"174":1,"175":1,"176":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"227":1,"229":1,"230":1,"231":1,"249":1,"257":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":2},"2":{"27":10,"28":9,"29":9,"30":9,"31":10,"32":9,"39":2,"42":2,"44":6,"45":10,"46":11,"47":11,"48":11,"49":11,"50":11,"51":11,"61":2,"64":2,"66":2,"70":22,"91":1,"100":1,"101":1,"109":8,"110":2,"137":1,"146":2,"153":7,"222":2,"223":9,"261":2,"265":5,"280":1}}],["failed",{"2":{"229":1}}],["false时例如docs",{"2":{"224":2}}],["false",{"0":{"127":1,"128":1,"129":1,"175":1,"176":1,"224":1},"2":{"2":4,"66":2,"95":1,"103":2,"261":1}}],["first",{"2":{"222":2}}],["filter=lambda",{"2":{"287":1}}],["filter",{"0":{"62":1,"63":1,"64":1,"70":2,"145":1,"153":2},"2":{"64":2,"70":10,"81":1,"82":2,"83":2,"84":1,"153":6,"268":1}}],["filesystemeventhandler",{"0":{"147":1},"1":{"148":1,"149":1,"150":1,"151":1,"152":1}}],["filesystemevent",{"2":{"144":1,"145":1,"153":1,"287":2}}],["files",{"0":{"127":2,"220":1},"2":{"127":3,"128":1,"129":1,"220":1,"221":2,"224":1}}],["file",{"0":{"124":1,"125":1,"126":1,"153":1,"220":1,"221":1,"222":1},"2":{"36":1,"124":5,"125":5,"126":5,"127":12,"128":3,"131":1,"153":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"220":4,"221":7,"222":9,"224":6,"228":1,"232":1,"233":1,"256":1,"258":1,"287":3}}],["friend",{"2":{"281":2}}],["front",{"0":{"223":1},"2":{"223":6,"224":3}}],["from",{"0":{"124":1,"125":1,"126":1,"127":1,"128":1},"2":{"68":1,"124":4,"125":4,"126":4,"127":4,"128":2,"129":2,"268":4,"286":1,"287":3}}],["framework",{"2":{"158":1}}],["flake8",{"2":{"274":1}}],["flat",{"0":{"123":1},"2":{"123":2,"124":1,"125":1,"126":1}}],["flag",{"2":{"44":1}}],["folder",{"0":{"221":1,"224":1},"2":{"221":2,"224":5,"225":1,"255":1}}],["found",{"2":{"67":1,"76":1,"127":1,"128":1,"139":1,"141":1}}],["format=get",{"2":{"162":1}}],["formats",{"2":{"128":1}}],["format",{"0":{"161":1,"231":1},"2":{"127":1,"161":3,"162":1,"229":2,"231":1}}],["for",{"2":{"23":1,"35":1,"45":1,"66":1,"77":1,"110":1,"123":2,"127":1,"128":2,"136":1,"138":1,"140":1,"153":1,"172":1,"174":1,"176":1,"220":1,"221":2,"222":12,"223":9,"224":3,"230":2,"257":2,"262":2,"286":1}}],["f",{"2":{"22":1,"23":2,"35":1,"66":4,"67":1,"76":2,"123":1,"124":1,"125":1,"126":1,"127":2,"128":1,"136":1,"139":2,"141":1,"220":2,"223":19,"224":1,"229":5,"230":9,"231":1,"262":1,"268":2,"287":1}}],["模块名",{"2":{"264":2}}],["模块文件夹",{"2":{"224":2}}],["模块信息",{"2":{"222":2,"223":2}}],["模块",{"0":{"17":1,"36":1,"58":1,"85":1,"88":1,"89":1,"93":1,"99":1,"122":1,"130":1,"131":1,"142":1,"143":1,"154":1,"156":1,"158":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"226":1,"228":1,"232":1,"233":1,"255":1,"256":1,"258":1,"260":1},"1":{"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"76":1,"77":1,"78":1,"79":1,"80":1,"81":1,"82":1,"83":1,"84":1,"86":1,"87":1,"90":1,"91":1,"92":1,"94":1,"95":1,"96":1,"97":1,"98":1,"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"132":1,"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"144":1,"145":1,"146":1,"147":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"155":1,"157":1,"159":1,"161":1,"162":1,"164":1,"165":1,"166":1,"169":1,"170":1,"171":1,"172":1,"174":1,"175":1,"176":1,"178":1,"179":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1,"188":1,"189":1,"190":1,"191":1,"192":1,"193":1,"194":1,"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1,"205":1,"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1,"227":1,"229":1,"230":1,"231":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"248":1,"249":1,"250":1,"251":1,"252":1,"253":1,"254":1,"257":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":1}}],["至少1gb空间",{"2":{"15":1}}],["至少1vcpu",{"2":{"15":1}}],["硬盘",{"2":{"15":1}}],["及",{"2":{"15":1}}],["不带key返回配置项列表",{"2":{"295":1}}],["不包含任何隐私信息",{"2":{"293":1}}],["不含隐私部分",{"2":{"293":1}}],["不含插件数据",{"2":{"293":1}}],["不同adapter",{"2":{"282":1}}],["不同的实现端给出的字段可能不同",{"2":{"3":1}}],["不限制commit",{"2":{"276":1}}],["不要出现无法访问的死链接",{"2":{"276":1}}],["不要出现过多的嵌套",{"2":{"122":1}}],["不要将多个功能或多个bug的代码混在一起提交",{"2":{"276":1}}],["不递归",{"2":{"128":2}}],["不是liteyukibot官方提供的功能",{"2":{"14":1}}],["该功能需要commit",{"2":{"295":1}}],["该功能由trss提供支持",{"2":{"14":1}}],["该模块封装通道实现",{"2":{"270":1}}],["该模块用于存放一些开发工具",{"2":{"142":1}}],["该模块用于常用配置文件的加载",{"2":{"122":1}}],["该模块用于轻雪主进程和nonebot子进程之间的通信",{"2":{"88":1}}],["该步骤为必要项",{"2":{"12":1}}],["weather",{"0":{"301":1},"1":{"302":1},"2":{"301":1,"302":1}}],["world",{"2":{"279":5}}],["w",{"2":{"220":1}}],["write",{"0":{"220":1},"2":{"220":2,"224":1}}],["wrapper",{"0":{"265":1},"2":{"45":1,"70":2,"109":4,"137":1,"146":2,"153":2,"265":4}}],["watchdog",{"2":{"287":1,"290":1}}],["watch",{"2":{"286":1,"287":1}}],["walk",{"2":{"221":1,"222":1}}],["wait",{"0":{"146":1},"2":{"146":2}}],["waring=no",{"2":{"129":1}}],["waring",{"0":{"128":1,"129":1},"2":{"128":3,"129":3}}],["warning=no",{"2":{"128":1,"129":1}}],["warning",{"0":{"127":1,"230":1},"2":{"15":2,"35":1,"127":5,"128":1,"139":1,"141":1,"162":2,"229":1,"230":9,"283":1,"298":1}}],["will",{"2":{"35":1}}],["with",{"0":{"35":1,"224":1},"2":{"35":1,"104":1,"105":1,"106":1,"113":1,"220":1,"222":1,"223":5,"224":4}}],["windows",{"2":{"15":1,"22":1}}],["windows系统版本最低windows10+",{"2":{"15":1}}],["windows请使用项目绝对目录",{"2":{"13":1}}],["while",{"2":{"21":1,"68":1,"111":1,"268":2}}],["ws",{"2":{"3":2}}],["$",{"2":{"13":2}}],["构建镜像",{"2":{"13":1}}],["克隆项目",{"2":{"13":1}}],["克隆项目到本地",{"2":{"12":1}}],["使用通用日期简写",{"2":{"303":2}}],["使用此项目代表你已经同意以上协议",{"2":{"293":1}}],["使用开发工具快速运行插件",{"2":{"290":1}}],["使用",{"2":{"281":1}}],["使用新的task执行命令",{"2":{"280":1}}],["使用watchdog监控文件变化并重启bot",{"2":{"143":1}}],["使用trss",{"0":{"14":1}}],["使用docker构建",{"0":{"13":1}}],["使用其他项目连接请先自行查阅文档",{"2":{"9":1}}],["b包也定义了一个index",{"2":{"292":1}}],["bug",{"2":{"276":1}}],["built",{"2":{"255":2}}],["build",{"2":{"13":1}}],["break",{"2":{"174":1}}],["black等工具进行代码检查和格式化",{"2":{"274":1}}],["block",{"0":{"170":1,"175":1,"176":1},"2":{"170":5,"175":2,"176":2}}],["blue>",{"2":{"162":1}}],["bases",{"2":{"222":1}}],["base",{"0":{"219":1},"2":{"219":4,"222":2}}],["basemodel",{"0":{"194":1,"202":1,"207":1,"213":1,"240":1,"248":1},"1":{"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"203":1,"204":1,"205":1,"206":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"249":1,"250":1,"251":1,"252":1,"253":1,"254":1}}],["baseexception",{"0":{"157":1}}],["bash",{"2":{"12":1}}],["b",{"2":{"123":3,"224":4,"264":4,"304":1}}],["body",{"2":{"222":1}}],["bool=false",{"2":{"127":1,"128":1,"129":1,"175":1,"176":1,"224":1}}],["bool=true",{"2":{"106":1,"153":1,"222":1,"230":1}}],["bool",{"0":{"66":1,"106":1,"127":1,"128":1,"129":1,"141":1,"153":1,"170":1,"175":1,"176":1,"183":1,"184":1,"185":1,"201":1,"222":1,"224":1,"230":1,"261":1},"2":{"62":1,"63":1,"66":1,"141":1,"145":1,"170":1,"178":1,"181":1,"182":1,"183":1,"184":1,"185":1,"261":3}}],["bot",{"0":{"17":1,"33":1,"36":1,"165":1},"1":{"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1},"2":{"19":2,"33":4,"34":1,"35":4,"155":2,"165":4,"166":2,"268":4,"279":1,"287":2,"295":1,"303":3,"304":1}}],["bot无其他插件会占用300~500mb",{"2":{"15":1}}],["be",{"2":{"35":1,"67":1,"70":1,"76":1,"148":1}}],["before",{"0":{"27":1,"30":1,"31":1,"46":1,"48":1,"50":1,"52":1,"54":1,"56":1},"2":{"27":2,"30":2,"31":2,"44":3,"46":2,"48":2,"50":2,"52":3,"54":3,"56":3}}],["bind",{"2":{"302":1}}],["bin",{"2":{"12":1}}],["可用",{"2":{"295":1}}],["可用参数",{"2":{"295":1}}],["可递归",{"2":{"280":1}}],["可调用对象",{"2":{"261":2}}],["可以在配置文件中把auto",{"2":{"293":1}}],["可以在a的index",{"2":{"292":1}}],["可以在此基础上进行修改",{"2":{"291":1}}],["可以在config",{"2":{"274":1}}],["可以很高程度地扩展轻雪的功能",{"2":{"284":1}}],["可以是本地插件或是通过",{"2":{"229":2}}],["可以使用liteyuki镜像",{"2":{"12":1}}],["可使用ws",{"2":{"8":1}}],["help",{"2":{"297":1,"298":1}}],["hello",{"2":{"279":5,"295":1}}],["hash",{"0":{"249":1},"2":{"249":2}}],["handle",{"0":{"171":1},"2":{"171":1,"258":1,"259":1}}],["handlers",{"2":{"170":1,"171":1,"172":1}}],["handler",{"0":{"180":1},"2":{"153":3,"171":5,"172":2,"180":3,"181":4,"182":4,"183":2}}],["homepage",{"0":{"246":1}}],["host",{"2":{"1":1}}],["hint",{"2":{"66":1,"222":1,"223":1}}],["html中用",{"2":{"292":1}}],["html文件会被覆盖",{"2":{"292":1}}],["html文件",{"2":{"292":2}}],["html",{"2":{"22":1,"23":2,"34":3,"35":5,"45":1,"70":1,"76":1,"77":2,"78":1,"79":2,"292":1}}],["https",{"2":{"12":2,"13":1,"22":1,"23":2,"34":3,"35":5,"45":1,"70":1,"76":1,"77":2,"78":1,"79":2}}],["环境",{"2":{"12":1}}],["和风天气的天气key",{"2":{"301":1}}],["和10是不一样的",{"2":{"295":1}}],["和config目录下的所有配置文件",{"2":{"129":2}}],["和",{"2":{"12":1,"295":1}}],["常规操作",{"2":{"19":1}}],["常规部署",{"0":{"12":1}}],["常见问题",{"0":{"6":1}}],["安装插件",{"2":{"297":1}}],["安装的插件",{"2":{"229":2}}],["安装依赖",{"2":{"12":1}}],["安装",{"0":{"11":1},"1":{"12":1,"13":1,"14":1,"15":1,"16":1},"2":{"12":1,"13":1,"294":1,"298":1}}],["安全模式",{"2":{"2":1}}],["鸣谢",{"0":{"10":1}}],["然后运行python",{"2":{"290":1}}],["然后使用",{"2":{"12":1}}],["然后给轻雪传输数据",{"2":{"8":1}}],["然后用",{"2":{"6":1}}],["看着qq的消息",{"2":{"8":1}}],["人工实现的onebot协议",{"2":{"8":1}}],["需要在最后调用",{"2":{"280":1}}],["需要官方机器人权限",{"2":{"8":1}}],["需要安装ntqq",{"2":{"8":1}}],["guide",{"2":{"276":1}}],["g",{"2":{"231":1,"304":1}}],["group",{"2":{"165":2,"295":9,"296":1,"297":2,"303":3,"304":1}}],["green>",{"2":{"162":1}}],["gather",{"2":{"45":1,"262":1}}],["generate",{"0":{"223":1,"224":1},"2":{"223":1,"224":3}}],["generic",{"0":{"65":1},"1":{"66":1,"67":1,"68":1,"69":1,"70":1},"2":{"66":2,"67":1,"76":1,"77":1,"78":1,"79":1}}],["gensokyo",{"2":{"8":1}}],["getattr",{"2":{"261":1}}],["get",{"0":{"33":1,"34":1,"35":1,"78":1,"79":1,"83":1,"84":1,"105":1,"107":1,"113":1,"118":1,"121":1,"161":1,"219":1,"221":1,"222":1,"227":1},"2":{"23":2,"33":2,"34":3,"35":5,"66":2,"67":1,"69":1,"78":2,"79":2,"82":1,"83":4,"84":3,"104":1,"105":4,"106":1,"107":2,"113":1,"116":1,"117":1,"118":3,"120":1,"121":3,"155":1,"161":1,"162":2,"219":1,"221":1,"222":5,"224":3,"225":1,"227":1,"229":3,"230":1,"257":2,"262":1,"268":8,"271":1,"287":2,"295":3,"296":1,"299":2}}],["globalkeyvaluestore",{"0":{"112":1},"1":{"113":1,"114":1,"115":1},"2":{"116":1}}],["global",{"2":{"19":1,"70":1,"297":2,"298":2}}],["gt",{"0":{"19":1,"27":1,"31":1,"33":1,"34":1,"35":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"68":1,"69":1,"70":1,"78":1,"79":1,"91":1,"92":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"141":1,"153":1,"161":1,"171":1,"172":1,"175":1,"176":1,"181":1,"182":1,"183":1,"184":1,"185":1,"219":1,"222":1,"223":1,"227":1,"229":1,"230":1,"231":1,"261":1,"264":1,"265":1},"2":{"88":3,"123":1,"170":1,"264":1,"276":2,"294":1,"295":7,"297":10,"299":2}}],["github",{"2":{"12":1,"13":1}}],["git",{"2":{"12":3,"13":1}}],["golang",{"2":{"8":1}}],["go语言实现的onebot11实现端",{"2":{"8":1}}],["go",{"2":{"8":1}}],["occurred",{"2":{"262":1}}],["output",{"0":{"224":1},"2":{"224":6}}],["outlook",{"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["order",{"2":{"224":1}}],["or",{"0":{"181":1},"2":{"181":2,"222":4}}],["org",{"2":{"22":1,"23":2,"34":3,"35":5,"45":1,"70":1,"76":1,"77":2,"78":1,"79":2}}],["other",{"0":{"181":1,"182":1},"2":{"165":1,"181":2,"182":2}}],["overall",{"2":{"158":1}}],["observer",{"0":{"143":1},"1":{"144":1,"145":1,"146":1,"147":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1},"2":{"153":1,"287":2}}],["os",{"2":{"127":1,"128":3,"219":1,"220":4,"221":2,"222":1,"224":2,"230":9,"287":2}}],["of",{"2":{"67":1,"76":1,"158":1,"229":1}}],["only",{"2":{"70":1}}],["on",{"0":{"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"59":1,"60":1,"61":1,"70":1,"82":1,"83":1,"84":1,"91":2,"100":1,"101":1,"109":3,"118":1,"119":1,"120":1,"121":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"173":1,"175":1,"176":1},"1":{"174":1,"175":1,"176":1},"2":{"27":2,"28":2,"29":2,"30":2,"31":2,"32":2,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"61":2,"66":2,"70":4,"81":1,"82":3,"83":3,"84":2,"91":4,"92":1,"100":1,"101":1,"109":11,"110":1,"117":1,"118":3,"119":3,"120":3,"121":2,"148":2,"149":2,"150":2,"151":2,"152":2,"153":2,"173":1,"175":1,"176":4,"258":1,"259":1,"268":6,"287":1}}],["onebot",{"2":{"2":1,"3":1,"8":2,"282":1,"295":1}}],["open",{"2":{"22":1,"124":1,"125":1,"126":1,"220":1,"222":1}}],["openshamrock",{"2":{"8":1}}],["option",{"2":{"294":1}}],["optional",{"0":{"23":1,"66":1,"70":1,"105":2,"165":2,"229":1,"254":1},"2":{"22":2,"23":3,"34":2,"35":2,"66":1,"70":5,"103":2,"105":3,"165":2,"229":1}}],["opt",{"2":{"20":2,"229":3}}],["基础插件",{"0":{"294":1},"1":{"295":1,"296":1,"297":1,"298":1,"299":1}}],["基础路径",{"2":{"219":2}}],["基础配置项",{"0":{"1":1}}],["基于socket的通道",{"2":{"93":1}}],["基于ipc",{"2":{"89":1}}],["基于",{"2":{"8":1}}],["基于node",{"2":{"8":1}}],["基于ntqq的onebot实现",{"2":{"8":1}}],["基于lsposed的onebot11实现",{"2":{"8":1}}],["qq群号",{"2":{"303":1}}],["qq官方机器人api",{"2":{"8":1}}],["qq",{"0":{"8":1}}],["quot",{"2":{"3":2,"276":1,"283":2,"295":2,"301":4}}],["推荐私聊使用",{"2":{"295":1}}],["推荐在编写html时同时更改对应js代码",{"2":{"291":1}}],["推荐",{"2":{"276":1}}],["推荐ubuntu",{"2":{"15":1}}],["推荐使用arch",{"2":{"14":1}}],["推荐使用虚拟环境来运行轻雪",{"2":{"12":1}}],["推荐使用反向ws协议进行通信",{"2":{"3":1}}],["推荐方案",{"0":{"8":1,"9":1}}],["仍然出现问题",{"2":{"6":1}}],["登录功能由实现端",{"2":{"6":1}}],["本项目不会收集用户的任何隐私信息",{"2":{"293":1}}],["本项目不负责实现登录功能",{"2":{"6":1}}],["本项目遵循mit协议",{"2":{"293":1}}],["本项目是一个非盈利的开源项目",{"2":{"277":1}}],["本模块用于实现rpc",{"2":{"89":1}}],["本模块用于轻雪主进程和子进程之间的通信的事件类",{"2":{"85":1}}],["本模块定义了一个通用的通道类",{"2":{"58":1}}],["本机默认为127",{"2":{"3":1}}],["例如npm",{"2":{"294":1}}],["例如nonebot插件中",{"2":{"268":1}}],["例如你在a中定义了templates",{"2":{"292":1}}],["例如html",{"2":{"291":1}}],["例如main",{"2":{"290":1}}],["例如watchdog",{"2":{"286":1,"289":1}}],["例如",{"2":{"279":2,"292":1,"301":1}}],["例如test",{"2":{"279":1,"290":1}}],["例如子进程接收到用户信息需要重启机器人",{"2":{"267":1}}],["例如qq",{"2":{"6":1}}],["例如一个命令是help",{"2":{"6":1}}],["怎么登录聊天平台",{"2":{"6":1}}],["报错invalidgitrepositoryerror",{"2":{"6":1}}],["冲突",{"2":{"6":1}}],["确认插件必要配置项完好后",{"2":{"6":1}}],["确认命令头没有和nickname",{"2":{"6":1}}],["确认你有权限使用命令并按照正确的命令发送",{"2":{"6":1}}],["其中type字段为commit类型且可选",{"2":{"276":1}}],["其中",{"2":{"6":1,"275":1}}],["其他插件框架进程是伴随的子进程",{"2":{"267":1}}],["其他插件占用视具体插件而定",{"2":{"15":1}}],["其他插件自带的调试功能也将开启",{"2":{"2":1}}],["其他问题请移步至",{"0":{"16":1}}],["其他问题",{"0":{"7":1}}],["其他",{"0":{"4":1}}],["其他nonebot插件的配置项",{"2":{"2":1}}],["其他配置",{"0":{"2":1}}],["r>",{"2":{"229":2}}],["rv",{"2":{"224":2}}],["rk",{"2":{"224":2}}],["rmtree",{"2":{"224":1}}],["rpm",{"2":{"297":5,"298":1}}],["rp",{"2":{"220":4}}],["rpc",{"0":{"89":1,"90":1},"1":{"90":1,"91":2,"92":2},"2":{"88":1}}],["rule=is",{"2":{"258":1,"259":1}}],["rule=empty",{"2":{"175":1,"176":1}}],["rulehandlerfunc",{"0":{"178":1,"180":1},"2":{"180":1}}],["rule",{"0":{"170":2,"175":3,"176":2,"177":1,"179":1,"181":2,"182":2,"184":1,"185":1},"1":{"178":1,"179":1,"180":2,"181":2,"182":2,"183":2,"184":1,"185":1},"2":{"170":6,"172":1,"175":3,"176":5,"177":1,"181":3,"182":3,"183":1,"184":3,"185":2,"258":1,"259":1}}],["running",{"2":{"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":1,"69":1,"103":2,"262":2}}],["runtimeerror",{"2":{"33":2,"67":1,"68":1,"70":1,"109":1,"111":1,"262":1}}],["run",{"0":{"20":1,"45":1,"110":1,"155":1,"172":1,"262":1,"263":1},"2":{"13":1,"20":3,"45":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"69":1,"110":1,"111":1,"136":1,"155":2,"172":1,"262":3,"263":1,"290":2}}],["raw",{"0":{"165":1},"2":{"165":4,"166":1,"176":1,"259":1}}],["raise",{"2":{"33":2,"66":3,"67":2,"68":1,"70":1,"76":2,"106":1,"109":1,"111":1,"148":1}}],["rights",{"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["root",{"2":{"13":1,"221":2}}],["request",{"2":{"273":1}}],["required",{"2":{"66":1}}],["requirements",{"2":{"6":1,"12":1,"15":1}}],["readme",{"2":{"224":2}}],["read",{"2":{"222":1}}],["reload",{"2":{"295":1,"296":2,"297":1,"298":1}}],["reloading",{"2":{"287":1}}],["rel",{"2":{"224":4,"264":5}}],["relpath",{"2":{"219":1}}],["relative",{"0":{"219":1},"2":{"219":1,"224":1,"225":1,"264":1}}],["replace",{"2":{"222":3,"223":4,"224":8}}],["reply",{"0":{"166":1},"2":{"166":3,"259":1}}],["report设定为false",{"2":{"293":1}}],["report",{"2":{"1":1,"293":1}}],["red>",{"2":{"162":1}}],["remove",{"2":{"162":1}}],["ref",{"0":{"117":1}}],["recursive=recursive",{"2":{"153":1}}],["recursive",{"0":{"153":1},"2":{"153":3}}],["recv",{"2":{"66":2,"68":2,"78":5,"79":5,"83":3,"84":3,"95":1,"105":5,"107":5,"118":3,"121":3}}],["receive",{"0":{"59":1,"60":1,"61":1,"68":1,"69":1,"70":1,"97":1,"100":1,"101":1,"109":3,"110":1,"111":1,"165":1},"2":{"61":2,"66":3,"68":2,"69":2,"70":4,"78":1,"79":1,"81":1,"82":2,"83":2,"84":1,"97":1,"100":1,"101":1,"103":2,"105":1,"107":1,"109":11,"110":2,"111":4,"117":1,"118":2,"119":2,"120":2,"121":1,"165":4,"166":3,"268":11}}],["resources",{"2":{"275":1,"291":1,"292":1,"296":1}}],["resolve",{"2":{"264":2}}],["reserved",{"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["restarting",{"2":{"22":1}}],["restart",{"0":{"22":1,"23":1,"31":1,"32":1,"50":1,"51":1,"56":1,"57":1},"2":{"19":1,"22":3,"23":1,"31":2,"32":2,"44":2,"50":2,"51":2,"56":3,"57":3,"287":2}}],["return",{"0":{"197":1},"2":{"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":3,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"68":1,"69":1,"70":6,"78":2,"79":2,"92":1,"105":2,"107":2,"109":2,"113":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"139":1,"141":1,"146":3,"153":3,"161":2,"171":2,"172":1,"175":1,"176":2,"181":2,"182":2,"183":2,"184":1,"185":1,"219":1,"221":1,"222":3,"223":3,"227":1,"229":2,"230":1,"231":1,"249":1,"261":3,"264":2,"265":2}}],["returns",{"2":{"23":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"68":1,"69":1,"70":1,"78":1,"79":1,"97":1,"105":1,"106":1,"107":1,"108":1,"109":1,"123":1,"139":1,"141":1,"153":1,"162":1,"166":1,"171":1,"172":1,"222":5,"223":1,"227":1,"231":1,"261":1,"262":1,"263":1,"264":1,"265":1}}],["r",{"2":{"6":1,"12":1,"15":1,"124":1,"125":1,"126":1,"222":1}}],["msg",{"2":{"295":1}}],["mcfunction",{"2":{"279":2}}],["mkdir",{"2":{"224":1}}],["mkdoc",{"0":{"187":1},"1":{"188":1,"189":1,"190":1,"191":1,"192":1,"193":1,"194":1,"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1,"205":1,"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1},"2":{"187":1}}],["md",{"2":{"224":15}}],["member",{"2":{"295":1}}],["memory",{"0":{"116":1},"2":{"103":3,"117":1,"118":3,"119":3,"120":3,"121":2,"137":1,"271":3}}],["meta",{"2":{"229":4,"286":1}}],["metadata",{"0":{"254":1},"2":{"229":13}}],["methods=",{"2":{"222":1}}],["methods",{"0":{"210":1},"2":{"222":1,"223":1}}],["method",{"0":{"190":2,"191":1,"192":1},"2":{"222":5,"223":13}}],["message的语言",{"2":{"276":1}}],["message的格式为",{"2":{"276":1}}],["message字段为简短的描述",{"2":{"276":1}}],["message请遵循以下规范",{"2":{"276":1}}],["message=",{"2":{"166":1,"295":1}}],["message=message",{"2":{"166":1}}],["messageevent",{"0":{"164":1,"165":1,"172":1,"183":1,"184":1,"185":1,"259":1},"1":{"165":1,"166":1},"2":{"165":1,"166":1,"172":1,"176":1,"178":1,"181":1,"182":1,"183":1,"184":1,"185":1,"259":1}}],["message",{"0":{"163":1,"165":3,"166":1,"167":1,"168":1,"173":1,"175":1,"177":1,"186":1},"1":{"164":1,"165":1,"166":1,"169":1,"170":1,"171":1,"172":1,"174":1,"175":1,"176":1,"178":1,"179":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1},"2":{"165":12,"166":6,"175":1,"176":2,"259":1,"276":1,"303":1,"304":1}}],["moved",{"0":{"151":1},"2":{"151":1}}],["moduletype",{"0":{"252":1}}],["module=module",{"2":{"229":1}}],["moduleinfo",{"0":{"213":1,"222":1,"223":1},"1":{"214":1,"215":1,"216":1,"217":1,"218":1},"2":{"222":2,"223":1}}],["module",{"0":{"155":1,"214":1,"221":1,"222":1,"223":1,"224":1,"225":1,"229":1,"237":2,"252":1,"253":1,"264":1},"2":{"155":4,"158":1,"221":2,"222":11,"223":6,"224":26,"225":1,"229":27,"230":9,"231":1,"249":1,"255":1,"264":1}}],["modified",{"0":{"148":1},"2":{"148":2,"149":1,"150":1,"151":1,"152":1,"153":4}}],["model",{"0":{"233":1,"250":1},"1":{"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"248":1,"249":1,"250":1,"251":1,"252":1,"253":1,"254":1},"2":{"233":1}}],["mode为true",{"2":{"143":1}}],["mode",{"2":{"2":2,"6":1,"274":1,"295":2,"296":1}}],["must",{"2":{"67":1,"76":1,"148":1}}],["match",{"2":{"231":1}}],["matcher",{"0":{"168":1,"169":1,"174":3,"175":1,"176":1},"1":{"169":1,"170":2,"171":2,"172":2},"2":{"168":1,"174":9,"175":6,"176":1}}],["matter=none",{"2":{"223":1}}],["matter",{"0":{"223":1},"2":{"223":5,"224":3}}],["markdown",{"0":{"223":1},"2":{"223":3,"224":1}}],["makedirs",{"2":{"220":1}}],["manually",{"2":{"66":1}}],["manager",{"0":{"131":1,"232":1},"1":{"132":1,"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1},"2":{"19":1,"20":1,"22":1,"23":1,"26":1,"131":1,"232":1}}],["maplemono提供的字体",{"2":{"10":1}}],["mainprocess",{"2":{"267":1}}],["main",{"0":{"100":1},"2":{"6":1,"12":1,"33":1,"66":4,"70":4,"76":1,"78":1,"79":1,"103":1,"104":1,"105":1,"106":1,"107":1,"109":5,"110":1,"111":1,"268":6,"275":1,"290":1}}],["misans",{"2":{"10":1}}],["minecraftonebot",{"2":{"9":1}}],["minecraft",{"0":{"9":1}}],["m",{"2":{"6":1,"12":1,"15":1,"174":2,"231":1,"304":1}}],["答疑",{"0":{"5":1},"1":{"6":1,"7":1,"8":1,"9":1,"10":1}}],["要使用其他通信方式请访问onebot",{"2":{"3":1}}],["如",{"2":{"276":2}}],["如需往轻雪仓库提交代码",{"2":{"273":1}}],["如需自定义请手动添加",{"2":{"2":1}}],["如何开发",{"0":{"273":1},"1":{"274":1}}],["如果是文档相关的开发",{"2":{"273":1}}],["如果你接触过minecraft的资源包",{"2":{"291":1}}],["如果你想同时输出多行内容可以尝试换行符",{"2":{"279":1}}],["如果你没有安装git直接下载源代码运行",{"2":{"15":1}}],["如果你给轻雪配置了accesstoken",{"2":{"3":1}}],["如果装置上有多个环境",{"2":{"15":1}}],["version=",{"2":{"286":1}}],["version",{"0":{"159":1},"2":{"292":1}}],["venv来创建虚拟环境",{"2":{"12":1}}],["venv",{"2":{"12":3}}],["validate",{"2":{"67":1}}],["value=ast",{"2":{"222":1}}],["value",{"0":{"104":1,"205":1},"2":{"104":6,"119":3,"123":3,"222":6,"223":3,"271":2,"295":2,"299":1}}],["valueerror",{"2":{"66":2,"76":1}}],["value2",{"2":{"2":1}}],["value1",{"2":{"2":1}}],["var=value",{"2":{"280":1}}],["var2=value2",{"2":{"280":1}}],["var1=value1>",{"2":{"280":1}}],["var",{"0":{"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"71":1,"72":1,"73":1,"74":1,"75":1,"80":1,"81":1,"100":1,"101":1,"116":1,"117":1,"144":1,"145":1,"159":1,"178":1,"225":1},"2":{"27":2,"28":2,"29":2,"30":2,"31":2,"32":2,"45":2,"46":2,"47":2,"48":2,"49":2,"50":2,"51":2,"70":1,"223":2}}],["v",{"2":{"13":2,"123":2,"223":2}}],["v11协议api",{"2":{"295":2}}],["v11",{"2":{"3":1,"282":1}}],["地址取决于配置文件",{"2":{"3":1}}],["地址",{"2":{"3":1}}],["反向websocket",{"2":{"3":1}}],["协议端",{"2":{"6":1}}],["协议",{"2":{"3":1}}],["说明",{"2":{"3":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"76":1,"77":1,"78":1,"79":1,"80":1,"81":1,"92":1,"95":1,"96":1,"97":1,"98":1,"100":1,"101":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"116":1,"117":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"136":1,"137":1,"139":1,"141":1,"144":1,"145":1,"146":1,"153":1,"155":1,"159":1,"162":1,"165":1,"166":1,"170":1,"171":1,"172":1,"178":1,"219":1,"220":1,"222":1,"223":1,"224":1,"225":1,"227":1,"229":1,"230":1,"231":1,"257":1,"261":1,"262":1,"263":1,"264":1,"265":1,"295":1,"297":2,"299":1}}],["与nonebot对接的onebot实现端配置",{"0":{"3":1}}],["示例",{"0":{"3":1,"268":1,"271":1,"281":1}}],["监听目录们",{"2":{"153":2}}],["监听地址",{"2":{"1":1}}],["监视文件变化并自动重载",{"2":{"2":1}}],["开始",{"0":{"285":1},"1":{"286":1,"287":1,"288":1,"289":1,"290":1}}],["开发文档是详细的",{"2":{"276":1}}],["开发过程中可以使用mypy",{"2":{"274":1}}],["开发指南",{"0":{"272":1},"1":{"273":1,"274":1,"275":1,"276":1,"277":1}}],["开发者模式",{"2":{"2":1}}],["开发者选项",{"2":{"2":1}}],["开启后将会启动监视者",{"2":{"2":1}}],["开启后将不会加载任何第三方nonebot插件",{"2":{"2":1}}],["开启会自动重载bot或者资源",{"2":{"2":1}}],["2s戳两次",{"2":{"281":1}}],["22",{"2":{"258":1}}],["27",{"2":{"131":1,"160":1}}],["24",{"2":{"36":1,"233":1}}],["23",{"2":{"36":1,"187":1,"228":1,"232":1}}],["20代替空格",{"2":{"295":1}}],["20和end",{"2":{"281":1}}],["2024",{"2":{"36":2,"131":2,"154":2,"160":2,"163":2,"167":2,"168":2,"173":2,"177":2,"186":2,"187":2,"228":2,"232":2,"233":2,"256":2,"258":2}}],["2020",{"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["20216中的20216替换为你的端口号",{"2":{"13":1}}],["20216",{"2":{"1":1,"3":2,"13":2}}],["20",{"2":{"15":1}}],["2019+",{"2":{"15":1}}],["2",{"2":{"2":1,"281":1,"292":1}}],["建议",{"0":{"274":1}}],["建议1gb以上",{"2":{"15":1}}],["建议开启",{"2":{"2":1}}],["建议迁移到liteyuki下",{"2":{"1":1}}],["默认普通图片",{"2":{"295":1}}],["默认开启",{"2":{"293":1}}],["默认插件加载器",{"2":{"257":2}}],["默认执行扁平化选项",{"2":{"127":2,"128":2}}],["默认值",{"2":{"34":2,"35":2,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"71":1,"72":1,"73":1,"74":1,"75":1,"80":1,"81":1,"100":1,"101":1,"105":2,"116":1,"117":1,"144":1,"145":1,"159":1,"178":1,"225":1}}],["默认false",{"2":{"2":1}}],["默认语言",{"2":{"2":1}}],["默认为本机",{"2":{"1":1}}],["city",{"2":{"301":1,"302":1}}],["css相对路径引用b中的css",{"2":{"292":1}}],["css",{"2":{"291":1,"292":1}}],["cwd",{"2":{"264":1}}],["cfg",{"2":{"155":4}}],["current|bot",{"2":{"303":1}}],["current|group",{"2":{"303":1}}],["current",{"2":{"146":3,"303":2,"304":1}}],["custom",{"2":{"2":4}}],["created",{"0":{"149":1},"2":{"149":1}}],["create",{"2":{"110":1}}],["child",{"2":{"222":2}}],["check",{"0":{"66":1},"2":{"66":9,"67":1}}],["change",{"2":{"297":1,"298":1}}],["changed",{"2":{"287":1}}],["channel时的通道标识",{"2":{"268":1}}],["channel即可",{"2":{"268":1}}],["channel及passive",{"2":{"268":1}}],["channel函数获取通道对象",{"2":{"268":2}}],["channel=none",{"2":{"166":1}}],["channeldeliver",{"0":{"132":1},"1":{"133":1},"2":{"137":1}}],["channels",{"0":{"77":2,"79":1,"84":1},"2":{"77":5,"79":2,"83":1,"84":3}}],["channel",{"0":{"58":1,"65":1,"71":1,"72":1,"73":1,"74":2,"75":2,"76":3,"77":1,"78":2,"79":1,"80":2,"81":2,"82":1,"83":1,"93":1,"108":1,"109":1,"110":1,"133":8,"165":2},"1":{"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":2,"67":2,"68":2,"69":2,"70":2,"71":1,"72":1,"73":1,"74":1,"75":1,"76":1,"77":1,"78":1,"79":1,"80":1,"81":1,"82":1,"83":1,"84":1,"94":1,"95":1,"96":1,"97":1,"98":1},"2":{"23":2,"66":7,"67":1,"68":1,"71":3,"72":3,"73":3,"74":2,"75":1,"76":21,"77":6,"78":10,"79":8,"80":3,"81":6,"82":11,"83":7,"84":2,"88":2,"103":4,"105":1,"107":1,"108":5,"109":9,"110":4,"111":2,"133":12,"137":12,"165":5,"166":2,"268":12}}],["chan",{"2":{"23":4,"78":5,"79":5,"83":3,"84":3,"103":2,"104":1,"105":6,"106":1,"107":6,"108":1,"111":1,"117":1,"118":5,"119":2,"120":2,"121":4,"137":2}}],["c",{"2":{"36":1,"123":3,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"231":1,"232":1,"233":1,"256":1,"258":1,"262":4,"264":4,"304":1}}],["cmd",{"2":{"22":5,"279":2,"280":1}}],["case",{"2":{"231":4}}],["category",{"2":{"223":2,"224":2}}],["cannot",{"2":{"67":1,"68":1,"109":1,"111":1}}],["can",{"2":{"33":1,"70":1}}],["calling",{"0":{"91":2},"2":{"91":4,"92":1}}],["callback",{"0":{"144":1,"153":2},"2":{"70":1,"153":4}}],["callable",{"0":{"70":3,"109":1,"153":1,"171":1,"261":2,"265":2},"2":{"37":1,"38":1,"40":1,"41":1,"45":1,"59":1,"60":1,"62":1,"63":1,"70":13,"109":2,"135":1,"144":1,"145":1,"153":1,"171":1,"178":1,"261":2,"265":6}}],["call",{"0":{"92":1,"183":1,"261":1},"2":{"19":1,"22":2,"92":1,"146":4,"183":1,"261":8}}],["cache",{"2":{"13":2}}],["cls",{"0":{"113":1},"2":{"113":6,"222":1,"223":11}}],["close",{"0":{"98":1},"2":{"98":1,"262":1}}],["closed",{"2":{"66":1,"67":2,"68":2,"95":1}}],["clone",{"2":{"12":1,"13":1}}],["classdef",{"2":{"222":3}}],["classes=",{"2":{"222":1}}],["classes",{"0":{"216":1},"2":{"222":1,"223":1}}],["classinfo",{"0":{"207":1,"216":1},"1":{"208":1,"209":1,"210":1,"211":1,"212":1},"2":{"222":1}}],["classmethod",{"0":{"192":1},"2":{"112":1,"113":1,"222":1}}],["class",{"0":{"18":1,"43":1,"65":1,"86":1,"90":1,"94":1,"102":1,"112":1,"132":1,"134":1,"147":1,"157":1,"164":1,"169":1,"179":1,"188":1,"192":1,"194":1,"202":1,"207":1,"213":1,"234":1,"240":1,"248":1},"1":{"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":1,"67":1,"68":1,"69":1,"70":1,"87":1,"91":1,"92":1,"95":1,"96":1,"97":1,"98":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"113":1,"114":1,"115":1,"133":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"148":1,"149":1,"150":1,"151":1,"152":1,"165":1,"166":1,"170":1,"171":1,"172":1,"180":1,"181":1,"182":1,"183":1,"189":1,"190":1,"191":1,"192":1,"193":1,"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"203":1,"204":1,"205":1,"206":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"235":1,"236":1,"237":1,"238":1,"239":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"249":1,"250":1,"251":1,"252":1,"253":1,"254":1},"2":{"33":1,"76":1,"77":1,"78":1,"79":1,"222":24,"223":2}}],["cpu",{"2":{"15":1,"293":1}}],["centos",{"2":{"15":1}}],["cd",{"2":{"12":1,"13":1}}],["cqhttp",{"2":{"8":1}}],["color",{"2":{"231":7}}],["color=",{"2":{"162":5}}],["colors=true",{"2":{"20":2,"229":3}}],["code插件liteyuki",{"2":{"283":1}}],["code=ast",{"2":{"222":2}}],["code",{"0":{"199":1},"2":{"153":3,"223":6,"224":2}}],["codemodifiedhandler",{"0":{"147":1},"1":{"148":1,"149":1,"150":1,"151":1,"152":1},"2":{"153":1}}],["coro",{"0":{"262":1,"263":1},"2":{"262":6,"263":3}}],["coroutine",{"0":{"261":1,"262":2,"263":2,"265":1},"2":{"45":1,"60":1,"63":1,"70":2,"109":1,"178":1,"261":1,"262":2,"263":3,"265":3}}],["core",{"0":{"130":1,"131":1},"1":{"132":1,"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1}}],["copy",{"2":{"123":1}}],["copyright",{"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["content",{"2":{"222":2,"223":17,"224":2}}],["continue",{"2":{"128":1,"222":1,"224":1,"230":3}}],["conn",{"2":{"66":4,"67":1,"68":1,"95":2}}],["configs",{"0":{"128":1},"2":{"128":1,"129":1}}],["config=self",{"2":{"25":1}}],["config",{"0":{"34":1,"35":1,"122":1,"123":2,"129":1,"162":1,"250":1},"1":{"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1},"2":{"2":2,"19":2,"25":1,"34":2,"35":6,"123":10,"124":7,"125":7,"126":7,"127":7,"128":4,"129":9,"155":1,"162":3,"257":2,"295":4,"296":1}}],["count",{"0":{"117":1},"2":{"19":1,"22":2}}],["combined",{"2":{"181":2,"182":2}}],["commit",{"2":{"276":2}}],["comm",{"0":{"58":1,"85":1,"88":1,"89":1,"93":1,"99":1},"1":{"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"76":1,"77":1,"78":1,"79":1,"80":1,"81":1,"82":1,"83":1,"84":1,"86":1,"87":1,"90":1,"91":1,"92":1,"94":1,"95":1,"96":1,"97":1,"98":1,"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1},"2":{"268":2,"271":2}}],["command>",{"2":{"280":2}}],["command",{"0":{"295":1},"1":{"296":1},"2":{"1":2}}],["complete",{"2":{"262":2}}],["completion",{"2":{"2":1}}],["compat",{"0":{"35":2},"2":{"35":9}}],["com",{"2":{"12":1,"13":1,"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["cn",{"0":{"223":1,"224":1},"2":{"2":1,"223":2,"224":1}}],["duration>",{"2":{"303":1}}],["duration",{"2":{"303":2,"304":1}}],["driver",{"2":{"268":4}}],["dog",{"2":{"286":1,"287":1}}],["does",{"2":{"230":1}}],["dot",{"2":{"222":1}}],["docstring或liteyuki",{"2":{"276":1}}],["docstring=method",{"2":{"222":1}}],["docstring=module",{"2":{"222":1}}],["docstring=class",{"2":{"222":1}}],["docstring=function",{"2":{"222":1}}],["docstring",{"0":{"198":1,"206":1,"209":1,"218":1},"2":{"222":16,"223":12,"276":1}}],["docs",{"0":{"224":1},"2":{"22":1,"23":2,"34":3,"35":5,"45":1,"70":1,"76":1,"77":2,"78":1,"79":2,"224":5,"275":1,"295":1,"296":1}}],["docker相关内容目录",{"2":{"275":1}}],["docker",{"2":{"13":3,"275":1}}],["d",{"2":{"117":2,"118":4,"119":4,"120":4,"121":2,"264":4,"304":1}}],["data=",{"2":{"166":1}}],["data",{"0":{"67":1,"82":1,"83":1,"84":1,"87":1,"96":1,"108":1,"110":1,"118":1,"119":1,"120":1,"121":1,"165":1,"220":1},"2":{"67":7,"68":2,"69":2,"70":5,"81":2,"82":7,"83":7,"84":4,"87":3,"96":3,"97":2,"108":5,"109":3,"110":4,"111":6,"118":4,"119":3,"120":2,"121":2,"165":7,"220":6,"224":5,"268":7}}],["daemon=true",{"2":{"22":1,"136":1,"263":1}}],["darwin",{"2":{"22":1}}],["disable",{"2":{"295":1,"296":1,"297":2,"298":2}}],["display",{"0":{"231":2},"2":{"229":7,"231":5}}],["diagnose=false",{"2":{"162":1}}],["dir",{"0":{"224":1,"230":1},"2":{"224":6,"230":17,"257":2}}],["dirname",{"2":{"220":2}}],["directory",{"2":{"128":6,"153":2,"230":1}}],["directories=",{"2":{"287":1}}],["directories",{"0":{"128":1,"153":1},"2":{"128":2,"153":4}}],["dirs",{"0":{"128":1},"2":{"1":1,"128":1,"129":1,"221":1,"257":1}}],["dict",{"0":{"77":1,"79":1,"82":1,"83":1,"84":1,"87":1,"92":1,"107":1,"118":1,"119":1,"120":1,"121":1,"123":2,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"162":1,"165":2,"166":1,"220":1,"227":1,"247":1},"2":{"19":1,"73":1,"75":1,"77":3,"79":4,"82":1,"83":1,"84":1,"87":1,"92":1,"100":1,"101":1,"103":2,"107":4,"118":1,"119":1,"120":1,"121":1,"123":3,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"135":3,"162":1,"165":3,"166":1,"220":1,"224":1,"227":3,"229":6}}],["description=",{"2":{"286":1}}],["description",{"0":{"242":1},"2":{"292":1}}],["details>",{"2":{"223":4}}],["debounce",{"0":{"146":1},"2":{"146":1,"147":1,"148":1}}],["debug",{"2":{"2":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":2,"124":1,"125":1,"126":1,"136":1,"161":2,"162":2,"287":1}}],["deepcopy",{"2":{"123":1}}],["del",{"2":{"106":2}}],["deleted",{"0":{"150":1},"2":{"150":1}}],["delete",{"0":{"106":1,"120":1},"2":{"106":2,"119":1,"120":3}}],["delivery",{"2":{"137":1}}],["deliver",{"0":{"74":1,"75":1,"80":1,"81":1,"133":2},"2":{"76":1,"78":1,"79":1,"80":1,"81":2,"82":2,"83":2,"84":1,"133":6,"137":6}}],["delay",{"0":{"22":1},"2":{"22":4}}],["decorator",{"2":{"70":2,"109":2,"146":2,"153":2,"171":2,"222":13}}],["deprecated",{"2":{"35":1}}],["depth=1",{"2":{"12":1,"13":1}}],["deftype",{"0":{"188":1,"200":1},"1":{"189":1,"190":1,"191":1,"192":1,"193":1},"2":{"222":4,"223":1}}],["def",{"2":{"21":1,"45":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"69":1,"70":2,"82":1,"83":1,"84":1,"109":2,"110":1,"111":1,"113":1,"118":1,"119":1,"120":1,"121":1,"146":2,"148":1,"153":2,"171":1,"172":1,"176":1,"181":1,"182":1,"183":1,"184":1,"185":1,"222":4,"223":2,"259":1,"265":1,"268":3,"287":1}}],["defaults",{"2":{"22":2,"23":2,"34":2,"35":2,"70":2}}],["default",{"0":{"34":1,"35":1,"105":1,"129":1,"195":1,"196":1,"197":1,"198":1,"200":1,"201":1,"203":1,"204":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"241":1,"251":1,"252":1,"253":1,"257":1},"2":{"2":1,"34":4,"35":4,"74":1,"75":1,"105":6,"118":3,"129":1,"155":1,"161":1,"257":1}}],["developer",{"2":{"286":1}}],["dev",{"0":{"142":1,"143":1,"154":1},"1":{"144":1,"145":1,"146":1,"147":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"155":1},"2":{"2":1,"287":1,"290":1}}],["访问令牌",{"2":{"2":1}}],["a包中的index",{"2":{"292":1}}],["am",{"2":{"268":6}}],["arbitrary",{"0":{"250":1}}],["arg",{"2":{"222":13,"223":16}}],["argv",{"2":{"22":1}}],["args=coro",{"2":{"263":1}}],["args=",{"2":{"22":1,"136":1,"222":2}}],["args",{"0":{"24":1,"45":1,"54":1,"56":1,"92":1,"137":1,"196":1},"2":{"19":1,"22":3,"23":1,"24":4,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"34":1,"35":1,"45":4,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"54":2,"56":2,"66":1,"67":1,"70":1,"76":1,"77":1,"78":1,"92":2,"95":1,"96":1,"104":1,"105":1,"106":1,"108":1,"109":1,"110":1,"123":1,"137":5,"139":1,"141":1,"146":2,"153":1,"155":1,"165":1,"166":1,"170":1,"172":1,"219":1,"220":1,"222":9,"223":9,"224":1,"231":1,"261":1,"262":1,"263":1,"264":1,"265":3,"295":4}}],["abs",{"2":{"224":4}}],["application",{"0":{"235":2},"2":{"231":1}}],["append",{"2":{"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"70":2,"109":2,"171":1,"174":1,"221":1,"222":5}}],["api格式为onebot",{"2":{"295":1}}],["api文档",{"2":{"282":1}}],["api也有差别",{"2":{"282":1}}],["api",{"0":{"282":1},"2":{"224":10,"280":3,"281":2,"295":3}}],["add",{"0":{"137":1,"174":1},"2":{"137":1,"162":1,"174":1,"175":1,"230":1}}],["adapter获取详细信息",{"2":{"3":1}}],["attributes=",{"2":{"222":2}}],["attributes",{"0":{"211":1,"217":1},"2":{"222":2,"223":2}}],["attributeinfo",{"0":{"202":1,"211":1,"217":1},"1":{"203":1,"204":1,"205":1,"206":1},"2":{"222":2}}],["attr",{"0":{"114":1,"115":1,"189":1,"190":1,"191":1,"192":1,"193":1,"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"203":1,"204":1,"205":1,"206":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"235":1,"236":1,"237":1,"238":1,"239":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"250":1,"251":1,"252":1,"253":1,"254":1},"2":{"222":2,"223":14}}],["assign",{"2":{"222":2}}],["ast",{"2":{"222":29}}],["as",{"2":{"106":1,"220":1,"222":1,"229":1,"262":1}}],["asynchronous",{"2":{"265":2}}],["async=isinstance",{"2":{"222":2}}],["asyncfunctiondef",{"2":{"222":3}}],["async",{"0":{"21":1,"38":1,"41":1,"45":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"60":1,"63":1,"69":2,"110":1,"111":1,"172":1,"183":1,"184":1,"185":1,"201":1,"259":1,"265":1},"2":{"39":1,"42":1,"45":3,"61":1,"64":1,"69":1,"70":1,"100":1,"101":1,"109":1,"110":1,"111":1,"176":1,"181":1,"182":1,"184":1,"185":1,"223":4,"259":1,"265":2,"268":2}}],["asyncio",{"2":{"19":2,"20":1,"21":1,"45":1,"69":1,"110":1,"262":5,"268":2}}],["a",{"2":{"67":1,"68":1,"123":3,"224":4,"230":1,"264":2,"286":1}}],["annassign",{"2":{"222":1}}],["annotation",{"2":{"222":6}}],["an",{"2":{"67":1,"76":1}}],["and",{"0":{"182":1},"2":{"67":1,"153":1,"182":2,"222":7,"223":1,"230":3,"287":2}}],["any=none",{"2":{"34":1,"35":1}}],["any",{"0":{"34":2,"35":2,"70":2,"82":1,"83":1,"84":1,"87":1,"92":1,"104":1,"105":2,"107":1,"108":1,"110":1,"118":1,"119":1,"120":1,"121":1,"123":2,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":4,"152":1,"165":2,"166":1,"205":1,"247":1,"261":1,"265":1},"2":{"19":1,"34":5,"35":5,"37":1,"38":1,"40":1,"41":1,"59":1,"60":3,"63":2,"70":9,"73":1,"74":1,"75":1,"78":1,"79":1,"82":1,"83":1,"84":1,"87":1,"92":1,"103":3,"104":1,"105":5,"107":4,"108":1,"109":1,"110":1,"118":1,"119":1,"120":1,"121":1,"123":2,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":4,"152":1,"165":3,"166":1,"176":1,"222":7,"224":1,"261":1,"265":1}}],["author",{"0":{"245":1},"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["auto",{"2":{"1":2,"2":1}}],["after",{"0":{"28":1,"29":1,"32":1,"47":1,"49":1,"51":1,"53":1,"55":1,"57":1},"2":{"28":2,"29":2,"32":2,"44":3,"47":2,"49":2,"51":2,"53":3,"55":3,"57":3,"268":1}}],["awaitable",{"2":{"38":1,"41":1}}],["await",{"2":{"21":1,"45":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"69":1,"70":2,"109":1,"111":2,"172":2,"181":2,"182":2,"183":1,"268":1,"280":1,"281":1,"283":1}}],["active和",{"2":{"268":1}}],["active和chan",{"2":{"137":2}}],["active=channel",{"2":{"137":1}}],["active=chan",{"2":{"137":1}}],["active",{"0":{"71":1,"74":1,"80":1,"133":2},"2":{"23":6,"71":1,"80":1,"103":2,"108":1,"111":1,"133":6,"137":4,"268":11}}],["activate激活",{"2":{"12":1}}],["activate来激活虚拟环境",{"2":{"12":1}}],["accesstoken",{"2":{"3":1}}],["access",{"2":{"2":1}}],["already",{"2":{"66":2,"76":1}}],["alive",{"0":{"21":1,"141":1},"2":{"21":2,"139":1,"141":2}}],["all",{"0":{"107":1,"121":1,"136":1,"138":1,"140":1},"2":{"20":1,"22":1,"26":1,"36":1,"107":2,"120":1,"121":3,"131":1,"136":1,"138":1,"140":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["allowed",{"0":{"250":1}}],["allow",{"2":{"2":1}}],["alconna提供的命令解析功能",{"2":{"10":1}}],["alconna是否自动补全指令",{"2":{"2":1}}],["alconna",{"2":{"2":1}}],["高级nonebot配置",{"2":{"2":1}}],["以上内容仅用于项目的优化",{"2":{"293":1}}],["以避免出现无法预料的问题",{"2":{"291":1}}],["以避免依赖冲突",{"2":{"12":1}}],["以下我们会编写一个简单的插件",{"2":{"287":1}}],["以下为默认值",{"2":{"2":1}}],["以保证litedoc能够正确解析并生成文档",{"2":{"276":1}}],["以前的最外层配置项仍可为nonebot服务",{"2":{"1":1}}],["period`",{"2":{"304":1}}],["period>",{"2":{"303":1}}],["period",{"2":{"303":2}}],["poke",{"2":{"281":4}}],["port",{"2":{"1":1}}],["publish=publish",{"2":{"137":1}}],["publish",{"0":{"73":1,"108":1,"133":1},"2":{"73":1,"103":2,"108":2,"111":2,"133":3}}],["page为页数",{"2":{"297":2}}],["page",{"2":{"297":2}}],["pacman",{"0":{"297":1},"1":{"298":1}}],["pack",{"2":{"292":2,"297":3}}],["param",{"2":{"294":1}}],["parts",{"2":{"264":2}}],["parent",{"2":{"222":4}}],["parse",{"2":{"222":1}}],["pass",{"2":{"96":1,"97":1,"98":1}}],["passive=channel",{"2":{"137":1}}],["passive=chan",{"2":{"137":1}}],["passive",{"0":{"72":1,"75":1,"81":1,"133":2},"2":{"72":1,"76":1,"78":1,"79":1,"81":2,"82":2,"83":2,"84":1,"103":2,"104":1,"105":1,"106":1,"107":1,"117":1,"118":2,"119":2,"120":2,"121":1,"133":6,"137":6,"268":13}}],["pathlib",{"2":{"229":1}}],["paths=none",{"2":{"224":1}}],["paths",{"0":{"224":1},"2":{"224":5}}],["path=dot",{"2":{"222":1}}],["path",{"0":{"155":2,"214":1,"219":3,"222":1,"225":1,"229":2,"264":3},"2":{"6":3,"13":1,"15":1,"127":1,"128":2,"155":5,"219":10,"220":3,"221":1,"222":7,"224":22,"225":2,"229":19,"230":26,"264":12,"287":5}}],["profile",{"2":{"299":4}}],["property",{"0":{"193":2},"2":{"222":2}}],["processes",{"2":{"23":1,"135":1,"139":2,"141":1}}],["processmanager",{"0":{"134":1},"1":{"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1},"2":{"19":2}}],["process",{"0":{"23":1,"30":2,"31":3,"40":1,"41":1,"42":1,"45":1,"48":3,"50":3,"54":1,"56":1,"141":1},"2":{"19":1,"20":1,"22":1,"23":4,"26":1,"30":7,"31":8,"33":2,"42":2,"44":4,"45":3,"48":8,"50":8,"54":2,"56":2,"66":4,"70":3,"76":1,"78":1,"79":1,"104":1,"105":1,"106":1,"107":1,"109":3,"111":2,"135":1,"136":2,"138":2,"139":7,"141":2,"268":8,"287":2}}],["priority",{"0":{"170":1,"175":1,"176":1},"2":{"170":5,"174":2,"175":2,"176":2}}],["private",{"0":{"222":1},"2":{"165":2,"222":6}}],["print",{"2":{"19":1,"172":1,"224":1,"229":1}}],["pwd",{"2":{"13":3}}],["p",{"2":{"13":1,"304":1}}],["platform",{"2":{"22":3}}],["playwright安装失败",{"2":{"6":1}}],["plugintype",{"0":{"231":1,"234":1,"244":2},"1":{"235":1,"236":1,"237":1,"238":1,"239":1},"2":{"231":5,"286":1}}],["pluginmetadata",{"0":{"240":1,"254":1},"1":{"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1},"2":{"229":4,"286":2}}],["plugin`",{"2":{"229":1}}],["plugin`的函数签名",{"2":{"155":1}}],["plugin的函数签名",{"2":{"155":1}}],["plugin进行通信",{"2":{"8":1}}],["plugin",{"0":{"154":1,"226":1,"227":1,"228":1,"229":2,"230":2,"231":1,"232":1,"233":1,"248":1,"256":1},"1":{"155":1,"227":1,"229":1,"230":1,"231":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"248":1,"249":2,"250":2,"251":2,"252":2,"253":2,"254":2,"257":1},"2":{"1":1,"10":1,"19":2,"154":1,"227":3,"229":15,"230":6,"231":5,"255":1,"257":6,"286":4,"289":1,"290":2,"297":5}}],["plugins下创建一个文件",{"2":{"290":1}}],["plugins中添加你的插件路径",{"2":{"289":1}}],["plugins目录下为插件目录",{"2":{"275":1}}],["plugins和nonebot",{"2":{"275":1}}],["plugins",{"0":{"155":1,"227":1,"230":1,"255":1,"256":1,"257":1,"258":1},"1":{"257":1,"259":1},"2":{"1":1,"19":1,"155":6,"227":2,"229":3,"230":9,"255":1,"257":4,"275":2,"287":1,"290":2}}],["py即可启动插件",{"2":{"290":1}}],["pyo",{"2":{"287":1}}],["pycache",{"2":{"287":1}}],["pyc",{"2":{"287":1}}],["pycharm",{"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["py文件",{"2":{"286":1}}],["py文件或一个包含",{"2":{"286":1}}],["py的文件夹即可被识别为插件",{"2":{"286":1}}],["pyfile",{"0":{"225":1},"2":{"224":8,"225":1}}],["pyi",{"2":{"221":1,"222":1}}],["py",{"2":{"12":1,"36":1,"131":1,"154":1,"160":1,"163":1,"167":2,"168":1,"173":1,"177":1,"186":1,"187":1,"221":1,"222":1,"224":1,"228":1,"230":3,"232":1,"233":1,"256":2,"258":1,"271":1,"275":1,"286":1,"287":1,"290":2,"292":1}}],["py来启动bot",{"2":{"6":1}}],["python格式",{"2":{"279":1}}],["pythonfrom",{"2":{"268":1,"271":1,"286":1,"290":1}}],["pythonimport",{"2":{"268":1,"287":1}}],["pythonasync",{"2":{"21":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"69":1,"111":1,"172":1,"183":1}}],["pythondef",{"2":{"19":1,"20":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"44":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"66":1,"67":1,"68":1,"70":1,"76":1,"77":1,"78":1,"79":1,"87":1,"91":1,"92":1,"95":1,"96":1,"97":1,"98":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"146":1,"149":1,"150":1,"151":1,"152":1,"153":1,"155":1,"161":1,"162":1,"165":1,"166":1,"170":1,"171":1,"174":1,"175":1,"176":1,"180":1,"181":1,"182":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"227":1,"229":1,"230":1,"231":1,"249":1,"257":1,"261":1,"262":1,"263":1,"264":1,"265":1}}],["python为你的python可执行文件路径",{"2":{"15":1}}],["python3",{"2":{"12":1}}],["python是你要用来运行bot的可执行文件",{"2":{"6":1}}],["python",{"2":{"6":2,"12":1,"15":1,"22":1,"23":2,"34":3,"35":5,"45":2,"70":1,"76":1,"77":2,"78":1,"79":2,"82":1,"83":1,"84":1,"110":1,"113":1,"118":1,"119":1,"120":1,"121":1,"148":1,"184":1,"185":1,"222":2,"259":1,"276":1}}],["pipe",{"2":{"66":2}}],["pip",{"2":{"6":1,"12":1,"15":1,"229":1}}],["pip和python不对应怎么办",{"2":{"6":1}}],["utils",{"0":{"260":1},"1":{"261":1,"262":1,"263":1,"264":1,"265":1},"2":{"275":1}}],["utf",{"2":{"124":1,"125":1,"126":1,"220":1,"222":1}}],["usage",{"0":{"243":1}}],["user",{"0":{"165":1,"299":1},"2":{"165":3,"166":2,"185":1,"281":3}}],["used",{"2":{"70":1,"255":1}}],["use",{"2":{"1":1,"35":1,"229":1}}],["unload",{"2":{"297":1,"298":1}}],["uninstall",{"2":{"297":1,"298":1}}],["uninstall卸载问题插件",{"2":{"6":1}}],["until",{"2":{"262":2}}],["unclassified",{"0":{"238":2,"244":1}}],["unparse",{"2":{"222":10}}],["unsupported",{"2":{"127":1}}],["update",{"2":{"1":1,"2":1,"127":3,"128":1,"129":1,"295":1,"296":1,"297":1,"298":1}}],["某些控制台字体不可用",{"2":{"1":1}}],["tests",{"2":{"275":1}}],["test",{"0":{"239":2},"2":{"231":1}}],["text",{"2":{"223":3}}],["terminated",{"2":{"139":1}}],["terminate",{"0":{"139":1,"140":1},"2":{"22":1,"26":1,"139":2,"140":2}}],["the",{"2":{"158":1,"229":1,"255":1}}],["this",{"2":{"158":1,"255":1}}],["thread",{"0":{"263":1},"2":{"22":1,"136":1,"263":2}}],["threading",{"0":{"115":1},"2":{"19":1,"22":1,"136":1,"263":1}}],["target",{"0":{"137":3,"219":1},"2":{"137":6,"219":4,"222":5}}],["target=run",{"2":{"263":1}}],["target=self",{"2":{"136":1}}],["target=os",{"2":{"22":1}}],["targets",{"2":{"135":1,"136":1,"137":1,"138":1,"140":1,"141":1,"222":2}}],["task",{"2":{"110":1,"136":2}}],["tasks",{"2":{"45":2}}],["types",{"0":{"250":1}}],["type=plugintype",{"2":{"286":1}}],["type=attr",{"2":{"222":1}}],["type=ast",{"2":{"222":3}}],["type=def",{"2":{"222":1}}],["type=deftype",{"2":{"222":1}}],["type=self",{"2":{"166":2}}],["typeerror",{"2":{"66":1,"67":1,"76":1}}],["type",{"0":{"66":1,"165":2,"197":1,"200":1,"204":1,"231":1,"244":1},"2":{"66":12,"67":7,"76":1,"165":9,"166":2,"222":11,"223":13,"229":2,"231":5,"276":1}}],["typealias",{"2":{"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"144":1,"145":1,"178":1}}],["typing",{"2":{"23":2,"45":2,"70":2}}],["tuple=",{"2":{"137":1}}],["tuplestr",{"2":{"35":1}}],["tuple",{"0":{"35":1,"82":1,"83":1,"84":1,"92":1,"118":1,"119":1,"120":1,"121":1,"133":2,"137":1,"153":1,"196":1},"2":{"35":2,"73":1,"75":1,"82":1,"83":1,"84":1,"92":1,"103":3,"118":1,"119":1,"120":1,"121":1,"133":2,"135":2,"153":1}}],["title",{"2":{"224":2}}],["time>",{"2":{"280":1}}],["timeout",{"2":{"139":1}}],["time",{"2":{"22":1,"36":1,"131":1,"146":9,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["tip",{"2":{"12":1,"13":1,"283":1,"292":1,"294":1}}],["t",{"0":{"65":1,"67":1,"68":1,"69":1,"70":2},"1":{"66":1,"67":1,"68":1,"69":1,"70":1},"2":{"13":1,"33":1,"59":1,"60":1,"62":1,"63":1,"67":3,"68":3,"69":3,"70":9,"76":1,"77":1,"78":1,"79":1}}],["txt",{"2":{"12":1}}],["txt来安装依赖",{"2":{"6":1,"15":1}}],["tree",{"2":{"222":3}}],["traceback",{"2":{"172":1,"229":1}}],["try",{"2":{"20":1,"21":1,"106":1,"172":1,"229":1,"262":1}}],["trss",{"2":{"8":1,"14":1}}],["true时例如docs",{"2":{"224":2}}],["true下启动轻雪",{"2":{"6":1}}],["true",{"0":{"106":1,"153":1,"222":1,"230":1,"250":1},"2":{"1":3,"2":1,"68":1,"111":1,"162":1,"183":1,"184":1,"224":1,"268":2,"274":1}}],["tokyo",{"2":{"301":1}}],["token",{"2":{"2":1}}],["top",{"0":{"224":1},"2":{"224":4}}],["toml",{"0":{"126":1},"2":{"126":5,"127":2,"129":1}}],["toml和config目录下的所有配置文件",{"2":{"0":1}}],["to",{"0":{"220":1,"264":1},"2":{"6":3,"13":1,"15":2,"22":2,"23":2,"34":2,"35":2,"67":1,"70":2,"220":1,"224":1,"229":7,"230":2,"255":1,"264":2}}],["image",{"2":{"295":2,"296":1}}],["implemented",{"2":{"148":1}}],["import",{"2":{"117":1,"229":1,"268":5,"271":1,"286":2,"287":3,"290":1}}],["iter",{"2":{"222":2}}],["items",{"2":{"77":1,"123":2,"220":1,"223":1,"224":1}}],["i",{"2":{"174":2,"268":6}}],["ignored",{"0":{"224":1},"2":{"224":8}}],["ignore",{"0":{"106":1,"222":1,"230":1},"2":{"106":4,"222":6,"224":1,"230":6}}],["id仅超级用户可用",{"2":{"295":1}}],["id=user",{"2":{"281":2}}],["id=1234567",{"2":{"295":2}}],["id=123456",{"2":{"281":1}}],["id=self",{"2":{"166":3}}],["id",{"0":{"165":3},"2":{"70":5,"165":11,"166":3,"185":1,"222":6,"281":2,"295":2,"297":1,"303":4}}],["ids",{"2":{"66":2,"70":2}}],["if",{"2":{"22":2,"23":1,"33":2,"35":2,"45":1,"66":5,"67":3,"68":1,"70":6,"76":3,"78":1,"79":1,"104":1,"105":1,"106":3,"107":1,"109":5,"111":2,"113":2,"123":1,"124":1,"125":1,"126":1,"127":2,"128":3,"137":1,"139":2,"141":1,"146":1,"153":1,"161":1,"162":5,"165":1,"166":1,"172":1,"174":1,"183":1,"220":1,"221":1,"222":20,"223":10,"224":4,"229":2,"230":9,"261":2,"262":1,"264":1}}],["isclass",{"2":{"261":1}}],["iscoroutinefunction",{"2":{"261":2}}],["isroutine",{"2":{"261":1}}],["isfile",{"2":{"230":1,"287":1}}],["isdir",{"2":{"230":2}}],["isinstance",{"2":{"76":1,"123":1,"222":13,"229":1,"268":1}}],["is",{"0":{"141":1,"185":1,"201":1,"261":1},"2":{"19":1,"20":2,"21":3,"23":1,"33":2,"45":1,"66":6,"67":1,"70":5,"76":1,"78":1,"79":1,"103":2,"104":1,"105":1,"106":1,"107":1,"109":3,"111":1,"113":2,"124":1,"125":1,"126":1,"137":1,"139":1,"141":2,"153":1,"158":1,"165":1,"183":1,"185":1,"222":2,"223":2,"224":1,"229":1,"230":2,"255":1,"261":1,"262":1}}],["icu",{"2":{"12":1}}],["icon=f",{"2":{"162":5}}],["icon",{"2":{"1":1,"162":7,"223":2,"224":2}}],["index",{"2":{"223":2,"224":1,"292":1}}],["inherit=",{"2":{"222":1}}],["inherit",{"0":{"212":1},"2":{"223":5}}],["inspect",{"2":{"261":4,"265":1}}],["insert",{"2":{"174":1}}],["instead",{"2":{"35":1}}],["instance",{"0":{"113":1,"114":1},"2":{"19":2,"33":4,"67":1,"76":1,"113":5,"116":1}}],["install安装浏览器",{"2":{"6":1}}],["install",{"2":{"6":1,"12":1,"15":1,"294":1,"297":1,"298":1}}],["inner",{"2":{"66":2}}],["in",{"0":{"129":1,"263":1},"2":{"23":1,"33":1,"35":3,"45":1,"66":5,"69":1,"70":1,"76":1,"77":1,"106":1,"109":3,"110":1,"111":1,"123":2,"127":1,"128":2,"129":1,"136":1,"138":1,"139":1,"140":1,"141":1,"153":1,"155":1,"172":1,"174":1,"176":2,"185":1,"220":1,"221":2,"222":13,"223":9,"224":5,"230":2,"255":2,"257":2,"262":2,"263":1,"287":1}}],["int=0",{"2":{"22":1,"175":1,"176":1}}],["int",{"0":{"22":1,"170":1,"175":1,"176":1},"2":{"22":2,"44":1,"66":2,"170":1}}],["initialized",{"2":{"33":1,"66":2}}],["initializing",{"2":{"19":1}}],["init",{"0":{"19":1,"24":1,"25":1,"44":1,"66":1,"87":1,"91":1,"95":1,"103":1,"133":1,"135":1,"162":1,"165":1,"170":1,"180":1},"2":{"19":2,"24":2,"25":2,"44":1,"66":1,"87":1,"91":1,"95":1,"103":1,"133":1,"135":1,"162":1,"165":1,"167":1,"170":1,"180":1,"222":1,"224":2,"230":2,"256":1,"264":1,"286":3}}],["info",{"0":{"222":1,"223":1},"2":{"1":1,"19":1,"20":2,"21":2,"22":1,"162":3,"222":12,"223":6,"224":5,"268":2}}],["日志等级",{"2":{"1":1}}],["lyf结尾",{"2":{"279":1}}],["lyfunction语法",{"2":{"295":1}}],["lyfunction",{"2":{"279":1}}],["lt",{"2":{"276":2,"294":1,"295":7,"297":10,"299":2}}],["locks",{"2":{"106":1}}],["lock",{"0":{"115":2},"2":{"104":3,"105":3,"106":3,"113":1}}],["loaded",{"0":{"227":1},"2":{"227":1}}],["loader",{"0":{"256":1,"257":1},"1":{"257":1},"2":{"19":1,"257":1}}],["loading",{"2":{"124":1,"125":1,"126":1}}],["load",{"0":{"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"228":1,"229":1,"230":1},"1":{"229":1,"230":1,"231":1},"2":{"19":1,"124":4,"125":4,"126":4,"127":4,"128":2,"129":3,"155":3,"228":1,"229":3,"230":2,"257":2,"297":1,"298":1}}],["loop",{"0":{"111":1},"2":{"19":4,"66":1,"69":3,"103":2,"111":2,"262":10}}],["log0000",{"2":{"268":1}}],["logger",{"0":{"25":1},"2":{"19":1,"20":2,"21":2,"22":1,"24":1,"25":1,"35":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":2,"124":1,"125":1,"126":1,"127":2,"128":1,"136":1,"139":2,"141":1,"162":7,"229":3,"230":3,"262":1,"268":3,"287":2}}],["logo",{"2":{"19":1}}],["log",{"0":{"160":1,"162":1},"1":{"161":1,"162":1},"2":{"1":2,"25":1,"160":1,"162":3,"268":1}}],["liteecho",{"0":{"258":1,"259":1},"1":{"259":1},"2":{"258":2,"259":2,"295":1}}],["liteyuki框架是包含在liteyukibot应用中的",{"2":{"275":1}}],["liteyukiexception",{"0":{"157":1}}],["liteyuki轻雪机器人管理脚本",{"2":{"14":1}}],["liteyukibot代替$",{"2":{"13":1}}],["liteyukibot",{"0":{"18":1,"33":1},"1":{"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1},"2":{"12":3,"13":5,"22":1,"33":3,"155":1,"275":1}}],["liteyukistudio",{"2":{"12":2,"13":1,"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["liteyuki",{"0":{"17":1,"36":1,"58":1,"85":1,"88":1,"89":1,"93":1,"99":1,"122":1,"130":1,"131":1,"142":1,"143":1,"154":1,"156":1,"158":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"226":1,"228":1,"232":1,"233":1,"255":1,"256":1,"258":1,"260":1,"297":1},"1":{"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"76":1,"77":1,"78":1,"79":1,"80":1,"81":1,"82":1,"83":1,"84":1,"86":1,"87":1,"90":1,"91":1,"92":1,"94":1,"95":1,"96":1,"97":1,"98":1,"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"132":1,"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"144":1,"145":1,"146":1,"147":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"155":1,"157":1,"159":1,"161":1,"162":1,"164":1,"165":1,"166":1,"169":1,"170":1,"171":1,"172":1,"174":1,"175":1,"176":1,"178":1,"179":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1,"188":1,"189":1,"190":1,"191":1,"192":1,"193":1,"194":1,"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1,"205":1,"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1,"227":1,"229":1,"230":1,"231":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"248":1,"249":1,"250":1,"251":1,"252":1,"253":1,"254":1,"257":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":1,"298":1},"2":{"1":2,"2":1,"12":1,"19":2,"21":2,"33":1,"155":2,"158":1,"229":5,"257":3,"268":12,"271":2,"275":3,"278":1,"286":1,"287":4,"290":1,"291":1,"295":4,"296":3}}],["listdir",{"2":{"128":1,"230":2}}],["list",{"0":{"165":1,"176":1,"196":1,"210":1,"211":1,"212":1,"215":1,"216":1,"217":1,"221":1},"2":{"44":6,"66":2,"100":1,"101":1,"165":1,"170":1,"174":3,"176":1,"221":4,"222":4,"224":3,"295":1,"297":2,"298":1}}],["life",{"2":{"44":1}}],["lifespan=self",{"2":{"19":1}}],["lifespan",{"0":{"27":2,"28":1,"29":1,"30":1,"31":2,"32":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"45":2,"46":2,"47":2,"48":2,"49":2,"50":2,"51":2,"135":2},"1":{"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":2,"45":2,"46":2,"47":2,"48":2,"49":2,"50":2,"51":2,"52":2,"53":2,"54":2,"55":2,"56":2,"57":2},"2":{"19":3,"27":9,"28":8,"29":8,"30":10,"31":11,"32":8,"36":1,"39":2,"42":2,"44":6,"45":8,"46":6,"47":6,"48":8,"49":6,"50":8,"51":6,"135":4}}],["library",{"2":{"22":1,"23":2,"34":3,"35":5,"45":1,"70":1,"76":1,"77":2,"78":1,"79":2}}],["linux系统要支持python3",{"2":{"15":1}}],["linux",{"2":{"14":1,"22":1}}],["linux下使用source",{"2":{"12":1}}],["llonebot",{"2":{"8":1}}],["laptop",{"2":{"224":2}}],["lang",{"0":{"223":1,"224":1},"2":{"223":4,"224":3}}],["language",{"2":{"2":1}}],["last",{"2":{"146":4}}],["lambda",{"2":{"117":1,"118":2,"119":2,"120":2,"121":1}}],["lagrange",{"2":{"8":1}}],["level=0",{"2":{"162":1}}],["level",{"0":{"161":1},"2":{"1":1,"161":2,"162":6}}],["写在外层的配置项将会被覆盖",{"2":{"1":1}}],["switch",{"2":{"295":2,"296":1}}],["simple",{"2":{"286":1}}],["signature",{"2":{"265":2}}],["src目录下为应用程序部分",{"2":{"275":1}}],["src",{"2":{"257":1,"275":1,"287":5}}],["sparkles",{"2":{"276":2}}],["specified",{"2":{"229":1}}],["split",{"2":{"229":4}}],["schedule",{"2":{"153":1}}],["scripts部署",{"0":{"14":1}}],["scripts",{"2":{"12":1}}],["source",{"0":{"199":1},"2":{"222":2,"223":6}}],["sockschannel",{"0":{"94":1},"1":{"95":1,"96":1,"97":1,"98":1}}],["socks",{"0":{"93":1},"1":{"94":1,"95":1,"96":1,"97":1,"98":1}}],["software",{"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["shinjuku",{"2":{"301":1}}],["shellstatistic",{"2":{"303":1}}],["shellbind",{"2":{"301":1}}],["shellweather",{"2":{"301":1}}],["shellmain",{"2":{"292":1}}],["shellvar",{"2":{"280":1}}],["shellcmd",{"2":{"279":1}}],["shell",{"2":{"279":1,"281":1}}],["shutil",{"2":{"224":1}}],["shutdown",{"0":{"29":1,"30":1,"48":1,"49":1,"54":1,"55":1},"2":{"29":2,"30":2,"44":2,"48":2,"49":2,"54":3,"55":3}}],["show",{"2":{"162":6}}],["should",{"2":{"66":1}}],["shared",{"0":{"116":1},"2":{"103":3,"117":1,"118":3,"119":3,"120":3,"121":2,"137":1,"271":3}}],["sync",{"0":{"37":1,"40":1,"59":1,"62":1},"2":{"39":1,"42":1,"61":1,"64":1,"265":2}}],["system",{"0":{"153":1},"2":{"22":4,"153":1,"287":2}}],["sys",{"2":{"22":3,"162":1}}],["snowykami",{"2":{"36":2,"131":2,"154":2,"160":2,"163":2,"167":2,"168":2,"173":2,"177":2,"186":2,"187":2,"228":2,"232":2,"233":2,"256":2,"258":2}}],["succeeded",{"2":{"229":1}}],["success",{"2":{"139":1,"162":2,"229":2}}],["summary>",{"2":{"223":3}}],["summary>源代码",{"2":{"223":1}}],["su",{"0":{"185":1},"2":{"185":1,"258":1,"259":1}}],["supported",{"2":{"128":1}}],["superusers",{"2":{"1":1,"185":1}}],["subscribe",{"2":{"109":1}}],["subscriber",{"0":{"100":1,"101":1,"109":1,"110":1},"2":{"109":7,"110":2,"111":1}}],["sub",{"0":{"101":1},"2":{"33":1,"66":2,"70":1,"103":1,"109":4,"111":1}}],["sleep",{"2":{"21":1,"22":1,"268":1,"280":1,"281":1}}],["style",{"2":{"276":1,"292":2}}],["stem",{"2":{"264":2}}],["stdout",{"2":{"162":1}}],["stdtypes",{"2":{"23":1,"34":1,"35":3,"76":1,"77":2,"78":1,"79":2}}],["store",{"2":{"103":1,"104":1,"105":1,"106":2,"107":1,"255":1}}],["storage",{"0":{"99":1},"1":{"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1},"2":{"88":2,"271":2}}],["stopped",{"2":{"20":1}}],["stopping",{"2":{"20":1}}],["stop",{"0":{"26":1},"2":{"19":1,"20":1,"21":2,"26":2}}],["stat",{"2":{"304":1}}],["statistic",{"2":{"304":1}}],["statistics",{"0":{"303":1},"1":{"304":1}}],["static",{"0":{"191":1},"2":{"222":1}}],["staticmethod",{"0":{"191":1},"2":{"44":1,"45":1,"109":1,"110":1,"222":1}}],["status",{"2":{"295":1,"296":1}}],["startup",{"2":{"268":2}}],["startswith",{"2":{"222":3,"258":1,"259":1}}],["starting",{"2":{"136":1}}],["start或superusers",{"2":{"6":1}}],["start保证alconna解析正常",{"2":{"1":1}}],["start",{"0":{"27":1,"28":1,"46":1,"47":1,"52":1,"53":1,"111":1,"136":1},"2":{"1":1,"20":1,"22":2,"27":2,"28":2,"44":2,"46":2,"47":2,"52":3,"53":3,"111":2,"136":2,"263":1,"268":1}}],["strip",{"2":{"259":2}}],["str=",{"2":{"223":1,"224":1}}],["structure",{"2":{"67":1}}],["str",{"0":{"23":1,"34":1,"35":2,"66":1,"76":1,"77":1,"78":1,"79":1,"82":2,"83":2,"84":2,"87":2,"95":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"118":2,"119":2,"120":2,"121":2,"123":2,"124":2,"125":2,"126":2,"127":2,"128":2,"129":1,"133":2,"137":1,"139":1,"141":1,"153":1,"155":1,"161":2,"165":9,"166":2,"176":1,"195":1,"196":2,"197":1,"198":1,"199":1,"203":1,"204":1,"206":1,"208":1,"209":1,"212":1,"214":1,"218":1,"219":3,"220":2,"221":1,"222":1,"223":2,"224":3,"227":1,"229":1,"230":1,"231":2,"241":1,"242":1,"243":1,"245":1,"246":1,"247":1,"251":1,"253":1,"264":1},"2":{"19":1,"23":3,"34":3,"35":5,"40":1,"41":1,"66":2,"73":2,"75":2,"76":3,"77":3,"78":3,"79":4,"82":2,"83":2,"84":2,"87":2,"95":1,"100":1,"101":1,"103":5,"104":1,"105":1,"106":1,"107":4,"108":1,"109":1,"110":1,"118":2,"119":2,"120":2,"121":2,"123":2,"124":2,"125":2,"126":2,"127":2,"128":2,"129":1,"133":2,"135":2,"137":1,"139":1,"141":1,"153":1,"155":1,"161":2,"165":11,"166":2,"176":1,"185":1,"219":3,"220":2,"221":1,"222":1,"223":1,"224":4,"227":3,"229":1,"230":1,"231":4,"264":3,"268":1}}],["search",{"2":{"297":1,"298":1}}],["service",{"0":{"236":2},"2":{"231":1,"286":1}}],["server",{"2":{"15":1}}],["sep",{"2":{"222":3}}],["session",{"0":{"165":2,"186":1},"2":{"165":8,"166":5,"186":1}}],["sequence",{"0":{"45":1},"2":{"45":3}}],["send",{"0":{"67":1,"96":1},"2":{"23":2,"66":2,"67":4,"76":1,"78":1,"79":1,"83":1,"84":1,"95":1,"96":1,"104":1,"105":1,"106":1,"107":1,"108":1,"111":1,"118":1,"121":1,"166":1,"268":3,"295":1}}],["set",{"0":{"76":1,"77":1,"82":1,"104":1,"119":1,"230":1},"2":{"19":1,"21":1,"26":1,"66":1,"76":2,"77":2,"81":1,"82":3,"104":2,"118":1,"119":3,"230":2,"262":1,"271":1,"295":2,"296":1,"299":2}}],["self",{"0":{"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"44":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":1,"67":1,"68":1,"69":1,"70":1,"87":1,"91":1,"92":1,"95":1,"96":1,"97":1,"98":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"111":1,"133":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"148":1,"149":1,"150":1,"151":1,"152":1,"165":1,"166":1,"170":1,"171":1,"172":1,"180":1,"181":1,"182":1,"183":1,"249":1},"2":{"19":11,"20":4,"21":3,"22":4,"23":2,"24":2,"25":1,"26":3,"27":2,"28":2,"29":2,"30":2,"31":2,"32":2,"44":8,"46":2,"47":2,"48":2,"49":2,"50":2,"51":2,"52":3,"53":3,"54":3,"55":3,"56":3,"57":3,"66":14,"67":6,"68":3,"69":2,"70":3,"87":3,"91":2,"92":2,"95":5,"96":1,"97":1,"98":1,"103":7,"104":3,"105":3,"106":4,"107":3,"108":2,"109":1,"111":4,"133":6,"135":4,"136":2,"137":2,"138":2,"139":3,"140":3,"141":3,"148":1,"149":2,"150":2,"151":2,"152":2,"165":10,"166":3,"170":5,"171":2,"172":3,"180":2,"181":2,"182":2,"183":3,"222":1,"223":1,"249":2}}],["safe",{"2":{"2":1,"124":1}}],["num为每页显示数量",{"2":{"297":2}}],["num",{"2":{"297":2}}],["npm",{"2":{"297":7,"298":1}}],["nliteyuki",{"2":{"279":1}}],["n```",{"2":{"223":2}}],["n```python",{"2":{"223":2}}],["n",{"2":{"223":52,"224":2}}],["name>",{"2":{"280":2}}],["name=module",{"2":{"229":3}}],["name=target",{"2":{"222":2}}],["name=class",{"2":{"222":1}}],["name=node",{"2":{"222":2}}],["name=f",{"2":{"137":2}}],["name=",{"2":{"71":1,"72":1,"73":1,"80":1,"81":1,"103":3,"286":1}}],["name",{"0":{"23":1,"66":1,"76":1,"78":1,"87":1,"95":1,"137":1,"139":1,"141":1,"195":1,"203":1,"208":1,"225":1,"231":2,"241":1,"251":1,"253":1,"264":1},"2":{"23":7,"66":12,"76":8,"77":2,"78":6,"82":3,"83":3,"87":3,"95":5,"136":3,"137":6,"138":1,"139":7,"140":2,"141":6,"222":11,"223":7,"224":2,"229":20,"230":9,"231":7,"249":1,"264":1,"268":2,"295":4,"297":8}}],["new",{"2":{"19":1,"123":3,"262":1}}],["nodes",{"2":{"222":2}}],["node",{"2":{"222":42}}],["node等进程",{"2":{"15":1}}],["normal",{"0":{"222":1},"2":{"222":1,"224":1}}],["normal>",{"2":{"162":1}}],["nonlocal",{"2":{"146":1}}],["nonedog",{"2":{"286":1}}],["none",{"0":{"19":1,"23":1,"34":1,"35":1,"44":1,"45":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":1,"70":1,"91":1,"104":1,"105":1,"106":1,"108":1,"114":1,"137":1,"153":1,"165":2,"172":1,"205":1,"223":1,"224":1,"254":1},"2":{"19":1,"23":3,"33":1,"34":2,"35":2,"44":1,"45":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":3,"67":1,"69":1,"70":3,"91":1,"95":2,"104":1,"106":1,"108":1,"113":2,"124":1,"125":1,"126":1,"137":1,"144":1,"146":1,"153":1,"165":1,"172":1,"178":2,"183":1,"222":3,"224":1,"229":4,"230":1,"261":1}}],["nonebot插件目录",{"2":{"275":1}}],["nonebot2提供的框架支持",{"2":{"10":1}}],["nonebot",{"2":{"2":1,"10":1,"260":1,"268":3,"275":1,"286":1,"287":4,"290":1}}],["nonebot机器人的配置",{"2":{"1":1}}],["no",{"0":{"127":1,"128":1,"129":1,"195":1,"196":1,"197":1,"198":1,"200":1,"201":1,"203":1,"204":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"225":1,"241":1,"251":1,"252":1,"253":1},"2":{"74":1,"75":1,"127":3,"128":3,"129":3,"222":3,"223":1,"224":2}}],["nohup",{"2":{"22":2,"280":1,"281":1}}],["notimplementederror",{"2":{"148":1}}],["not",{"2":{"21":1,"23":1,"33":1,"66":1,"67":2,"70":4,"76":1,"106":1,"109":3,"111":1,"124":1,"125":1,"126":1,"127":3,"128":3,"139":2,"141":2,"153":2,"172":1,"220":1,"222":8,"229":1,"230":8,"287":2}}],["ntqq的onebot插件",{"2":{"8":1}}],["nickname",{"2":{"1":1}}],["若不存在则返回空",{"2":{"295":1}}],["若不存在则创建于config",{"2":{"295":1}}],["若存在则返回",{"2":{"295":1}}],["若存在则覆盖",{"2":{"295":1}}],["若存在则会覆盖",{"2":{"295":1}}],["若要戳20s后停止",{"2":{"281":1}}],["若要接收外部请求请填写0",{"2":{"1":1}}],["若函数中启动了其他task",{"2":{"280":1}}],["若有面向普通用户部分",{"2":{"276":1}}],["若有子进程订阅则推送给子进程",{"2":{"111":2}}],["若有困难请联系对应开发者而不是liteyuki的开发者",{"2":{"9":1}}],["若为空",{"2":{"66":2}}],["若你不希望提供这些信息",{"2":{"293":1}}],["若你不能访问github",{"2":{"12":1}}],["若你修改了端口号请将20216",{"2":{"13":1}}],["若没有metadata",{"2":{"292":1}}],["若没有",{"2":{"1":1}}],["14s",{"2":{"303":2}}],["1h",{"2":{"303":2}}],["1d",{"2":{"303":2}}],["1145141919810",{"2":{"295":1}}],["11",{"2":{"256":1}}],["19",{"2":{"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1}}],["1919810",{"2":{"1":1}}],["10",{"2":{"159":1,"295":1}}],["10+",{"2":{"12":1,"15":1}}],["18",{"2":{"154":1}}],["12",{"2":{"131":1,"160":1}}],["127",{"2":{"1":1,"3":1}}],["1",{"2":{"1":1,"2":1,"3":2,"21":1,"22":2,"23":2,"70":1,"82":2,"83":2,"84":1,"111":2,"118":3,"119":2,"120":1,"121":1,"123":3,"147":1,"148":1,"223":6,"224":1,"229":4,"264":2,"286":1,"292":2}}],["03",{"2":{"268":2}}],["0000",{"2":{"268":3}}],["00",{"2":{"268":18}}],["02",{"2":{"233":1,"256":1}}],["04",{"2":{"154":1}}],["04+",{"2":{"15":1}}],["0",{"0":{"22":1,"175":1,"176":1},"2":{"1":5,"3":4,"19":1,"21":1,"22":3,"44":1,"81":1,"82":2,"83":2,"84":1,"111":1,"117":2,"118":2,"119":2,"120":2,"121":1,"170":2,"222":1,"223":7,"281":1,"286":2,"292":2}}],["请注意",{"2":{"291":1}}],["请确保您所编写的html代码能被bot解析",{"2":{"291":1}}],["请确保用户文档是通俗易懂的",{"2":{"276":1}}],["请确保文档内的链接是正确的",{"2":{"276":1}}],["请确保文档是完善的",{"2":{"276":1}}],["请确保注释风格为google",{"2":{"276":1}}],["请确保代码的类型提示是正确的",{"2":{"276":1}}],["请确保代码是可运行的",{"2":{"276":1}}],["请确保你了解markdown语法和基本前端知识",{"2":{"273":1}}],["请遵循以下规范",{"2":{"276":1}}],["请阅读插件主页的说明",{"2":{"298":1}}],["请阅读插件开发文档和api",{"2":{"273":1}}],["请阅读以下内容",{"2":{"273":1}}],["请不要将需要动态加载的内容写入配置文件",{"2":{"122":1}}],["请联系插件作者或在安全模式safe",{"2":{"6":1}}],["请先查阅插件文档",{"2":{"6":1}}],["请正确安装git",{"2":{"6":1}}],["请检查配置文件的command",{"2":{"6":1}}],["请使用path",{"2":{"15":1}}],["请使用",{"2":{"6":1}}],["请在此填写相同的值",{"2":{"3":1}}],["请开启alconna",{"2":{"1":1}}],["请尽快迁移",{"2":{"1":1}}],["空命令头",{"2":{"1":1}}],["指令前缀",{"2":{"1":1}}],["轻雪天气liteyuki",{"0":{"301":1},"1":{"302":1}}],["轻雪文档",{"2":{"296":1}}],["轻雪命令liteyuki",{"0":{"295":1},"1":{"296":1}}],["轻雪会收集以下内容",{"2":{"293":1}}],["轻雪会自动合并这些配置文件",{"2":{"0":1}}],["轻雪原版资源包请查看liteyukibot",{"2":{"291":1}}],["轻雪主进程不涉及聊天部分",{"2":{"287":1}}],["轻雪函数",{"0":{"278":1},"1":{"279":1,"280":1,"281":1,"282":1,"283":1},"2":{"278":1}}],["轻雪框架提供了一个内存共享通信的接口",{"2":{"270":1}}],["轻雪提供了一个通道channel用于跨进程通信",{"2":{"267":1}}],["轻雪运行在主进程",{"2":{"267":1}}],["轻雪抽象消息事件",{"2":{"165":2}}],["轻雪生命周期管理",{"2":{"44":2}}],["轻雪实例",{"2":{"33":2}}],["轻雪的更新功能依赖git",{"2":{"15":1}}],["轻雪使用git进行版本管理",{"2":{"12":1}}],["轻雪不局限于onebot适配器",{"2":{"4":1}}],["轻雪调试",{"2":{"2":1}}],["轻雪插件是轻雪内置的一部分功能",{"2":{"284":1}}],["轻雪插件目录",{"2":{"275":1}}],["轻雪插件目录列表",{"2":{"1":1}}],["轻雪插件列表",{"2":{"1":1}}],["轻雪支持yaml",{"2":{"0":1}}],["y",{"2":{"231":1}}],["your",{"2":{"229":4}}],["yellow>",{"2":{"162":1}}],["y>name",{"2":{"231":1}}],["y>",{"2":{"20":2,"231":1}}],["y>liteyuki",{"2":{"20":2}}],["yunzai",{"2":{"8":1}}],["yamlweather",{"2":{"301":1}}],["yamlname",{"2":{"292":1}}],["yamlnonebot",{"2":{"1":1}}],["yaml",{"0":{"124":1},"2":{"0":1,"2":1,"124":5,"127":2,"129":1}}],["yml格式的所有合法内容",{"2":{"295":1}}],["yml文件",{"2":{"292":1}}],["yml中填写一些信息",{"2":{"292":1}}],["yml中设置dev",{"2":{"274":1}}],["yml",{"2":{"0":1,"127":1,"129":1,"292":2,"295":1}}],["yml和config目录",{"2":{"0":1}}],["你在a包中定义了一个index",{"2":{"292":1}}],["你自己制作的资源包也应该遵循这个规则",{"2":{"292":1}}],["你也可以自己制作资源包",{"2":{"291":1}}],["你的插件代码",{"2":{"286":1}}],["你的贡献将会使轻雪变得更好",{"2":{"277":1}}],["你应该使用其他储存方式",{"2":{"122":1}}],["你将无法使用更新功能",{"2":{"15":1}}],["你需要使用onebot标准的实现端来连接到轻雪并将消息上报给轻雪",{"2":{"6":1}}],["你有这个问题说明你不是很了解这个项目",{"2":{"6":1}}],["你可以选择开启auto",{"2":{"293":1}}],["你可以自由使用",{"2":{"293":1}}],["你可以自定义一些信息",{"2":{"292":1}}],["你可以在多个线程中读写共享内存",{"2":{"270":1}}],["你可以通过storage模块实现内存共享通信",{"2":{"270":1}}],["你可以通过channel发送消息给其他进程",{"2":{"267":1}}],["你可以使用python",{"2":{"12":1}}],["你可以使用nonebot2支持的任何适配器或使用轻雪讯息传递插件",{"2":{"4":1}}],["你可在此自定义生成的markdown格式",{"2":{"223":2}}],["你可在config目录下创建多个配置文件",{"2":{"0":1}}],["你可修改配置项后重启轻雪",{"2":{"0":1}}],["你只需要修改superusers及nickname字段即可",{"2":{"0":1}}],["绝大多数情况下",{"2":{"0":1}}],["取决于你个人的喜好",{"2":{"0":1}}],["配置项",{"2":{"301":1}}],["配置项目",{"2":{"123":2}}],["配置了命令别名的命令可以使用别名代替原命令",{"2":{"294":1}}],["配置文件尽量扁平化",{"2":{"122":1}}],["配置值",{"2":{"34":2,"35":2}}],["配置键",{"2":{"34":2,"35":2}}],["配置",{"0":{"0":1},"1":{"1":1,"2":1,"3":1,"4":1},"2":{"19":3,"296":1}}]],"serializationVersion":2}';export{e as default}; diff --git a/assets/chunks/@localSearchIndexroot.C3h34E_f.js b/assets/chunks/@localSearchIndexroot.C3h34E_f.js new file mode 100644 index 00000000..34789baf --- /dev/null +++ b/assets/chunks/@localSearchIndexroot.C3h34E_f.js @@ -0,0 +1 @@ +const e=`{"documentCount":305,"nextId":305,"documentIds":{"0":"/deploy/config.html#配置","1":"/deploy/config.html#基础配置项","2":"/deploy/config.html#其他配置","3":"/deploy/config.html#示例-与nonebot对接的onebot实现端配置","4":"/deploy/config.html#其他","5":"/deploy/fandq.html#答疑","6":"/deploy/fandq.html#常见问题","7":"/deploy/fandq.html#其他问题","8":"/deploy/fandq.html#推荐方案-qq","9":"/deploy/fandq.html#推荐方案-minecraft","10":"/deploy/fandq.html#鸣谢","11":"/deploy/install.html#安装","12":"/deploy/install.html#常规部署","13":"/deploy/install.html#使用docker构建","14":"/deploy/install.html#使用trss-scripts部署","15":"/deploy/install.html#装置要求","16":"/deploy/install.html#其他问题请移步至答疑","17":"/dev/api/bot/#模块-liteyuki-bot","18":"/dev/api/bot/#class-liteyukibot","19":"/dev/api/bot/#func-init-self-kwargs-none","20":"/dev/api/bot/#func-run-self","21":"/dev/api/bot/#async-func-keep-alive-self","22":"/dev/api/bot/#func-restart-self-delay-int-0","23":"/dev/api/bot/#func-restart-process-self-name-optional-str-none","24":"/dev/api/bot/#func-init-self-args-kwargs","25":"/dev/api/bot/#func-init-logger-self","26":"/dev/api/bot/#func-stop-self","27":"/dev/api/bot/#func-on-before-start-self-func-lifespan-func-lifespan-func","28":"/dev/api/bot/#func-on-after-start-self-func-lifespan-func","29":"/dev/api/bot/#func-on-after-shutdown-self-func-lifespan-func","30":"/dev/api/bot/#func-on-before-process-shutdown-self-func-process-lifespan-func","31":"/dev/api/bot/#func-on-before-process-restart-self-func-process-lifespan-func-process-lifespan-func","32":"/dev/api/bot/#func-on-after-restart-self-func-lifespan-func","33":"/dev/api/bot/#func-get-bot-liteyukibot","34":"/dev/api/bot/#func-get-config-key-str-default-any-none-any","35":"/dev/api/bot/#func-get-config-with-compat-key-str-compat-keys-tuple-str-default-any-none-any","36":"/dev/api/bot/lifespan.html#模块-liteyuki-bot-lifespan","37":"/dev/api/bot/lifespan.html#var-sync-lifespan-func","38":"/dev/api/bot/lifespan.html#var-async-lifespan-func","39":"/dev/api/bot/lifespan.html#var-lifespan-func","40":"/dev/api/bot/lifespan.html#var-sync-process-lifespan-func","41":"/dev/api/bot/lifespan.html#var-async-process-lifespan-func","42":"/dev/api/bot/lifespan.html#var-process-lifespan-func","43":"/dev/api/bot/lifespan.html#class-lifespan","44":"/dev/api/bot/lifespan.html#func-init-self-none","45":"/dev/api/bot/lifespan.html#async-func-run-funcs-funcs-sequence-lifespan-func-process-lifespan-func-args-kwargs-none","46":"/dev/api/bot/lifespan.html#func-on-before-start-self-func-lifespan-func-lifespan-func","47":"/dev/api/bot/lifespan.html#func-on-after-start-self-func-lifespan-func-lifespan-func","48":"/dev/api/bot/lifespan.html#func-on-before-process-shutdown-self-func-process-lifespan-func-process-lifespan-func","49":"/dev/api/bot/lifespan.html#func-on-after-shutdown-self-func-lifespan-func-lifespan-func","50":"/dev/api/bot/lifespan.html#func-on-before-process-restart-self-func-process-lifespan-func-process-lifespan-func","51":"/dev/api/bot/lifespan.html#func-on-after-restart-self-func-lifespan-func-lifespan-func","52":"/dev/api/bot/lifespan.html#async-func-before-start-self-none","53":"/dev/api/bot/lifespan.html#async-func-after-start-self-none","54":"/dev/api/bot/lifespan.html#async-func-before-process-shutdown-self-args-kwargs-none","55":"/dev/api/bot/lifespan.html#async-func-after-shutdown-self-none","56":"/dev/api/bot/lifespan.html#async-func-before-process-restart-self-args-kwargs-none","57":"/dev/api/bot/lifespan.html#async-func-after-restart-self-none","58":"/dev/api/comm/channel.html#模块-liteyuki-comm-channel","59":"/dev/api/comm/channel.html#var-sync-on-receive-func","60":"/dev/api/comm/channel.html#var-async-on-receive-func","61":"/dev/api/comm/channel.html#var-on-receive-func","62":"/dev/api/comm/channel.html#var-sync-filter-func","63":"/dev/api/comm/channel.html#var-async-filter-func","64":"/dev/api/comm/channel.html#var-filter-func","65":"/dev/api/comm/channel.html#class-channel-generic-t","66":"/dev/api/comm/channel.html#func-init-self-name-str-type-check-optional-bool-none","67":"/dev/api/comm/channel.html#func-send-self-data-t","68":"/dev/api/comm/channel.html#func-receive-self-t","69":"/dev/api/comm/channel.html#async-func-async-receive-self-t","70":"/dev/api/comm/channel.html#func-on-receive-self-filter-func-optional-filter-func-none-callable-callable-t-any-callable-t-any","71":"/dev/api/comm/channel.html#var-active-channel","72":"/dev/api/comm/channel.html#var-passive-channel","73":"/dev/api/comm/channel.html#var-publish-channel","74":"/dev/api/comm/channel.html#var-channel-deliver-active-channel","75":"/dev/api/comm/channel.html#var-channel-deliver-passive-channel","76":"/dev/api/comm/channel.html#func-set-channel-name-str-channel-channel","77":"/dev/api/comm/channel.html#func-set-channels-channels-dict-str-channel","78":"/dev/api/comm/channel.html#func-get-channel-name-str-channel","79":"/dev/api/comm/channel.html#func-get-channels-dict-str-channel","80":"/dev/api/comm/channel.html#var-channel-deliver-active-channel-1","81":"/dev/api/comm/channel.html#var-channel-deliver-passive-channel-1","82":"/dev/api/comm/channel.html#func-on-set-channel-data-tuple-str-dict-str-any","83":"/dev/api/comm/channel.html#func-on-get-channel-data-tuple-str-dict-str-any","84":"/dev/api/comm/channel.html#func-on-get-channels-data-tuple-str-dict-str-any","85":"/dev/api/comm/event.html#模块-liteyuki-comm-event","86":"/dev/api/comm/event.html#class-event","87":"/dev/api/comm/event.html#func-init-self-name-str-data-dict-str-any","88":"/dev/api/comm/#模块-liteyuki-comm","89":"/dev/api/comm/rpc.html#模块-liteyuki-comm-rpc","90":"/dev/api/comm/rpc.html#class-rpc","91":"/dev/api/comm/rpc.html#func-init-self-on-calling-on-calling-func-none","92":"/dev/api/comm/rpc.html#func-call-self-args-tuple-kwargs-dict-any","93":"/dev/api/comm/socks_channel.html#模块-liteyuki-comm-socks-channel","94":"/dev/api/comm/socks_channel.html#class-sockschannel","95":"/dev/api/comm/socks_channel.html#func-init-self-name-str","96":"/dev/api/comm/socks_channel.html#func-send-self-data","97":"/dev/api/comm/socks_channel.html#func-receive-self","98":"/dev/api/comm/socks_channel.html#func-close-self","99":"/dev/api/comm/storage.html#模块-liteyuki-comm-storage","100":"/dev/api/comm/storage.html#var-on-main-subscriber-receive-funcs","101":"/dev/api/comm/storage.html#var-on-sub-subscriber-receive-funcs","102":"/dev/api/comm/storage.html#class-keyvaluestore","103":"/dev/api/comm/storage.html#func-init-self","104":"/dev/api/comm/storage.html#func-set-self-key-str-value-any-none","105":"/dev/api/comm/storage.html#func-get-self-key-str-default-optional-any-none-optional-any","106":"/dev/api/comm/storage.html#func-delete-self-key-str-ignore-key-error-bool-true-none","107":"/dev/api/comm/storage.html#func-get-all-self-dict-str-any","108":"/dev/api/comm/storage.html#func-publish-self-channel-str-data-any-none","109":"/dev/api/comm/storage.html#func-on-subscriber-receive-self-channel-str-callable-on-receive-func-on-receive-func","110":"/dev/api/comm/storage.html#async-func-run-subscriber-receive-funcs-channel-str-data-any","111":"/dev/api/comm/storage.html#async-func-start-receive-loop-self","112":"/dev/api/comm/storage.html#class-globalkeyvaluestore","113":"/dev/api/comm/storage.html#func-get-instance-cls","114":"/dev/api/comm/storage.html#attr-instance-none","115":"/dev/api/comm/storage.html#attr-lock-threading-lock","116":"/dev/api/comm/storage.html#var-shared-memory","117":"/dev/api/comm/storage.html#var-ref-count","118":"/dev/api/comm/storage.html#func-on-get-data-tuple-str-dict-str-any","119":"/dev/api/comm/storage.html#func-on-set-data-tuple-str-dict-str-any","120":"/dev/api/comm/storage.html#func-on-delete-data-tuple-str-dict-str-any","121":"/dev/api/comm/storage.html#func-on-get-all-data-tuple-str-dict-str-any","122":"/dev/api/config.html#模块-liteyuki-config","123":"/dev/api/config.html#func-flat-config-config-dict-str-any-dict-str-any","124":"/dev/api/config.html#func-load-from-yaml-file-str-dict-str-any","125":"/dev/api/config.html#func-load-from-json-file-str-dict-str-any","126":"/dev/api/config.html#func-load-from-toml-file-str-dict-str-any","127":"/dev/api/config.html#func-load-from-files-files-str-no-warning-bool-false-dict-str-any","128":"/dev/api/config.html#func-load-configs-from-dirs-directories-str-no-waring-bool-false-dict-str-any","129":"/dev/api/config.html#func-load-config-in-default-no-waring-bool-false-dict-str-any","130":"/dev/api/core/#模块-liteyuki-core","131":"/dev/api/core/manager.html#模块-liteyuki-core-manager","132":"/dev/api/core/manager.html#class-channeldeliver","133":"/dev/api/core/manager.html#func-init-self-active-channel-any-passive-channel-any-channel-deliver-active-channel-channel-any-channel-deliver-passive-channel-tuple-str-dict-publish-channel-tuple-str-any","134":"/dev/api/core/manager.html#class-processmanager","135":"/dev/api/core/manager.html#func-init-self-lifespan-lifespan","136":"/dev/api/core/manager.html#func-start-all-self","137":"/dev/api/core/manager.html#func-add-target-self-name-str-target-target-func-args-tuple-kwargs-none","138":"/dev/api/core/manager.html#func-join-all-self","139":"/dev/api/core/manager.html#func-terminate-self-name-str","140":"/dev/api/core/manager.html#func-terminate-all-self","141":"/dev/api/core/manager.html#func-is-process-alive-self-name-str-bool","142":"/dev/api/dev/#模块-liteyuki-dev","143":"/dev/api/dev/observer.html#模块-liteyuki-dev-observer","144":"/dev/api/dev/observer.html#var-callback-func","145":"/dev/api/dev/observer.html#var-filter-func","146":"/dev/api/dev/observer.html#func-debounce-wait","147":"/dev/api/dev/observer.html#class-codemodifiedhandler-filesystemeventhandler","148":"/dev/api/dev/observer.html#func-on-modified-self-event","149":"/dev/api/dev/observer.html#func-on-created-self-event","150":"/dev/api/dev/observer.html#func-on-deleted-self-event","151":"/dev/api/dev/observer.html#func-on-moved-self-event","152":"/dev/api/dev/observer.html#func-on-any-event-self-event","153":"/dev/api/dev/observer.html#func-on-file-system-event-directories-tuple-str-recursive-bool-true-event-filter-filter-func-none-callable-callback-func-callback-func","154":"/dev/api/dev/plugin.html#模块-liteyuki-dev-plugin","155":"/dev/api/dev/plugin.html#func-run-plugins-module-path-str-path","156":"/dev/api/exception.html#模块-liteyuki-exception","157":"/dev/api/exception.html#class-liteyukiexception-baseexception","158":"/dev/api/#模块-liteyuki","159":"/dev/api/#var-version","160":"/dev/api/log.html#模块-liteyuki-log","161":"/dev/api/log.html#func-get-format-level-str-str","162":"/dev/api/log.html#func-init-log-config-dict","163":"/dev/api/message/event.html#模块-liteyuki-message-event","164":"/dev/api/message/event.html#class-messageevent","165":"/dev/api/message/event.html#func-init-self-bot-id-str-message-list-dict-str-any-str-message-type-str-raw-message-str-session-id-str-user-id-str-session-type-str-receive-channel-optional-channel-messageevent-none-data-optional-dict-str-any-none","166":"/dev/api/message/event.html#func-reply-self-message-str-dict-str-any","167":"/dev/api/message/#模块-liteyuki-message","168":"/dev/api/message/matcher.html#模块-liteyuki-message-matcher","169":"/dev/api/message/matcher.html#class-matcher","170":"/dev/api/message/matcher.html#func-init-self-rule-rule-priority-int-block-bool","171":"/dev/api/message/matcher.html#func-handle-self-callable-eventhandler-eventhandler","172":"/dev/api/message/matcher.html#async-func-run-self-event-messageevent-none","173":"/dev/api/message/on.html#模块-liteyuki-message-on","174":"/dev/api/message/on.html#func-add-matcher-matcher-matcher","175":"/dev/api/message/on.html#func-on-message-rule-rule-empty-rule-priority-int-0-block-bool-false-matcher","176":"/dev/api/message/on.html#func-on-keywords-keywords-list-str-rule-empty-rule-priority-int-0-block-bool-false-matcher","177":"/dev/api/message/rule.html#模块-liteyuki-message-rule","178":"/dev/api/message/rule.html#var-rulehandlerfunc","179":"/dev/api/message/rule.html#class-rule","180":"/dev/api/message/rule.html#func-init-self-handler-rulehandlerfunc","181":"/dev/api/message/rule.html#func-or-self-other-rule-rule","182":"/dev/api/message/rule.html#func-and-self-other-rule-rule","183":"/dev/api/message/rule.html#async-func-call-self-event-messageevent-bool","184":"/dev/api/message/rule.html#async-func-empty-rule-event-messageevent-bool","185":"/dev/api/message/rule.html#async-func-is-su-rule-event-messageevent-bool","186":"/dev/api/message/session.html#模块-liteyuki-message-session","187":"/dev/api/mkdoc.html#模块-liteyuki-mkdoc","188":"/dev/api/mkdoc.html#class-deftype-enum","189":"/dev/api/mkdoc.html#attr-function-function","190":"/dev/api/mkdoc.html#attr-method-method","191":"/dev/api/mkdoc.html#attr-static-method-staticmethod","192":"/dev/api/mkdoc.html#attr-class-method-classmethod","193":"/dev/api/mkdoc.html#attr-property-property","194":"/dev/api/mkdoc.html#class-functioninfo-basemodel","195":"/dev/api/mkdoc.html#attr-name-str-no-default","196":"/dev/api/mkdoc.html#attr-args-list-tuple-str-str-no-default","197":"/dev/api/mkdoc.html#attr-return-type-str-no-default","198":"/dev/api/mkdoc.html#attr-docstring-str-no-default","199":"/dev/api/mkdoc.html#attr-source-code-str","200":"/dev/api/mkdoc.html#attr-type-deftype-no-default","201":"/dev/api/mkdoc.html#attr-is-async-bool-no-default","202":"/dev/api/mkdoc.html#class-attributeinfo-basemodel","203":"/dev/api/mkdoc.html#attr-name-str-no-default-1","204":"/dev/api/mkdoc.html#attr-type-str-no-default","205":"/dev/api/mkdoc.html#attr-value-any-none","206":"/dev/api/mkdoc.html#attr-docstring-str","207":"/dev/api/mkdoc.html#class-classinfo-basemodel","208":"/dev/api/mkdoc.html#attr-name-str-no-default-2","209":"/dev/api/mkdoc.html#attr-docstring-str-no-default-1","210":"/dev/api/mkdoc.html#attr-methods-list-functioninfo-no-default","211":"/dev/api/mkdoc.html#attr-attributes-list-attributeinfo-no-default","212":"/dev/api/mkdoc.html#attr-inherit-list-str-no-default","213":"/dev/api/mkdoc.html#class-moduleinfo-basemodel","214":"/dev/api/mkdoc.html#attr-module-path-str-no-default","215":"/dev/api/mkdoc.html#attr-functions-list-functioninfo-no-default","216":"/dev/api/mkdoc.html#attr-classes-list-classinfo-no-default","217":"/dev/api/mkdoc.html#attr-attributes-list-attributeinfo-no-default-1","218":"/dev/api/mkdoc.html#attr-docstring-str-no-default-2","219":"/dev/api/mkdoc.html#func-get-relative-path-base-path-str-target-path-str-str","220":"/dev/api/mkdoc.html#func-write-to-files-file-data-dict-str-str","221":"/dev/api/mkdoc.html#func-get-file-list-module-folder-str","222":"/dev/api/mkdoc.html#func-get-module-info-normal-file-path-str-ignore-private-bool-true-moduleinfo","223":"/dev/api/mkdoc.html#func-generate-markdown-module-info-moduleinfo-front-matter-none-lang-str-zh-cn-str","224":"/dev/api/mkdoc.html#func-generate-docs-module-folder-str-output-dir-str-with-top-bool-false-lang-str-zh-cn-ignored-paths-none","225":"/dev/api/mkdoc.html#var-no-module-name-pyfile-path","226":"/dev/api/plugin/#模块-liteyuki-plugin","227":"/dev/api/plugin/#func-get-loaded-plugins-dict-str-plugin","228":"/dev/api/plugin/load.html#模块-liteyuki-plugin-load","229":"/dev/api/plugin/load.html#func-load-plugin-module-path-str-path-optional-plugin","230":"/dev/api/plugin/load.html#func-load-plugins-plugin-dir-str-ignore-warning-bool-true-set-plugin","231":"/dev/api/plugin/load.html#func-format-display-name-display-name-str-plugin-type-plugintype-str","232":"/dev/api/plugin/manager.html#模块-liteyuki-plugin-manager","233":"/dev/api/plugin/model.html#模块-liteyuki-plugin-model","234":"/dev/api/plugin/model.html#class-plugintype-enum","235":"/dev/api/plugin/model.html#attr-application-application","236":"/dev/api/plugin/model.html#attr-service-service","237":"/dev/api/plugin/model.html#attr-module-module","238":"/dev/api/plugin/model.html#attr-unclassified-unclassified","239":"/dev/api/plugin/model.html#attr-test-test","240":"/dev/api/plugin/model.html#class-pluginmetadata-basemodel","241":"/dev/api/plugin/model.html#attr-name-str-no-default","242":"/dev/api/plugin/model.html#attr-description-str","243":"/dev/api/plugin/model.html#attr-usage-str","244":"/dev/api/plugin/model.html#attr-type-plugintype-plugintype-unclassified","245":"/dev/api/plugin/model.html#attr-author-str","246":"/dev/api/plugin/model.html#attr-homepage-str","247":"/dev/api/plugin/model.html#attr-extra-dict-str-any","248":"/dev/api/plugin/model.html#class-plugin-basemodel","249":"/dev/api/plugin/model.html#func-hash-self","250":"/dev/api/plugin/model.html#attr-model-config-arbitrary-types-allowed-true","251":"/dev/api/plugin/model.html#attr-name-str-no-default-1","252":"/dev/api/plugin/model.html#attr-module-moduletype-no-default","253":"/dev/api/plugin/model.html#attr-module-name-str-no-default","254":"/dev/api/plugin/model.html#attr-metadata-optional-pluginmetadata-none","255":"/dev/api/plugins/#模块-liteyuki-plugins","256":"/dev/api/plugins/liteecho.html#模块-liteyuki-plugins-liteecho","257":"/dev/api/plugins/liteecho.html#async-func-liteecho-event-messageevent","258":"/dev/api/plugins/plugin_loader/#模块-liteyuki-plugins-plugin-loader","259":"/dev/api/plugins/plugin_loader/#func-default-plugins-loader","260":"/dev/api/utils.html#模块-liteyuki-utils","261":"/dev/api/utils.html#func-is-coroutine-callable-call-callable-any-bool","262":"/dev/api/utils.html#func-run-coroutine-coro-coroutine","263":"/dev/api/utils.html#func-run-coroutine-in-thread-coro-coroutine","264":"/dev/api/utils.html#func-path-to-module-name-path-path-str","265":"/dev/api/utils.html#func-async-wrapper-func-callable-any-callable-coroutine","266":"/dev/comm.html#通道通信","267":"/dev/comm.html#简介","268":"/dev/comm.html#示例","269":"/dev/comm.html#共享内存通信","270":"/dev/comm.html#简介-1","271":"/dev/comm.html#示例-1","272":"/dev/guide.html#开发指南","273":"/dev/guide.html#如何开发","274":"/dev/guide.html#建议","275":"/dev/guide.html#项目结构","276":"/dev/guide.html#规范化","277":"/dev/guide.html#最后","278":"/dev/lyfunc.html#轻雪函数","279":"/dev/lyfunc.html#函数文件","280":"/dev/lyfunc.html#命令文档","281":"/dev/lyfunc.html#示例","282":"/dev/lyfunc.html#api","283":"/dev/lyfunc.html#结束关键字","284":"/dev/plugin.html#简介","285":"/dev/plugin.html#开始","286":"/dev/plugin.html#创建插件","287":"/dev/plugin.html#编写逻辑部分","288":"/dev/plugin.html#加载插件","289":"/dev/plugin.html#方法1","290":"/dev/plugin.html#方法2","291":"/dev/resource.html#简介","292":"/dev/resource.html#加载资源包","293":"/usage/agreement.html#用户协议","294":"/usage/basic.html#基础插件","295":"/usage/basic.html#轻雪命令liteyuki-command","296":"/usage/basic.html#命令别名","297":"/usage/basic.html#插件-包管理器-liteyuki-pacman","298":"/usage/basic.html#命令别名-1","299":"/usage/basic.html#用户管理liteyuki-user","300":"/usage/extra.html#功能插件命令","301":"/usage/extra.html#轻雪天气liteyuki-weather","302":"/usage/extra.html#命令别名","303":"/usage/extra.html#统计信息liteyuki-statistics","304":"/usage/extra.html#命令别名-1"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[1,1,16],"1":[1,1,51],"2":[1,1,48],"3":[2,1,28],"4":[1,1,3],"5":[1,1,1],"6":[1,1,55],"7":[1,1,2],"8":[3,1,30],"9":[3,1,6],"10":[1,1,8],"11":[1,1,1],"12":[1,1,48],"13":[1,1,35],"14":[2,1,7],"15":[1,1,39],"16":[1,2,1],"17":[3,1,1],"18":[2,3,1],"19":[6,5,57],"20":[4,5,28],"21":[6,5,30],"22":[8,5,59],"23":[10,5,35],"24":[6,5,15],"25":[5,5,13],"26":[4,5,15],"27":[8,5,20],"28":[8,5,19],"29":[8,5,20],"30":[10,5,22],"31":[10,5,23],"32":[8,5,20],"33":[5,3,34],"34":[10,3,26],"35":[14,3,45],"36":[4,1,24],"37":[4,4,8],"38":[4,4,9],"39":[3,4,11],"40":[5,4,9],"41":[5,4,10],"42":[4,4,12],"43":[2,4,1],"44":[5,6,31],"45":[13,6,38],"46":[8,6,21],"47":[8,6,21],"48":[10,6,23],"49":[8,6,21],"50":[10,6,23],"51":[8,6,21],"52":[7,6,20],"53":[7,6,20],"54":[10,6,23],"55":[7,6,21],"56":[10,6,23],"57":[7,6,21],"58":[4,1,3],"59":[5,4,9],"60":[5,4,10],"61":[4,4,12],"62":[4,4,9],"63":[4,4,11],"64":[3,4,11],"65":[5,4,1],"66":[12,9,72],"67":[6,9,44],"68":[5,9,29],"69":[6,9,28],"70":[15,9,64],"71":[3,4,9],"72":[3,4,9],"73":[3,4,15],"74":[4,4,11],"75":[4,4,12],"76":[7,4,40],"77":[7,4,19],"78":[7,4,31],"79":[8,4,30],"80":[4,4,9],"81":[4,4,17],"82":[10,4,25],"83":[10,4,28],"84":[10,4,27],"85":[4,1,2],"86":[2,4,1],"87":[9,6,13],"88":[3,1,8],"89":[4,1,4],"90":[2,4,1],"91":[10,6,15],"92":[9,6,18],"93":[5,1,2],"94":[2,5,1],"95":[6,7,20],"96":[5,7,13],"97":[4,7,13],"98":[4,7,10],"99":[4,1,4],"100":[6,4,12],"101":[6,4,12],"102":[2,4,1],"103":[4,6,30],"104":[9,6,31],"105":[12,6,37],"106":[12,6,42],"107":[9,6,30],"108":[9,6,21],"109":[13,6,52],"110":[11,6,29],"111":[7,6,42],"112":[2,4,2],"113":[5,6,18],"114":[4,6,1],"115":[6,6,1],"116":[3,4,9],"117":[3,4,17],"118":[9,4,29],"119":[9,4,27],"120":[9,4,27],"121":[10,4,27],"122":[3,1,14],"123":[8,3,38],"124":[10,3,35],"125":[10,3,34],"126":[10,3,34],"127":[14,3,43],"128":[16,3,49],"129":[15,3,34],"130":[3,1,1],"131":[4,1,24],"132":[2,4,1],"133":[14,6,18],"134":[2,4,1],"135":[6,6,17],"136":[5,6,28],"137":[14,6,48],"138":[5,6,13],"139":[6,6,31],"140":[5,6,12],"141":[9,6,27],"142":[3,1,2],"143":[4,1,5],"144":[3,4,9],"145":[3,4,9],"146":[4,4,25],"147":[4,4,3],"148":[6,8,17],"149":[6,8,10],"150":[6,8,10],"151":[6,8,10],"152":[6,8,10],"153":[20,4,53],"154":[4,1,24],"155":[9,4,30],"156":[3,1,2],"157":[4,3,1],"158":[2,1,10],"159":[3,2,7],"160":[3,1,24],"161":[6,3,17],"162":[6,3,46],"163":[4,1,24],"164":[2,4,1],"165":[24,6,32],"166":[9,6,34],"167":[3,1,24],"168":[4,1,24],"169":[2,4,1],"170":[10,6,25],"171":[7,6,20],"172":[8,6,30],"173":[4,1,24],"174":[5,4,21],"175":[15,4,19],"176":[16,4,30],"177":[4,1,24],"178":[2,4,11],"179":[2,4,1],"180":[6,6,10],"181":[6,6,19],"182":[6,6,19],"183":[8,6,20],"184":[8,4,16],"185":[9,4,21],"186":[4,1,24],"187":[3,1,24],"188":[4,3,1],"189":[5,7,1],"190":[5,7,1],"191":[6,7,1],"192":[6,7,1],"193":[5,7,1],"194":[4,3,1],"195":[6,7,1],"196":[8,7,1],"197":[7,7,1],"198":[6,7,1],"199":[6,7,1],"200":[6,7,1],"201":[7,7,1],"202":[4,3,1],"203":[6,7,1],"204":[6,7,1],"205":[5,7,1],"206":[5,7,1],"207":[4,3,1],"208":[6,7,1],"209":[6,7,1],"210":[7,7,1],"211":[7,7,1],"212":[7,7,1],"213":[4,3,1],"214":[7,7,1],"215":[7,7,1],"216":[7,7,1],"217":[7,7,1],"218":[6,7,1],"219":[8,3,20],"220":[9,3,36],"221":[8,3,27],"222":[15,3,143],"223":[15,3,95],"224":[20,3,95],"225":[6,3,10],"226":[3,1,1],"227":[9,3,17],"228":[4,1,24],"229":[12,4,75],"230":[15,4,58],"231":[9,4,37],"232":[4,1,24],"233":[4,1,24],"234":[4,4,1],"235":[5,8,1],"236":[5,8,1],"237":[5,8,1],"238":[5,8,1],"239":[5,8,1],"240":[4,4,1],"241":[6,8,1],"242":[5,8,1],"243":[5,8,1],"244":[5,8,1],"245":[5,8,1],"246":[5,8,1],"247":[7,8,1],"248":[4,4,1],"249":[4,8,10],"250":[9,8,1],"251":[6,8,1],"252":[6,8,1],"253":[7,8,1],"254":[6,8,1],"255":[3,1,15],"256":[4,1,30],"257":[6,4,21],"258":[5,1,24],"259":[5,5,21],"260":[3,1,5],"261":[9,3,30],"262":[6,3,42],"263":[8,3,20],"264":[8,3,38],"265":[8,3,25],"266":[1,1,1],"267":[1,1,12],"268":[1,1,83],"269":[1,1,1],"270":[1,2,9],"271":[1,2,18],"272":[1,1,1],"273":[1,1,18],"274":[1,2,10],"275":[1,1,36],"276":[1,1,55],"277":[1,1,4],"278":[1,1,9],"279":[1,1,25],"280":[1,1,33],"281":[1,2,26],"282":[1,1,7],"283":[1,1,18],"284":[1,1,4],"285":[1,1,1],"286":[1,2,42],"287":[1,2,58],"288":[1,2,1],"289":[1,3,6],"290":[1,3,25],"291":[1,1,31],"292":[1,1,56],"293":[1,1,28],"294":[1,1,16],"295":[2,1,86],"296":[1,3,30],"297":[4,1,53],"298":[1,5,38],"299":[2,1,20],"300":[1,1,1],"301":[2,1,30],"302":[1,3,8],"303":[2,1,35],"304":[1,3,17]},"averageFieldLength":[5.54754098360656,4.127868852459012,18.93114754098361],"storedFields":{"0":{"title":"配置","titles":[]},"1":{"title":"基础配置项","titles":["配置"]},"2":{"title":"其他配置","titles":["配置"]},"3":{"title":"示例:与NoneBot对接的OneBot实现端配置","titles":["配置"]},"4":{"title":"其他","titles":["配置"]},"5":{"title":"答疑","titles":[]},"6":{"title":"常见问题","titles":["答疑"]},"7":{"title":"其他问题","titles":["答疑"]},"8":{"title":"推荐方案(QQ)","titles":["答疑"]},"9":{"title":"推荐方案(Minecraft)","titles":["答疑"]},"10":{"title":"鸣谢","titles":["答疑"]},"11":{"title":"安装","titles":[]},"12":{"title":"常规部署","titles":["安装"]},"13":{"title":"使用Docker构建","titles":["安装"]},"14":{"title":"使用TRSS Scripts部署","titles":["安装"]},"15":{"title":"装置要求","titles":["安装"]},"16":{"title":"其他问题请移步至","titles":["安装","装置要求"]},"17":{"title":"模块 liteyuki.bot","titles":[]},"18":{"title":"class LiteyukiBot","titles":["模块 liteyuki.bot"]},"19":{"title":"func __init__(self, **kwargs) -> None","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"20":{"title":"func run(self)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"21":{"title":"async func keep_alive(self)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"22":{"title":"func restart(self, delay: int = 0)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"23":{"title":"func restart_process(self, name: Optional[str] = None)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"24":{"title":"func init(self, *args, **kwargs)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"25":{"title":"func init_logger(self)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"26":{"title":"func stop(self)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"27":{"title":"func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"28":{"title":"func on_after_start(self, func: LIFESPAN_FUNC)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"29":{"title":"func on_after_shutdown(self, func: LIFESPAN_FUNC)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"30":{"title":"func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"31":{"title":"func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"32":{"title":"func on_after_restart(self, func: LIFESPAN_FUNC)","titles":["模块 liteyuki.bot","class LiteyukiBot"]},"33":{"title":"func get_bot() -> LiteyukiBot","titles":["模块 liteyuki.bot"]},"34":{"title":"func get_config(key: str, default: Any = None) -> Any","titles":["模块 liteyuki.bot"]},"35":{"title":"func get_config_with_compat(key: str, compat_keys: tuple[str], default: Any = None) -> Any","titles":["模块 liteyuki.bot"]},"36":{"title":"模块 liteyuki.bot.lifespan","titles":[]},"37":{"title":"var SYNC_LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan"]},"38":{"title":"var ASYNC_LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan"]},"39":{"title":"var LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan"]},"40":{"title":"var SYNC_PROCESS_LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan"]},"41":{"title":"var ASYNC_PROCESS_LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan"]},"42":{"title":"var PROCESS_LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan"]},"43":{"title":"class Lifespan","titles":["模块 liteyuki.bot.lifespan"]},"44":{"title":"func __init__(self) -> None","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"45":{"title":"async func run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"46":{"title":"func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"47":{"title":"func on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"48":{"title":"func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"49":{"title":"func on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"50":{"title":"func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"51":{"title":"func on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"52":{"title":"async func before_start(self) -> None","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"53":{"title":"async func after_start(self) -> None","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"54":{"title":"async func before_process_shutdown(self, *args, **kwargs) -> None","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"55":{"title":"async func after_shutdown(self) -> None","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"56":{"title":"async func before_process_restart(self, *args, **kwargs) -> None","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"57":{"title":"async func after_restart(self) -> None","titles":["模块 liteyuki.bot.lifespan","class Lifespan"]},"58":{"title":"模块 liteyuki.comm.channel","titles":[]},"59":{"title":"var SYNC_ON_RECEIVE_FUNC","titles":["模块 liteyuki.comm.channel"]},"60":{"title":"var ASYNC_ON_RECEIVE_FUNC","titles":["模块 liteyuki.comm.channel"]},"61":{"title":"var ON_RECEIVE_FUNC","titles":["模块 liteyuki.comm.channel"]},"62":{"title":"var SYNC_FILTER_FUNC","titles":["模块 liteyuki.comm.channel"]},"63":{"title":"var ASYNC_FILTER_FUNC","titles":["模块 liteyuki.comm.channel"]},"64":{"title":"var FILTER_FUNC","titles":["模块 liteyuki.comm.channel"]},"65":{"title":"class Channel(Generic[T])","titles":["模块 liteyuki.comm.channel"]},"66":{"title":"func __init__(self, name: str, type_check: Optional[bool] = None)","titles":["模块 liteyuki.comm.channel","class Channel(Generic[T])"]},"67":{"title":"func send(self, data: T)","titles":["模块 liteyuki.comm.channel","class Channel(Generic[T])"]},"68":{"title":"func receive(self) -> T","titles":["模块 liteyuki.comm.channel","class Channel(Generic[T])"]},"69":{"title":"async func async_receive(self) -> T","titles":["模块 liteyuki.comm.channel","class Channel(Generic[T])"]},"70":{"title":"func on_receive(self, filter_func: Optional[FILTER_FUNC] = None) -> Callable[[Callable[[T], Any]], Callable[[T], Any]]","titles":["模块 liteyuki.comm.channel","class Channel(Generic[T])"]},"71":{"title":"var active_channel","titles":["模块 liteyuki.comm.channel"]},"72":{"title":"var passive_channel","titles":["模块 liteyuki.comm.channel"]},"73":{"title":"var publish_channel","titles":["模块 liteyuki.comm.channel"]},"74":{"title":"var channel_deliver_active_channel","titles":["模块 liteyuki.comm.channel"]},"75":{"title":"var channel_deliver_passive_channel","titles":["模块 liteyuki.comm.channel"]},"76":{"title":"func set_channel(name: str, channel: Channel)","titles":["模块 liteyuki.comm.channel"]},"77":{"title":"func set_channels(channels: dict[str, Channel])","titles":["模块 liteyuki.comm.channel"]},"78":{"title":"func get_channel(name: str) -> Channel","titles":["模块 liteyuki.comm.channel"]},"79":{"title":"func get_channels() -> dict[str, Channel]","titles":["模块 liteyuki.comm.channel"]},"80":{"title":"var channel_deliver_active_channel","titles":["模块 liteyuki.comm.channel"]},"81":{"title":"var channel_deliver_passive_channel","titles":["模块 liteyuki.comm.channel"]},"82":{"title":"func on_set_channel(data: tuple[str, dict[str, Any]])","titles":["模块 liteyuki.comm.channel"]},"83":{"title":"func on_get_channel(data: tuple[str, dict[str, Any]])","titles":["模块 liteyuki.comm.channel"]},"84":{"title":"func on_get_channels(data: tuple[str, dict[str, Any]])","titles":["模块 liteyuki.comm.channel"]},"85":{"title":"模块 liteyuki.comm.event","titles":[]},"86":{"title":"class Event","titles":["模块 liteyuki.comm.event"]},"87":{"title":"func __init__(self, name: str, data: dict[str, Any])","titles":["模块 liteyuki.comm.event","class Event"]},"88":{"title":"模块 liteyuki.comm","titles":[]},"89":{"title":"模块 liteyuki.comm.rpc","titles":[]},"90":{"title":"class RPC","titles":["模块 liteyuki.comm.rpc"]},"91":{"title":"func __init__(self, on_calling: ON_CALLING_FUNC) -> None","titles":["模块 liteyuki.comm.rpc","class RPC"]},"92":{"title":"func call(self, args: tuple, kwargs: dict) -> Any","titles":["模块 liteyuki.comm.rpc","class RPC"]},"93":{"title":"模块 liteyuki.comm.socks_channel","titles":[]},"94":{"title":"class SocksChannel","titles":["模块 liteyuki.comm.socks_channel"]},"95":{"title":"func __init__(self, name: str)","titles":["模块 liteyuki.comm.socks_channel","class SocksChannel"]},"96":{"title":"func send(self, data)","titles":["模块 liteyuki.comm.socks_channel","class SocksChannel"]},"97":{"title":"func receive(self)","titles":["模块 liteyuki.comm.socks_channel","class SocksChannel"]},"98":{"title":"func close(self)","titles":["模块 liteyuki.comm.socks_channel","class SocksChannel"]},"99":{"title":"模块 liteyuki.comm.storage","titles":[]},"100":{"title":"var _on_main_subscriber_receive_funcs","titles":["模块 liteyuki.comm.storage"]},"101":{"title":"var _on_sub_subscriber_receive_funcs","titles":["模块 liteyuki.comm.storage"]},"102":{"title":"class KeyValueStore","titles":["模块 liteyuki.comm.storage"]},"103":{"title":"func __init__(self)","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"104":{"title":"func set(self, key: str, value: Any) -> None","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"105":{"title":"func get(self, key: str, default: Optional[Any] = None) -> Optional[Any]","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"106":{"title":"func delete(self, key: str, ignore_key_error: bool = True) -> None","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"107":{"title":"func get_all(self) -> dict[str, Any]","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"108":{"title":"func publish(self, channel_: str, data: Any) -> None","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"109":{"title":"func on_subscriber_receive(self, channel_: str) -> Callable[[ON_RECEIVE_FUNC], ON_RECEIVE_FUNC]","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"110":{"title":"async func run_subscriber_receive_funcs(channel_: str, data: Any)","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"111":{"title":"async func start_receive_loop(self)","titles":["模块 liteyuki.comm.storage","class KeyValueStore"]},"112":{"title":"class GlobalKeyValueStore","titles":["模块 liteyuki.comm.storage"]},"113":{"title":"func get_instance(cls)","titles":["模块 liteyuki.comm.storage","class GlobalKeyValueStore"]},"114":{"title":"attr _instance = None","titles":["模块 liteyuki.comm.storage","class GlobalKeyValueStore"]},"115":{"title":"attr _lock = threading.Lock()","titles":["模块 liteyuki.comm.storage","class GlobalKeyValueStore"]},"116":{"title":"var shared_memory","titles":["模块 liteyuki.comm.storage"]},"117":{"title":"var _ref_count","titles":["模块 liteyuki.comm.storage"]},"118":{"title":"func on_get(data: tuple[str, dict[str, Any]])","titles":["模块 liteyuki.comm.storage"]},"119":{"title":"func on_set(data: tuple[str, dict[str, Any]])","titles":["模块 liteyuki.comm.storage"]},"120":{"title":"func on_delete(data: tuple[str, dict[str, Any]])","titles":["模块 liteyuki.comm.storage"]},"121":{"title":"func on_get_all(data: tuple[str, dict[str, Any]])","titles":["模块 liteyuki.comm.storage"]},"122":{"title":"模块 liteyuki.config","titles":[]},"123":{"title":"func flat_config(config: dict[str, Any]) -> dict[str, Any]","titles":["模块 liteyuki.config"]},"124":{"title":"func load_from_yaml(file_: str) -> dict[str, Any]","titles":["模块 liteyuki.config"]},"125":{"title":"func load_from_json(file_: str) -> dict[str, Any]","titles":["模块 liteyuki.config"]},"126":{"title":"func load_from_toml(file_: str) -> dict[str, Any]","titles":["模块 liteyuki.config"]},"127":{"title":"func load_from_files(*files: str, *, no_warning: bool = False) -> dict[str, Any]","titles":["模块 liteyuki.config"]},"128":{"title":"func load_configs_from_dirs(*directories: str, *, no_waring: bool = False) -> dict[str, Any]","titles":["模块 liteyuki.config"]},"129":{"title":"func load_config_in_default(no_waring: bool = False) -> dict[str, Any]","titles":["模块 liteyuki.config"]},"130":{"title":"模块 liteyuki.core","titles":[]},"131":{"title":"模块 liteyuki.core.manager","titles":[]},"132":{"title":"class ChannelDeliver","titles":["模块 liteyuki.core.manager"]},"133":{"title":"func __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]])","titles":["模块 liteyuki.core.manager","class ChannelDeliver"]},"134":{"title":"class ProcessManager","titles":["模块 liteyuki.core.manager"]},"135":{"title":"func __init__(self, lifespan: Lifespan)","titles":["模块 liteyuki.core.manager","class ProcessManager"]},"136":{"title":"func start_all(self)","titles":["模块 liteyuki.core.manager","class ProcessManager"]},"137":{"title":"func add_target(self, name: str, target: TARGET_FUNC, args: tuple = (), kwargs = None)","titles":["模块 liteyuki.core.manager","class ProcessManager"]},"138":{"title":"func join_all(self)","titles":["模块 liteyuki.core.manager","class ProcessManager"]},"139":{"title":"func terminate(self, name: str)","titles":["模块 liteyuki.core.manager","class ProcessManager"]},"140":{"title":"func terminate_all(self)","titles":["模块 liteyuki.core.manager","class ProcessManager"]},"141":{"title":"func is_process_alive(self, name: str) -> bool","titles":["模块 liteyuki.core.manager","class ProcessManager"]},"142":{"title":"模块 liteyuki.dev","titles":[]},"143":{"title":"模块 liteyuki.dev.observer","titles":[]},"144":{"title":"var CALLBACK_FUNC","titles":["模块 liteyuki.dev.observer"]},"145":{"title":"var FILTER_FUNC","titles":["模块 liteyuki.dev.observer"]},"146":{"title":"func debounce(wait)","titles":["模块 liteyuki.dev.observer"]},"147":{"title":"class CodeModifiedHandler(FileSystemEventHandler)","titles":["模块 liteyuki.dev.observer"]},"148":{"title":"func on_modified(self, event)","titles":["模块 liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"149":{"title":"func on_created(self, event)","titles":["模块 liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"150":{"title":"func on_deleted(self, event)","titles":["模块 liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"151":{"title":"func on_moved(self, event)","titles":["模块 liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"152":{"title":"func on_any_event(self, event)","titles":["模块 liteyuki.dev.observer","class CodeModifiedHandler(FileSystemEventHandler)"]},"153":{"title":"func on_file_system_event(directories: tuple[str], recursive: bool = True, event_filter: FILTER_FUNC = None) -> Callable[[CALLBACK_FUNC], CALLBACK_FUNC]","titles":["模块 liteyuki.dev.observer"]},"154":{"title":"模块 liteyuki.dev.plugin","titles":[]},"155":{"title":"func run_plugins(*module_path: str | Path)","titles":["模块 liteyuki.dev.plugin"]},"156":{"title":"模块 liteyuki.exception","titles":[]},"157":{"title":"class LiteyukiException(BaseException)","titles":["模块 liteyuki.exception"]},"158":{"title":"模块 liteyuki","titles":[]},"159":{"title":"var __version__","titles":["模块 liteyuki"]},"160":{"title":"模块 liteyuki.log","titles":[]},"161":{"title":"func get_format(level: str) -> str","titles":["模块 liteyuki.log"]},"162":{"title":"func init_log(config: dict)","titles":["模块 liteyuki.log"]},"163":{"title":"模块 liteyuki.message.event","titles":[]},"164":{"title":"class MessageEvent","titles":["模块 liteyuki.message.event"]},"165":{"title":"func __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel[MessageEvent]] = None, data: Optional[dict[str, Any]] = None)","titles":["模块 liteyuki.message.event","class MessageEvent"]},"166":{"title":"func reply(self, message: str | dict[str, Any])","titles":["模块 liteyuki.message.event","class MessageEvent"]},"167":{"title":"模块 liteyuki.message","titles":[]},"168":{"title":"模块 liteyuki.message.matcher","titles":[]},"169":{"title":"class Matcher","titles":["模块 liteyuki.message.matcher"]},"170":{"title":"func __init__(self, rule: Rule, priority: int, block: bool)","titles":["模块 liteyuki.message.matcher","class Matcher"]},"171":{"title":"func handle(self) -> Callable[[EventHandler], EventHandler]","titles":["模块 liteyuki.message.matcher","class Matcher"]},"172":{"title":"async func run(self, event: MessageEvent) -> None","titles":["模块 liteyuki.message.matcher","class Matcher"]},"173":{"title":"模块 liteyuki.message.on","titles":[]},"174":{"title":"func add_matcher(matcher: Matcher)","titles":["模块 liteyuki.message.on"]},"175":{"title":"func on_message(rule: Rule = empty_rule, priority: int = 0, block: bool = False) -> Matcher","titles":["模块 liteyuki.message.on"]},"176":{"title":"func on_keywords(keywords: list[str], rule = empty_rule, priority: int = 0, block: bool = False) -> Matcher","titles":["模块 liteyuki.message.on"]},"177":{"title":"模块 liteyuki.message.rule","titles":[]},"178":{"title":"var RuleHandlerFunc","titles":["模块 liteyuki.message.rule"]},"179":{"title":"class Rule","titles":["模块 liteyuki.message.rule"]},"180":{"title":"func __init__(self, handler: RuleHandlerFunc)","titles":["模块 liteyuki.message.rule","class Rule"]},"181":{"title":"func __or__(self, other: Rule) -> Rule","titles":["模块 liteyuki.message.rule","class Rule"]},"182":{"title":"func __and__(self, other: Rule) -> Rule","titles":["模块 liteyuki.message.rule","class Rule"]},"183":{"title":"async func __call__(self, event: MessageEvent) -> bool","titles":["模块 liteyuki.message.rule","class Rule"]},"184":{"title":"async func empty_rule(event: MessageEvent) -> bool","titles":["模块 liteyuki.message.rule"]},"185":{"title":"async func is_su_rule(event: MessageEvent) -> bool","titles":["模块 liteyuki.message.rule"]},"186":{"title":"模块 liteyuki.message.session","titles":[]},"187":{"title":"模块 liteyuki.mkdoc","titles":[]},"188":{"title":"class DefType(Enum)","titles":["模块 liteyuki.mkdoc"]},"189":{"title":"attr FUNCTION = 'function'","titles":["模块 liteyuki.mkdoc","class DefType(Enum)"]},"190":{"title":"attr METHOD = 'method'","titles":["模块 liteyuki.mkdoc","class DefType(Enum)"]},"191":{"title":"attr STATIC_METHOD = 'staticmethod'","titles":["模块 liteyuki.mkdoc","class DefType(Enum)"]},"192":{"title":"attr CLASS_METHOD = 'classmethod'","titles":["模块 liteyuki.mkdoc","class DefType(Enum)"]},"193":{"title":"attr PROPERTY = 'property'","titles":["模块 liteyuki.mkdoc","class DefType(Enum)"]},"194":{"title":"class FunctionInfo(BaseModel)","titles":["模块 liteyuki.mkdoc"]},"195":{"title":"attr name: str = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class FunctionInfo(BaseModel)"]},"196":{"title":"attr args: list[tuple[str, str]] = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class FunctionInfo(BaseModel)"]},"197":{"title":"attr return_type: str = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class FunctionInfo(BaseModel)"]},"198":{"title":"attr docstring: str = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class FunctionInfo(BaseModel)"]},"199":{"title":"attr source_code: str = ''","titles":["模块 liteyuki.mkdoc","class FunctionInfo(BaseModel)"]},"200":{"title":"attr type: DefType = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class FunctionInfo(BaseModel)"]},"201":{"title":"attr is_async: bool = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class FunctionInfo(BaseModel)"]},"202":{"title":"class AttributeInfo(BaseModel)","titles":["模块 liteyuki.mkdoc"]},"203":{"title":"attr name: str = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class AttributeInfo(BaseModel)"]},"204":{"title":"attr type: str = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class AttributeInfo(BaseModel)"]},"205":{"title":"attr value: Any = None","titles":["模块 liteyuki.mkdoc","class AttributeInfo(BaseModel)"]},"206":{"title":"attr docstring: str = ''","titles":["模块 liteyuki.mkdoc","class AttributeInfo(BaseModel)"]},"207":{"title":"class ClassInfo(BaseModel)","titles":["模块 liteyuki.mkdoc"]},"208":{"title":"attr name: str = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class ClassInfo(BaseModel)"]},"209":{"title":"attr docstring: str = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class ClassInfo(BaseModel)"]},"210":{"title":"attr methods: list[FunctionInfo] = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class ClassInfo(BaseModel)"]},"211":{"title":"attr attributes: list[AttributeInfo] = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class ClassInfo(BaseModel)"]},"212":{"title":"attr inherit: list[str] = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class ClassInfo(BaseModel)"]},"213":{"title":"class ModuleInfo(BaseModel)","titles":["模块 liteyuki.mkdoc"]},"214":{"title":"attr module_path: str = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class ModuleInfo(BaseModel)"]},"215":{"title":"attr functions: list[FunctionInfo] = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class ModuleInfo(BaseModel)"]},"216":{"title":"attr classes: list[ClassInfo] = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class ModuleInfo(BaseModel)"]},"217":{"title":"attr attributes: list[AttributeInfo] = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class ModuleInfo(BaseModel)"]},"218":{"title":"attr docstring: str = NO_DEFAULT","titles":["模块 liteyuki.mkdoc","class ModuleInfo(BaseModel)"]},"219":{"title":"func get_relative_path(base_path: str, target_path: str) -> str","titles":["模块 liteyuki.mkdoc"]},"220":{"title":"func write_to_files(file_data: dict[str, str])","titles":["模块 liteyuki.mkdoc"]},"221":{"title":"func get_file_list(module_folder: str)","titles":["模块 liteyuki.mkdoc"]},"222":{"title":"func get_module_info_normal(file_path: str, ignore_private: bool = True) -> ModuleInfo","titles":["模块 liteyuki.mkdoc"]},"223":{"title":"func generate_markdown(module_info: ModuleInfo, front_matter = None, lang: str = 'zh-CN') -> str","titles":["模块 liteyuki.mkdoc"]},"224":{"title":"func generate_docs(module_folder: str, output_dir: str, with_top: bool = False, lang: str = 'zh-CN', ignored_paths = None)","titles":["模块 liteyuki.mkdoc"]},"225":{"title":"var no_module_name_pyfile_path","titles":["模块 liteyuki.mkdoc"]},"226":{"title":"模块 liteyuki.plugin","titles":[]},"227":{"title":"func get_loaded_plugins() -> dict[str, Plugin]","titles":["模块 liteyuki.plugin"]},"228":{"title":"模块 liteyuki.plugin.load","titles":[]},"229":{"title":"func load_plugin(module_path: str | Path) -> Optional[Plugin]","titles":["模块 liteyuki.plugin.load"]},"230":{"title":"func load_plugins(*plugin_dir: str, *, ignore_warning: bool = True) -> set[Plugin]","titles":["模块 liteyuki.plugin.load"]},"231":{"title":"func format_display_name(display_name: str, plugin_type: PluginType) -> str","titles":["模块 liteyuki.plugin.load"]},"232":{"title":"模块 liteyuki.plugin.manager","titles":[]},"233":{"title":"模块 liteyuki.plugin.model","titles":[]},"234":{"title":"class PluginType(Enum)","titles":["模块 liteyuki.plugin.model"]},"235":{"title":"attr APPLICATION = 'application'","titles":["模块 liteyuki.plugin.model","class PluginType(Enum)"]},"236":{"title":"attr SERVICE = 'service'","titles":["模块 liteyuki.plugin.model","class PluginType(Enum)"]},"237":{"title":"attr MODULE = 'module'","titles":["模块 liteyuki.plugin.model","class PluginType(Enum)"]},"238":{"title":"attr UNCLASSIFIED = 'unclassified'","titles":["模块 liteyuki.plugin.model","class PluginType(Enum)"]},"239":{"title":"attr TEST = 'test'","titles":["模块 liteyuki.plugin.model","class PluginType(Enum)"]},"240":{"title":"class PluginMetadata(BaseModel)","titles":["模块 liteyuki.plugin.model"]},"241":{"title":"attr name: str = NO_DEFAULT","titles":["模块 liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"242":{"title":"attr description: str = ''","titles":["模块 liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"243":{"title":"attr usage: str = ''","titles":["模块 liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"244":{"title":"attr type: PluginType = PluginType.UNCLASSIFIED","titles":["模块 liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"245":{"title":"attr author: str = ''","titles":["模块 liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"246":{"title":"attr homepage: str = ''","titles":["模块 liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"247":{"title":"attr extra: dict[str, Any] = {}","titles":["模块 liteyuki.plugin.model","class PluginMetadata(BaseModel)"]},"248":{"title":"class Plugin(BaseModel)","titles":["模块 liteyuki.plugin.model"]},"249":{"title":"func __hash__(self)","titles":["模块 liteyuki.plugin.model","class Plugin(BaseModel)"]},"250":{"title":"attr model_config = {'arbitrary_types_allowed': True}","titles":["模块 liteyuki.plugin.model","class Plugin(BaseModel)"]},"251":{"title":"attr name: str = NO_DEFAULT","titles":["模块 liteyuki.plugin.model","class Plugin(BaseModel)"]},"252":{"title":"attr module: ModuleType = NO_DEFAULT","titles":["模块 liteyuki.plugin.model","class Plugin(BaseModel)"]},"253":{"title":"attr module_name: str = NO_DEFAULT","titles":["模块 liteyuki.plugin.model","class Plugin(BaseModel)"]},"254":{"title":"attr metadata: Optional[PluginMetadata] = None","titles":["模块 liteyuki.plugin.model","class Plugin(BaseModel)"]},"255":{"title":"模块 liteyuki.plugins","titles":[]},"256":{"title":"模块 liteyuki.plugins.liteecho","titles":[]},"257":{"title":"async func liteecho(event: MessageEvent)","titles":["模块 liteyuki.plugins.liteecho"]},"258":{"title":"模块 liteyuki.plugins.plugin_loader","titles":[]},"259":{"title":"func default_plugins_loader()","titles":["模块 liteyuki.plugins.plugin_loader"]},"260":{"title":"模块 liteyuki.utils","titles":[]},"261":{"title":"func is_coroutine_callable(call: Callable[..., Any]) -> bool","titles":["模块 liteyuki.utils"]},"262":{"title":"func run_coroutine(*coro: Coroutine)","titles":["模块 liteyuki.utils"]},"263":{"title":"func run_coroutine_in_thread(*coro: Coroutine)","titles":["模块 liteyuki.utils"]},"264":{"title":"func path_to_module_name(path: Path) -> str","titles":["模块 liteyuki.utils"]},"265":{"title":"func async_wrapper(func: Callable[..., Any]) -> Callable[..., Coroutine]","titles":["模块 liteyuki.utils"]},"266":{"title":"通道通信","titles":[]},"267":{"title":"简介","titles":["通道通信"]},"268":{"title":"示例","titles":["通道通信"]},"269":{"title":"共享内存通信","titles":["通道通信"]},"270":{"title":"简介","titles":["通道通信","共享内存通信"]},"271":{"title":"示例","titles":["通道通信","共享内存通信"]},"272":{"title":"开发指南","titles":[]},"273":{"title":"如何开发","titles":["开发指南"]},"274":{"title":"建议","titles":["开发指南","如何开发"]},"275":{"title":"项目结构","titles":["开发指南"]},"276":{"title":"规范化","titles":["开发指南"]},"277":{"title":"最后","titles":["开发指南"]},"278":{"title":"轻雪函数","titles":[]},"279":{"title":"函数文件","titles":["轻雪函数"]},"280":{"title":"命令文档","titles":["轻雪函数"]},"281":{"title":"示例","titles":["轻雪函数","命令文档"]},"282":{"title":"API","titles":["轻雪函数"]},"283":{"title":"结束关键字","titles":["轻雪函数"]},"284":{"title":"简介","titles":[]},"285":{"title":"开始","titles":["简介"]},"286":{"title":"创建插件","titles":["简介","开始"]},"287":{"title":"编写逻辑部分","titles":["简介","开始"]},"288":{"title":"加载插件","titles":["简介","开始"]},"289":{"title":"方法1","titles":["简介","开始","加载插件"]},"290":{"title":"方法2","titles":["简介","开始","加载插件"]},"291":{"title":"简介","titles":[]},"292":{"title":"加载资源包","titles":["简介"]},"293":{"title":"用户协议","titles":[]},"294":{"title":"基础插件","titles":[]},"295":{"title":"轻雪命令liteyuki_command","titles":["基础插件"]},"296":{"title":"命令别名","titles":["基础插件","轻雪命令liteyuki_command"]},"297":{"title":"插件/包管理器 liteyuki_pacman","titles":["基础插件"]},"298":{"title":"命令别名","titles":["基础插件","插件/包管理器 liteyuki_pacman"]},"299":{"title":"用户管理liteyuki_user","titles":["基础插件"]},"300":{"title":"功能插件命令","titles":[]},"301":{"title":"轻雪天气liteyuki_weather","titles":["功能插件命令"]},"302":{"title":"命令别名","titles":["功能插件命令","轻雪天气liteyuki_weather"]},"303":{"title":"统计信息liteyuki_statistics","titles":["功能插件命令"]},"304":{"title":"命令别名","titles":["功能插件命令","统计信息liteyuki_statistics"]}},"dirtCount":0,"index":[["当前bot",{"2":{"303":1}}],["当前群聊",{"2":{"303":1}}],["当前会话启用",{"2":{"297":1}}],["秒",{"2":{"303":2}}],["小时",{"2":{"303":2}}],["天",{"2":{"303":2}}],["天气",{"2":{"301":1,"302":1}}],["格式",{"2":{"303":1}}],["格式为onebot",{"2":{"295":1}}],["统计时间范围为duration",{"2":{"303":1}}],["统计周期为period",{"2":{"303":1}}],["统计信息",{"2":{"303":1}}],["统计信息liteyuki",{"0":{"303":1},"1":{"304":1}}],["功能",{"2":{"303":1}}],["功能插件命令",{"0":{"300":1},"1":{"301":1,"302":1,"303":1,"304":1}}],["个人全局生效",{"2":{"301":1}}],["个人信息",{"2":{"299":1}}],["绑定城市",{"2":{"302":1}}],["绑定查询城市",{"2":{"301":1}}],["绑定端口",{"2":{"1":1}}],["海淀",{"2":{"301":1}}],["北京",{"2":{"301":1}}],["受限于nonebot2钩子函数的依赖注入参数",{"2":{"298":1}}],["帮助",{"2":{"298":1}}],["列表",{"2":{"298":1}}],["列出所有资源包",{"2":{"297":1}}],["列出所有插件",{"2":{"297":1}}],["更改",{"2":{"298":1}}],["更新",{"2":{"298":1}}],["更新插件商店索引",{"2":{"297":1}}],["更新轻雪",{"2":{"295":1,"296":1}}],["更新轻雪失败",{"2":{"6":1}}],["全局停用",{"2":{"298":1}}],["全局启用",{"2":{"297":1,"298":1}}],["搜索",{"2":{"298":1}}],["卸载",{"2":{"298":2}}],["卸载资源包",{"2":{"297":1}}],["卸载插件",{"2":{"297":1}}],["私聊所有人可用",{"2":{"297":2}}],["包管理器",{"0":{"297":1},"1":{"298":1}}],["包括子task",{"2":{"280":1}}],["包括chromium",{"2":{"15":1}}],["切换图片模式",{"2":{"296":1}}],["切换到bot目录下",{"2":{"12":1}}],["状态",{"2":{"296":1}}],["别名",{"2":{"296":1,"298":1,"299":1,"302":1,"304":1}}],["别用你那b",{"2":{"15":1}}],["所有人",{"2":{"295":1,"297":1,"299":3}}],["所以在编写lyfunction时也要注意异步的调用",{"2":{"283":1}}],["所以此项目既是liteyukibot应用仓库",{"2":{"275":1}}],["群聊",{"2":{"296":1}}],["群聊仅群主",{"2":{"295":1,"297":2}}],["群号",{"2":{"295":1}}],["管理员",{"2":{"295":1,"297":2}}],["停用插件",{"2":{"297":2}}],["停用",{"2":{"296":1,"298":1}}],["停用机器人",{"2":{"295":1}}],["停止后钩子",{"2":{"55":1}}],["停止前钩子",{"2":{"54":1}}],["停止",{"2":{"44":1}}],["停止轻雪",{"2":{"23":1,"26":1}}],["查询目标地实时天气",{"2":{"301":1}}],["查询实时天气",{"2":{"301":1}}],["查询",{"2":{"296":1,"299":1}}],["查询配置项",{"2":{"295":1}}],["查看用户信息菜单",{"2":{"299":1}}],["查看插件帮助",{"2":{"297":1}}],["查看轻雪文档",{"2":{"295":1}}],["查看统计信息和状态",{"2":{"295":1}}],["查看当前bot",{"2":{"295":1}}],["版本",{"2":{"295":1}}],["❌",{"2":{"295":11}}],["超级用户可用",{"2":{"295":1,"297":2}}],["超级用户",{"2":{"295":10,"297":10}}],["超级用户列表",{"2":{"1":1}}],["重载",{"2":{"298":1}}],["重载所有资源包",{"2":{"297":1}}],["重载资源",{"2":{"296":1}}],["重载轻雪",{"2":{"295":1}}],["重启轻雪",{"2":{"296":1}}],["重启轻雪即可加载插件",{"2":{"289":1}}],["重启轻雪本体",{"2":{"22":1}}],["重启后钩子",{"2":{"57":1}}],["重启前钩子",{"2":{"56":1}}],["重启",{"2":{"44":1}}],["举例",{"2":{"295":1}}],["权限",{"2":{"295":1,"297":2,"299":1}}],["~代替",{"2":{"294":1}}],["~可以使用插件",{"2":{"294":1}}],["命令",{"2":{"295":1,"296":1,"297":2,"298":1,"299":2,"301":1,"302":1,"303":1,"304":1}}],["命令别名",{"0":{"296":1,"298":1,"302":1,"304":1},"2":{"294":1,"299":1}}],["命令文档",{"0":{"280":1},"1":{"281":1}}],["系统信息及python信息",{"2":{"293":1}}],["分钟",{"2":{"303":2}}],["分发",{"2":{"293":1}}],["分工明确",{"2":{"122":1}}],["修改优先级",{"2":{"297":1}}],["修改",{"2":{"293":1}}],["修订文档时",{"2":{"276":1}}],["第三方资源包开发者需要注意版本兼容性",{"2":{"292":1}}],["└─",{"2":{"292":1}}],["└───",{"2":{"292":1}}],["└─resource",{"2":{"292":2}}],["├─templates",{"2":{"292":1}}],["├─metadata",{"2":{"292":2}}],["正常的路径应该是这样的",{"2":{"292":1}}],["只需要将其解压到根目录resources目录下即可",{"2":{"292":1}}],["只负责处理和回应消息",{"2":{"6":1}}],["zip格式压缩的",{"2":{"292":1}}],["zh",{"0":{"223":1,"224":1},"2":{"2":1,"223":2,"224":1,"275":1}}],["错位等无法预料的事情发生",{"2":{"291":1}}],["异常",{"2":{"291":1}}],["异步任务结束关键字",{"2":{"283":1}}],["异步等待",{"2":{"280":1}}],["异步包装器",{"2":{"265":1}}],["异步接收数据",{"2":{"69":1}}],["异步接收函数",{"2":{"60":1}}],["异步过滤函数",{"2":{"63":1}}],["异步进程生命周期函数",{"2":{"41":1}}],["异步生命周期函数",{"2":{"38":1}}],["欢迎各位投稿资源包到轻雪资源商店",{"2":{"291":1}}],["部分异常信息",{"2":{"293":1}}],["部分内容制作需要一点点前端基础",{"2":{"291":1}}],["部分来源于",{"2":{"260":1}}],["讲起打包成一个新的资源包",{"2":{"291":1}}],["仅需按照原有路径进行文件替换即可",{"2":{"291":1}}],["资源",{"2":{"291":1}}],["资源包管理",{"2":{"297":1}}],["资源包的结构会随着轻雪的更新而有变动",{"2":{"292":1}}],["资源包的制作很简单",{"2":{"291":1}}],["资源包加载遵循一个优先级",{"2":{"292":1}}],["资源包描述",{"2":{"292":1}}],["资源包名称",{"2":{"292":1}}],["资源包通常是以",{"2":{"292":1}}],["资源包",{"2":{"291":1,"298":1}}],["它允许你一定程度上自定义轻雪的外观",{"2":{"291":1}}],["它允许你在轻雪中运行一些自定义的由数据驱动的命令",{"2":{"278":1}}],["亦可根据用途称为主题包",{"2":{"291":1}}],["保存后轻雪会自动重载nonebot进程",{"2":{"290":1}}],["保持轻雪运行",{"2":{"21":1}}],["方法2",{"0":{"290":1}}],["方法1",{"0":{"289":1}}],["用户管理liteyuki",{"0":{"299":1}}],["用户协议",{"0":{"293":1}}],["用observer的on",{"2":{"287":1}}],["用于统计bot接收到的消息",{"2":{"303":1}}],["用于开发nonebot时进行文件系统变更重载",{"2":{"287":1}}],["用于结束当前已完成function的执行",{"2":{"283":1}}],["用于存放内置插件",{"2":{"255":1}}],["用于获取和唯一标识",{"2":{"137":1}}],["用于进程间通信",{"2":{"58":1}}],["排除的文件扩展名",{"2":{"287":1}}],["因此插件主要是一些后台任务或者与聊天机器人的通信",{"2":{"287":1}}],["因此无法通过内存共享和直接对象传递的方式进行通信",{"2":{"267":1}}],["定义插件元数据",{"2":{"286":1}}],["定义变量",{"2":{"280":1}}],["导入轻雪bot和日志",{"2":{"287":1}}],["导入文件系统事件",{"2":{"287":1}}],["导入文件系统观察器",{"2":{"287":1}}],["导入文件夹下多个插件",{"2":{"230":1}}],["导入逻辑部分",{"2":{"286":1}}],["编写逻辑部分",{"0":{"287":1}}],["编写轻雪函数推荐你使用vs",{"2":{"283":1}}],["编辑时的语法高亮可采取shell格式",{"2":{"279":1}}],["那么加载b包后",{"2":{"292":1}}],["那么你能够很快就上手",{"2":{"291":1}}],["那么当前所有函数包的task都会被截停销毁",{"2":{"283":1}}],["那么将会被解析为nickname而不是命令",{"2":{"6":1}}],["的情况是效率提升的关键",{"2":{"283":1}}],["避免出现",{"2":{"283":1}}],["由于liteyukibot基于异步运行",{"2":{"283":1}}],["结束关键字",{"0":{"283":1}}],["结束函数关键字",{"2":{"280":1}}],["理论上所有基于onebotv11的api都可调用",{"2":{"282":1}}],["则该文件夹不会被识别为资源包",{"2":{"292":1}}],["则需要删除await",{"2":{"281":1}}],["则传入泛型默认开启",{"2":{"66":1}}],["无需手动创建实例",{"2":{"290":1}}],["无需手动初始化bot",{"2":{"155":1}}],["无限戳",{"2":{"281":1}}],["执行",{"2":{"281":1}}],["疯狂戳好友",{"2":{"281":1}}],["否则会导致渲染失败或渲染结果不理想",{"2":{"291":1}}],["否则task对象会被销毁",{"2":{"280":1}}],["否则默认关闭",{"2":{"66":1}}],["等待所有异步任务结束",{"2":{"280":1}}],["单线程走到底",{"2":{"283":1}}],["单位s",{"2":{"280":1}}],["单元测试目录",{"2":{"275":1}}],["也支持句末注释",{"2":{"279":1}}],["也可以监听其他进程的消息",{"2":{"267":1}}],["支持中英文",{"2":{"301":2}}],["支持中英文城市名",{"2":{"301":1}}],["支持多个关键词查询",{"2":{"301":1}}],["支持绑定城市",{"2":{"301":1}}],["支持单行注释",{"2":{"279":1}}],["支持onebotv11标准",{"2":{"9":1}}],["函数文件放在资源包的functions目录下",{"2":{"279":1}}],["函数文件",{"0":{"279":1}}],["函数列表",{"2":{"45":1}}],["属于资源包的一部分",{"2":{"278":1}}],["是可以相对引用的",{"2":{"292":1}}],["是轻雪的一个功能",{"2":{"278":1}}],["是否为协程可调用对象",{"2":{"261":1}}],["是否忽略警告",{"2":{"230":1}}],["是否忽略键不存在的错误",{"2":{"106":1}}],["是否包含顶层文件夹",{"2":{"224":1}}],["是否阻断后续优先级更低的匹配器",{"2":{"170":1}}],["是否递归监听子目录",{"2":{"153":1}}],["是否开启类型检查",{"2":{"66":1}}],["是否允许更新",{"2":{"2":1}}],["是否自动更新轻雪",{"2":{"1":1}}],["是否自动上报问题给轻雪服务器",{"2":{"1":1}}],["是否显示日志等级图标",{"2":{"1":1}}],["最后",{"0":{"277":1}}],["总结来说就是你干了什么",{"2":{"276":1}}],["给event添加新字段",{"2":{"276":1}}],["具体请参考gitmoji",{"2":{"276":1}}],["表示修复bug等",{"2":{"276":1}}],["表示引入新功能",{"2":{"276":1}}],["我们在src",{"2":{"290":1}}],["我们欢迎任何人参与开发",{"2":{"277":1}}],["我们使用gitmoji来标记commit的类型",{"2":{"276":1}}],["我们专门为minecraft开发的服务器bot",{"2":{"9":1}}],["应在每次完成一个功能或修复一个bug后提交代码",{"2":{"276":1}}],["应在初始化时调用",{"2":{"259":1}}],["尽量避免使用单引号",{"2":{"276":1}}],["尽量不要冲突",{"2":{"122":1}}],["没有危害的",{"2":{"276":1}}],["没有异步的必要",{"2":{"67":1}}],["提交到轻雪仓库的代码",{"2":{"276":1}}],["提供",{"2":{"6":1}}],["代码请遵循pep8和google",{"2":{"276":1}}],["规范化",{"0":{"276":1}}],["规则函数签名",{"2":{"178":1}}],["规则",{"2":{"170":1}}],["业务逻辑请在此目录下进行开发",{"2":{"275":1}}],["同时用户也应该自行选择可用的资源包",{"2":{"292":1}}],["同时也是liteyuki框架的仓库",{"2":{"275":1}}],["同步接收数据",{"2":{"68":1}}],["同步接收函数",{"2":{"59":1}}],["同步过滤函数",{"2":{"62":1}}],["同步进程生命周期函数",{"2":{"40":1}}],["同步生命周期函数",{"2":{"37":1}}],["中文文档",{"2":{"275":1}}],["英文文档",{"2":{"275":1}}],["文档请遵循markdown语法",{"2":{"276":1}}],["文档目录",{"2":{"275":1}}],["文件内容为一系列的命令",{"2":{"279":1}}],["文件名以",{"2":{"279":1}}],["文件夹路径",{"2":{"230":1}}],["文件路径",{"2":{"222":1}}],["文件数据",{"2":{"220":1}}],["工具目录",{"2":{"275":1}}],["内置资源包目录",{"2":{"275":1}}],["内存共享是线程安全的",{"2":{"270":1}}],["内存共享使得代码编写更加简洁",{"2":{"270":1}}],["内存",{"2":{"15":1,"293":1}}],["框架目录",{"2":{"275":1}}],["机器人源码目录",{"2":{"275":1}}],["机器人入口文件",{"2":{"275":1}}],["机器人昵称列表",{"2":{"1":1}}],["项目结构",{"0":{"275":1}}],["项目目录下的配置文件优先",{"2":{"129":1}}],["项目目录下的配置文件优先级高于config目录下的配置文件",{"2":{"122":1}}],["项目目录下的config",{"2":{"129":1}}],["出现冲突请与仓库维护者联系",{"2":{"273":1}}],["将你的分支合并到轻雪仓库的main分支",{"2":{"273":1}}],["将你的代码提交到这个分支",{"2":{"273":1}}],["将消息按照onebot标准处理好上报给轻雪",{"2":{"6":1}}],["组织账户下",{"2":{"273":1}}],["首先创建一个文件夹",{"2":{"286":1}}],["首先fork一份轻雪仓库到你的个人",{"2":{"273":1}}],["首次运行后生成config",{"2":{"0":1}}],["引用",{"2":{"273":1}}],["引用计数",{"2":{"117":1}}],["线程锁会自动保护共享内存的读写操作",{"2":{"270":1}}],["相比于普通进程通信",{"2":{"270":1}}],["相对路径",{"2":{"220":1}}],["且通过安全的方式传输到轻雪的服务器",{"2":{"293":1}}],["且通道标识为",{"2":{"268":1}}],["且遵守了相关字体开源协议",{"2":{"10":1}}],["创建入口文件",{"2":{"290":1}}],["创建插件",{"0":{"286":1}}],["创建子进程的同时会初始化一个被动通道和一个主动通道",{"2":{"268":1}}],["创建asyncio",{"2":{"136":1}}],["实现",{"2":{"268":1}}],["实现端本身不负责处理响应逻辑",{"2":{"6":1}}],["被动模式",{"2":{"268":1}}],["被动模式由chan",{"2":{"268":1}}],["被动通道传递通道",{"2":{"75":1,"81":1}}],["被动通道",{"2":{"72":1}}],["即后加载的资源包会覆盖前面的资源包",{"2":{"292":1}}],["即可创建一个插件",{"2":{"286":1}}],["即不等待",{"2":{"280":1}}],["即被动模式和主动模式",{"2":{"268":1}}],["即轻雪作为服务端",{"2":{"3":1}}],["有一个task任务没有完成而await被执行了",{"2":{"283":1}}],["有条件可以使用中英双语",{"2":{"276":1}}],["有两种接收模式",{"2":{"268":1}}],["有的插件安装后报错无法启动",{"2":{"6":1}}],["这样可以在控制台看到更多的调试信息",{"2":{"274":1}}],["这时可以通过通道对主进程发送消息",{"2":{"267":1}}],["这里给出一个参考值",{"2":{"3":1}}],["里",{"2":{"267":1}}],["简介",{"0":{"267":1,"270":1,"284":1,"291":1},"1":{"285":1,"286":1,"287":1,"288":1,"289":1,"290":1,"292":1}}],["路径a",{"2":{"264":1}}],["转换路径为模块名",{"2":{"264":1}}],["判断是否为协程可调用对象",{"2":{"261":1}}],["一个",{"2":{"286":1}}],["一个键不要多次出现",{"2":{"122":1}}],["一些常用的工具类",{"2":{"260":1}}],["根据不同类型插件设置颜色",{"2":{"231":1}}],["插件停用只能阻断传入响应",{"2":{"298":1}}],["插件管理",{"2":{"297":1,"298":1}}],["插件",{"0":{"297":1},"1":{"298":1}}],["插件信息",{"2":{"293":1}}],["插件描述",{"2":{"286":1}}],["插件版本",{"2":{"286":1}}],["插件开发请在此目录下进行开发",{"2":{"275":1}}],["插件开发无需阅读本文档",{"2":{"273":1}}],["插件类型",{"2":{"231":1,"286":1}}],["插件名称",{"2":{"229":1,"231":1,"286":1}}],["插件字典",{"2":{"227":1}}],["插件路径",{"2":{"155":1}}],["去头路径",{"2":{"225":1}}],["忽略的路径",{"2":{"224":1}}],["忽略私有函数和类",{"2":{"222":1}}],["\`",{"2":{"223":14}}],["+",{"2":{"223":2,"264":1}}],["+=",{"2":{"22":1,"70":1,"223":15}}],["字体包",{"2":{"291":1}}],["字符串请使用双引号",{"2":{"276":1}}],["字符串",{"2":{"223":1}}],["字段",{"2":{"3":1}}],["语言包等",{"2":{"291":1}}],["语言",{"2":{"223":1,"224":1}}],["输入值会被执行以转换为正确的类型",{"2":{"295":1}}],["输入playwright",{"2":{"6":1}}],["输出",{"2":{"279":1}}],["输出文件夹",{"2":{"224":1}}],["输出文件",{"2":{"220":1}}],["目标路径",{"2":{"219":1}}],["目前可用性较低",{"2":{"8":1}}],["目前markdown消息支持lagrange",{"2":{"8":1}}],["x26",{"2":{"176":1,"223":4}}],["x3c",{"2":{"20":4,"22":1,"162":5,"174":1,"223":8,"229":2,"231":2,"280":6,"301":2,"303":2}}],["505468b及以后的lagrange",{"2":{"295":1}}],["59",{"2":{"228":1,"232":1}}],["55",{"2":{"177":1}}],["52",{"2":{"173":1}}],["51",{"2":{"168":1}}],["添加配置项",{"2":{"295":1}}],["添加sleep",{"2":{"281":1}}],["添加处理函数",{"2":{"171":1}}],["添加进程",{"2":{"137":1}}],["优先级",{"2":{"170":1}}],["匹配器",{"2":{"170":1}}],["45m",{"2":{"303":2}}],["44",{"2":{"167":1}}],["47",{"2":{"163":1,"186":1}}],["回复消息",{"2":{"166":1}}],["⭕",{"2":{"162":1}}],["⚠️",{"2":{"162":1}}],["✅",{"2":{"162":1}}],["ℹ️信息",{"2":{"268":4}}],["ℹ️",{"2":{"162":1}}],["🐛",{"2":{"162":1}}],["31",{"2":{"256":1}}],["3",{"2":{"159":1,"230":1,"268":1}}],["6",{"2":{"159":1}}],["测试版本号",{"2":{"159":1}}],["此模块为内置插件文件夹",{"2":{"255":1}}],["此模块为liteyuki的框架整体",{"2":{"158":1}}],["此模块用于注册观察者函数",{"2":{"143":1}}],["运行环境的设备信息",{"2":{"293":1}}],["运行在主进程中",{"2":{"284":1}}],["运行协程",{"2":{"262":1}}],["运行处理函数",{"2":{"172":1}}],["运行插件",{"2":{"155":1}}],["运行订阅者接收函数",{"2":{"110":1}}],["上午12",{"2":{"233":1}}],["上午11",{"2":{"131":1}}],["上午6",{"2":{"187":1}}],["上午9",{"2":{"160":1}}],["上午5",{"2":{"154":1}}],["事件过滤器",{"2":{"153":1}}],["事件循环",{"2":{"19":1}}],["防抖函数",{"2":{"146":1}}],["防止获取空指针",{"2":{"117":1}}],["位置1为filesystemevent",{"2":{"144":1,"145":1}}],["启用",{"2":{"296":1,"298":1}}],["启用插件后",{"2":{"290":1}}],["启用开发者模式",{"2":{"274":1}}],["启用该模块需要在配置文件中设置dev",{"2":{"143":1}}],["启动后控制台输出",{"2":{"268":1}}],["启动后钩子",{"2":{"53":1}}],["启动所有进程",{"2":{"136":1}}],["启动发布订阅接收器循环",{"2":{"111":1}}],["启动前钩子",{"2":{"52":1}}],["启动",{"2":{"44":1}}],["启动容器",{"2":{"13":1}}],["启动bot",{"2":{"12":1}}],["启动时会加载项目目录下config",{"2":{"0":1}}],["检查进程是否存活",{"2":{"141":1}}],["终止进程并从进程字典中删除",{"2":{"139":1}}],["对于主动推送的插件不生效",{"2":{"298":1}}],["对于不同资源包的不同文件",{"2":{"292":1}}],["对外启动方法",{"2":{"136":1}}],["对公开放时建议设置",{"2":{"2":1}}],["按照读取文件的优先级反向覆盖",{"2":{"128":1}}],["从一个标准的轻雪项目加载配置文件",{"2":{"129":1}}],["从目录下加载配置文件",{"2":{"128":1}}],["从指定文件加载配置项",{"2":{"127":1}}],["8",{"2":{"124":1,"125":1,"126":1,"154":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"220":1,"222":1,"256":1,"257":1,"258":1}}],["但请注意甄别第三方插件的安全性",{"2":{"293":1}}],["但请保证以上三个字段",{"2":{"292":1}}],["但若出现非单function的情况",{"2":{"283":1}}],["但需单独起篇幅",{"2":{"278":1}}],["但在嵌套字符串时可以使用单引号",{"2":{"276":1}}],["但一个通道只能使用一种",{"2":{"268":1}}],["但也包含原有的键值对",{"2":{"123":1}}],["但是请保留原作者信息",{"2":{"293":1}}],["但是更加轻量级并且线程安全",{"2":{"99":1}}],["但是bot昵称有一个help",{"2":{"6":1}}],["但是基本上都是一样的",{"2":{"3":1}}],["但是部分内容会被覆盖",{"2":{"1":1}}],["扁平化后的配置文件",{"2":{"123":1}}],["扁平化配置文件",{"2":{"123":1}}],["扁平化编写",{"2":{"122":1}}],["注意不要嵌套文件夹",{"2":{"292":1}}],["注意冲突时的优先级",{"2":{"122":1}}],["注册一个函数在nonebot启动后运行",{"2":{"268":1}}],["注册一个函数在轻雪启动后运行",{"2":{"268":1}}],["注册文件系统变化监听器",{"2":{"153":1}}],["注册重启后的函数",{"2":{"32":1,"51":1}}],["注册进程重启前的函数",{"2":{"31":1,"50":1}}],["注册进程停止前的函数",{"2":{"30":1,"48":1}}],["注册停止后的函数",{"2":{"29":1,"49":1}}],["注册启动时的函数",{"2":{"46":1,"47":1}}],["注册启动后的函数",{"2":{"28":1}}],["注册启动前的函数",{"2":{"27":1}}],["每隔0",{"2":{"281":1}}],["每行一个命令",{"2":{"279":1}}],["每个语言的文档都要修订",{"2":{"276":1}}],["每个配置文件给一个或一类服务提供配置",{"2":{"122":1}}],["每种语言都有对应的文档",{"2":{"276":1}}],["每次接收到字符串数据时都会运行",{"2":{"268":1}}],["每3秒发送一次消息",{"2":{"268":1}}],["每天4点检查更新",{"2":{"1":1}}],["多配置文件编写原则",{"2":{"122":1}}],["共享内存通信",{"0":{"269":1},"1":{"270":1,"271":1}}],["共享内存对象",{"2":{"116":1}}],["共享内存模块",{"2":{"99":1}}],["订阅者接收消息时的回调",{"2":{"109":1}}],["频道",{"2":{"108":1,"109":1,"110":1}}],["发布消息",{"2":{"108":1}}],["发送函数为同步函数",{"2":{"67":1}}],["发送数据",{"2":{"67":1,"96":1}}],["删除键值对",{"2":{"106":1}}],["值",{"2":{"104":1,"105":1}}],["键值对",{"2":{"107":1}}],["键",{"2":{"104":1,"105":1,"106":1}}],["类似于minecraft的mcfunction",{"2":{"278":1}}],["类似于redis",{"2":{"99":1}}],["类型",{"2":{"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"71":1,"72":1,"73":1,"74":1,"75":1,"100":1,"101":1,"116":1,"144":1,"145":1,"178":1}}],["关闭通道",{"2":{"98":1}}],["关键字参数",{"2":{"24":1}}],["调用机器人函数",{"2":{"295":1}}],["调用机器人api",{"2":{"295":1}}],["调用重启进程方法",{"2":{"287":1}}],["调用函数",{"2":{"280":1}}],["调用bot",{"2":{"280":1}}],["调用",{"2":{"92":1}}],["通过关键词搜索插件",{"2":{"297":1}}],["通过装饰器注册一个函数在接收到消息时运行",{"2":{"268":1}}],["通常是目录不存在或目录为空",{"2":{"230":1}}],["通常会默认传入chan",{"2":{"137":1}}],["通信",{"2":{"89":1}}],["通道是全双工的",{"2":{"268":1}}],["通道通信",{"0":{"266":1},"1":{"267":1,"268":1,"269":1,"270":1,"271":1}}],["通道实例",{"2":{"76":1,"77":1,"78":1,"79":1}}],["通道名称",{"2":{"76":1,"78":1}}],["通道传递通道",{"2":{"73":1,"74":1}}],["通道id",{"2":{"66":1,"95":1}}],["依赖关系",{"2":{"88":1}}],["主题包中的html渲染使用js来规定数据的渲染位置",{"2":{"291":1}}],["主题商店提供了一些资源包供你选择",{"2":{"291":1}}],["主动模式需调用chan",{"2":{"268":1}}],["主动通道传递通道",{"2":{"80":1}}],["主进程中",{"2":{"268":1}}],["主进程中通过get",{"2":{"268":1}}],["主进程接收到消息后重启对应子进程",{"2":{"267":1}}],["主进程订阅者接收函数",{"2":{"100":1}}],["主进程创建单例",{"2":{"73":1,"74":1}}],["设置用户信息或打开属性设置菜单",{"2":{"299":1}}],["设置",{"2":{"296":1,"299":1}}],["设置共享内存",{"2":{"271":1}}],["设置后的插件名称",{"2":{"231":1}}],["设置插件名称颜色",{"2":{"231":1}}],["设置键值对",{"2":{"104":1}}],["设置通道实例",{"2":{"76":1,"77":1}}],["设备上python环境太乱了",{"2":{"6":1}}],["子进程中获取通道直接导入进程全局单例即可",{"2":{"268":1}}],["子进程中导入单例active",{"2":{"268":1}}],["子进程订阅者接收函数",{"2":{"101":1}}],["子进程初始化时实例化",{"2":{"73":1,"74":1}}],["子进程可用的主动和被动通道",{"2":{"71":1}}],["装饰回调函数实现",{"2":{"268":1}}],["装饰一个函数在接收到数据后执行",{"2":{"153":1}}],["装饰器",{"2":{"70":1,"109":1,"153":1,"171":2}}],["装置要求",{"0":{"15":1},"1":{"16":1}}],["接收数据",{"2":{"97":1}}],["接收数据并执行函数",{"2":{"70":1}}],["接收函数",{"2":{"61":1}}],["会自动判断key版本",{"2":{"301":1}}],["会自动识别文件格式",{"2":{"127":1}}],["会话负载信息",{"2":{"293":1}}],["会触发最大递归深度限制",{"2":{"281":1}}],["会挂起等待",{"2":{"69":1}}],["会阻塞线程",{"2":{"68":1}}],["数据",{"2":{"67":1,"68":1,"69":1,"96":1,"97":1,"108":1,"110":1}}],["过滤函数",{"2":{"64":1,"70":1}}],["并且应该在metadata",{"2":{"292":1}}],["并且不用修改源代码",{"2":{"291":1}}],["并且支持vitepress相关内容",{"2":{"276":1}}],["并在其中写入一些代码",{"2":{"290":1}}],["并在其中写入以下代码",{"2":{"290":1}}],["并在其中创建一个",{"2":{"286":1}}],["并遵循其许可进行修改",{"2":{"260":1}}],["并发运行异步函数",{"2":{"45":1}}],["并使用克隆而非直接下载的方式部署轻雪",{"2":{"6":1}}],["|",{"0":{"45":1,"155":1,"165":1,"166":1,"229":1},"2":{"39":1,"42":1,"45":2,"61":1,"64":1,"155":1,"165":1,"166":1,"229":1}}],["下午12",{"2":{"256":1}}],["下午11",{"2":{"228":1,"232":1}}],["下午10",{"2":{"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"258":1}}],["下午8",{"2":{"36":1}}],["下面已经列出一些推荐的实现端",{"2":{"6":1}}],["7",{"2":{"36":1,"131":1,"160":1,"228":1,"232":1,"233":1}}],["兼容键",{"2":{"35":1}}],["兼容旧版本",{"2":{"35":1}}],["获取用户信息",{"2":{"299":1}}],["获取唯一的轻雪bot实例",{"2":{"287":1}}],["获取共享内存",{"2":{"271":1}}],["获取主动通道",{"2":{"268":1}}],["获取被动通道",{"2":{"268":1}}],["获取已加载的插件",{"2":{"227":1}}],["获取函数和类",{"2":{"222":1}}],["获取相对路径",{"2":{"219":1}}],["获取所有键值对",{"2":{"107":1}}],["获取键值对",{"2":{"105":1}}],["获取通道实例们",{"2":{"79":1}}],["获取通道实例",{"2":{"78":1}}],["获取配置",{"2":{"34":1,"35":1}}],["获取轻雪实例",{"2":{"33":1}}],["为可选参数",{"2":{"294":1}}],["为必填参数",{"2":{"294":1}}],["为子进程重启时调用",{"2":{"31":1}}],["为子进程停止时调用",{"2":{"30":1}}],["为什么我启动后机器人没有反应",{"2":{"6":1}}],["未实现",{"2":{"29":1,"32":1,"55":1,"57":1}}],["返回true则执行回调函数",{"2":{"153":1}}],["返回",{"2":{"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"68":1,"69":1,"70":1,"78":1,"79":1,"97":1,"105":1,"107":1,"109":1,"123":1,"153":1,"171":1,"222":1,"223":1,"227":1,"231":1,"261":1,"264":1,"265":1}}],["自定义选项title",{"2":{"223":1}}],["自动调用",{"2":{"24":1}}],["自己整一个websocket客户端",{"2":{"8":1}}],["进程生命周期函数",{"2":{"48":2,"50":2}}],["进程函数关键字参数",{"2":{"137":1}}],["进程函数参数",{"2":{"137":1}}],["进程函数",{"2":{"42":1,"137":1}}],["进程名",{"2":{"23":1,"137":1}}],["进入轻雪目录",{"2":{"13":1}}],["join",{"0":{"138":1},"2":{"22":1,"128":1,"138":2,"139":1,"221":1,"223":4,"224":1,"230":2,"264":2}}],["js",{"2":{"8":1}}],["json",{"0":{"125":1},"2":{"0":1,"125":4,"127":2,"129":1}}],["json和toml作为配置文件",{"2":{"0":1}}],["延迟重启时间",{"2":{"22":1}}],["kill",{"2":{"139":1}}],["k",{"2":{"123":2,"223":2}}],["keyword",{"2":{"176":2}}],["keywords为城市名",{"2":{"301":2}}],["keywords",{"0":{"176":2},"2":{"176":5,"297":1,"301":2}}],["keyerror",{"2":{"106":1}}],["keyvaluestore",{"0":{"102":1},"1":{"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1},"2":{"113":1,"116":1}}],["keys",{"0":{"35":1},"2":{"35":3}}],["key",{"0":{"34":1,"35":1,"104":1,"105":1,"106":2},"2":{"34":3,"35":10,"104":6,"105":6,"106":11,"118":3,"119":3,"120":3,"123":2,"271":2,"295":4,"299":2,"301":1}}],["keyboardinterrupt",{"2":{"20":1}}],["keeping",{"2":{"21":1}}],["keep",{"0":{"21":1},"2":{"21":1}}],["kwargs=none",{"2":{"137":1}}],["kwargs",{"0":{"19":1,"24":1,"45":1,"54":1,"56":1,"92":1,"137":1},"2":{"19":3,"24":2,"45":3,"54":2,"56":2,"92":2,"137":4,"146":2,"265":2,"295":2}}],["echo",{"2":{"279":3}}],["emoji",{"2":{"276":1}}],["emsp",{"2":{"223":4}}],["empty",{"0":{"175":1,"176":1,"184":1},"2":{"184":1,"229":1,"230":1}}],["email",{"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["enable",{"2":{"295":2,"296":1,"297":2,"298":2}}],["end",{"2":{"280":1}}],["endswith",{"2":{"127":3,"128":1,"221":1,"230":1,"287":1}}],["en",{"2":{"275":1}}],["ensure",{"2":{"262":1}}],["enum",{"0":{"188":1,"234":1},"1":{"189":1,"190":1,"191":1,"192":1,"193":1,"235":1,"236":1,"237":1,"238":1,"239":1}}],["enumerate",{"2":{"174":1}}],["encoding=",{"2":{"124":1,"125":1,"126":1,"220":1,"222":1}}],["enforcing",{"2":{"66":1}}],["e",{"2":{"106":2,"229":1,"231":1,"262":2}}],["errors=true",{"2":{"224":1}}],["error",{"0":{"106":1},"2":{"106":3,"162":2,"262":1}}],["else",{"2":{"22":1,"23":1,"33":1,"45":1,"66":1,"70":2,"76":1,"78":1,"79":1,"104":1,"105":1,"106":1,"107":1,"109":2,"124":1,"125":1,"126":1,"161":1,"162":5,"174":1,"222":9,"223":10,"224":2,"229":2,"262":1,"264":1}}],["elif",{"2":{"22":2,"66":1,"70":1,"127":4,"222":5,"229":2,"230":1}}],["extensions",{"2":{"287":2}}],["extend",{"2":{"155":1}}],["extra",{"0":{"247":1}}],["exclude",{"2":{"287":2}}],["exc",{"2":{"172":1,"229":1}}],["exception模块包含了liteyuki运行中的所有错误",{"2":{"156":1}}],["exception",{"0":{"156":1},"1":{"157":1},"2":{"21":1,"172":1,"229":1,"262":2}}],["except",{"2":{"20":1,"21":1,"106":1,"172":1,"229":1,"262":2}}],["executor",{"2":{"69":1}}],["executable",{"2":{"22":3}}],["exist",{"2":{"230":1}}],["exists",{"2":{"66":2,"76":1,"127":1,"128":1,"220":1,"230":2}}],["exit",{"2":{"22":1}}],["exiting",{"2":{"21":1}}],["event装饰器监听文件系统事件",{"2":{"287":1}}],["events",{"2":{"287":1}}],["eventhandler",{"0":{"171":2},"2":{"170":1,"171":4}}],["event",{"0":{"85":1,"86":1,"148":1,"149":1,"150":1,"151":1,"152":2,"153":2,"163":1,"172":1,"183":1,"184":1,"185":1,"257":1},"1":{"86":1,"87":2,"164":1,"165":1,"166":1},"2":{"19":4,"21":1,"26":1,"88":1,"148":1,"149":2,"150":2,"151":2,"152":3,"153":8,"163":1,"166":2,"172":4,"176":2,"181":3,"182":3,"183":2,"184":1,"185":2,"257":3,"262":2,"287":8}}],["外部启动接口",{"2":{"20":1}}],["加载",{"2":{"298":1}}],["加载资源包",{"0":{"292":1},"2":{"297":1}}],["加载插件",{"0":{"288":1},"1":{"289":1,"290":1}}],["加载插件加载器",{"2":{"19":1}}],["加载单个插件",{"2":{"229":1}}],["加入qq群775840726",{"2":{"7":1}}],["生成文档",{"2":{"224":1}}],["生成模块的markdown",{"2":{"223":1}}],["生命周期函数",{"2":{"27":2,"28":2,"29":2,"30":2,"31":2,"32":2,"39":1,"46":2,"47":2,"49":2,"51":2}}],["生命周期管理",{"2":{"19":1}}],["生产环境中推荐反向websocket",{"2":{"3":1}}],["初始化通道",{"2":{"66":1,"95":1}}],["初始化日志",{"2":{"25":1}}],["初始化轻雪",{"2":{"24":1}}],["初始化轻雪实例",{"2":{"19":1}}],["初始化",{"2":{"19":1}}],["=none",{"2":{"23":1,"66":1,"70":1,"105":1,"165":2}}],["==",{"2":{"22":3,"81":1,"82":2,"83":2,"84":1,"111":1,"117":1,"118":2,"119":2,"120":2,"121":1,"161":1,"222":4,"223":2,"264":1}}],["=",{"0":{"22":1,"23":1,"34":1,"35":1,"66":1,"70":1,"105":1,"106":1,"114":1,"115":1,"127":1,"128":1,"129":1,"137":2,"153":2,"165":2,"175":3,"176":3,"189":1,"190":1,"191":1,"192":1,"193":1,"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"203":1,"204":1,"205":1,"206":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"222":1,"223":2,"224":3,"230":1,"235":1,"236":1,"237":1,"238":1,"239":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"250":1,"251":1,"252":1,"253":1,"254":1},"2":{"19":7,"22":6,"23":2,"44":7,"45":1,"66":10,"67":1,"68":1,"69":2,"70":1,"76":1,"78":1,"79":1,"82":1,"83":1,"84":1,"87":2,"91":1,"95":4,"103":6,"104":2,"105":2,"106":1,"107":1,"109":2,"111":1,"113":1,"118":3,"119":2,"120":1,"121":1,"123":2,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":5,"135":3,"137":5,"139":1,"146":3,"153":2,"155":4,"162":1,"165":10,"166":1,"170":5,"175":1,"180":1,"221":1,"222":17,"223":16,"224":13,"229":12,"230":6,"231":5,"261":1,"262":2,"264":1,"265":1,"268":5,"271":1,"286":1,"287":2}}],[">",{"2":{"19":1,"27":1,"31":1,"33":1,"34":1,"35":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"68":1,"69":1,"70":3,"78":1,"79":1,"91":1,"92":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":2,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"141":1,"146":1,"153":2,"161":1,"171":2,"172":1,"175":1,"176":1,"181":2,"182":2,"183":1,"184":1,"185":1,"219":1,"222":1,"223":3,"224":1,"227":1,"229":1,"230":1,"231":3,"261":1,"264":1,"265":1,"301":2}}],["在群聊启用",{"2":{"295":1}}],["在普通图片和markdown大图之间切换",{"2":{"295":1}}],["在b中定义了templates",{"2":{"292":1}}],["在配置文件中的liteyuki",{"2":{"289":1}}],["在设备上执行命令",{"2":{"280":1}}],["在发信器输出",{"2":{"279":1}}],["在你的仓库中创建一个pull",{"2":{"273":1}}],["在你的仓库中创建一个新的分支",{"2":{"273":1}}],["在你的仓库中进行开发",{"2":{"273":1}}],["在任意进程中均可使用",{"2":{"271":1}}],["在子进程中",{"2":{"268":1}}],["在轻雪插件中",{"2":{"268":1}}],["在新线程中运行协程",{"2":{"263":1}}],["在语言加载完成后执行",{"2":{"162":1}}],["在主进程中运行",{"2":{"111":1}}],["在github上查看",{"2":{"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":1,"67":1,"68":1,"69":1,"70":1,"76":1,"77":1,"78":1,"79":1,"82":1,"83":1,"84":1,"87":1,"91":1,"92":1,"95":1,"96":1,"97":1,"98":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"113":1,"118":1,"119":1,"120":1,"121":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"146":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"155":1,"161":1,"162":1,"165":1,"166":1,"170":1,"171":1,"172":1,"174":1,"175":1,"176":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"227":1,"229":1,"230":1,"231":1,"249":1,"257":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":1}}],["在安全模式下你可以使用npm",{"2":{"6":1}}],["或插件路径",{"2":{"229":1}}],["或",{"2":{"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":1,"67":1,"68":1,"69":1,"70":1,"76":1,"77":1,"78":1,"79":1,"82":1,"83":1,"84":1,"87":1,"91":1,"92":1,"95":1,"96":1,"97":1,"98":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"113":1,"118":1,"119":1,"120":1,"121":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"146":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"155":1,"161":1,"162":1,"165":1,"166":1,"170":1,"171":1,"172":1,"174":1,"175":1,"176":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"227":1,"229":1,"230":1,"231":1,"249":1,"257":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":1,"303":2}}],["源代码",{"2":{"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":1,"67":1,"68":1,"69":1,"70":1,"76":1,"77":1,"78":1,"79":1,"82":1,"83":1,"84":1,"87":1,"91":1,"92":1,"95":1,"96":1,"97":1,"98":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"113":1,"118":1,"119":1,"120":1,"121":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"146":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"155":1,"161":1,"162":1,"165":1,"166":1,"170":1,"171":1,"172":1,"174":1,"175":1,"176":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1,"219":1,"220":1,"221":1,"222":1,"223":2,"224":1,"227":1,"229":1,"230":1,"231":1,"249":1,"257":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":1,"271":1}}],["参与开发默认你已经了解python语言和轻雪框架的基本使用方法",{"2":{"273":1}}],["参考liteyuki",{"2":{"155":1}}],["参考值",{"2":{"3":1}}],["参数列表",{"2":{"295":2}}],["参数为调用set",{"2":{"268":1}}],["参数",{"2":{"19":1,"22":1,"23":1,"24":2,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"34":1,"35":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"66":1,"67":1,"70":1,"76":1,"77":1,"78":1,"95":1,"96":1,"104":1,"105":1,"106":1,"108":1,"109":1,"110":1,"123":1,"137":1,"139":1,"141":1,"153":1,"155":1,"166":1,"170":1,"172":1,"219":1,"220":1,"222":1,"223":1,"224":1,"229":1,"230":1,"231":1,"261":1,"262":1,"263":1,"264":1,"265":1,"294":1,"303":1}}],["feat",{"2":{"276":1}}],["future",{"2":{"262":1}}],["function实现语法高亮",{"2":{"283":1}}],["functiondef",{"2":{"222":3}}],["functioninfo",{"0":{"194":1,"210":1,"215":1},"1":{"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1},"2":{"222":2}}],["function",{"0":{"189":2},"2":{"222":3,"278":1,"280":1,"281":2,"295":3}}],["functions=",{"2":{"222":1}}],["functions",{"0":{"215":1},"2":{"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"222":1,"223":1}}],["func=none",{"2":{"153":1}}],["func=lambda",{"2":{"81":1,"82":2,"83":2,"84":1,"268":1}}],["funcs",{"0":{"45":2,"100":1,"101":1,"110":1},"2":{"44":6,"45":4,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":2,"53":2,"54":2,"55":2,"56":2,"57":2,"70":1,"109":6,"110":2,"111":1}}],["func",{"0":{"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":4,"28":3,"29":3,"30":3,"31":4,"32":3,"33":1,"34":1,"35":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"44":1,"45":3,"46":4,"47":4,"48":4,"49":4,"50":4,"51":4,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"66":1,"67":1,"68":1,"69":1,"70":3,"76":1,"77":1,"78":1,"79":1,"82":1,"83":1,"84":1,"87":1,"91":2,"92":1,"95":1,"96":1,"97":1,"98":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":3,"110":1,"111":1,"113":1,"118":1,"119":1,"120":1,"121":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"135":1,"136":1,"137":2,"138":1,"139":1,"140":1,"141":1,"144":1,"145":1,"146":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":4,"155":1,"161":1,"162":1,"165":1,"166":1,"170":1,"171":1,"172":1,"174":1,"175":1,"176":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"227":1,"229":1,"230":1,"231":1,"249":1,"257":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":2},"2":{"27":7,"28":6,"29":6,"30":6,"31":7,"32":6,"39":2,"42":2,"44":6,"45":8,"46":8,"47":8,"48":8,"49":8,"50":8,"51":8,"61":2,"64":2,"66":2,"70":20,"91":1,"100":1,"101":1,"109":8,"110":2,"137":1,"146":2,"153":7,"222":2,"223":9,"261":2,"265":4,"280":1}}],["failed",{"2":{"229":1}}],["false时例如docs",{"2":{"224":1}}],["false",{"0":{"127":1,"128":1,"129":1,"175":1,"176":1,"224":1},"2":{"2":4,"66":2,"95":1,"103":2,"261":1}}],["first",{"2":{"222":2}}],["filter=lambda",{"2":{"287":1}}],["filter",{"0":{"62":1,"63":1,"64":1,"70":2,"145":1,"153":2},"2":{"64":2,"70":8,"81":1,"82":2,"83":2,"84":1,"153":5,"268":1}}],["filesystemeventhandler",{"0":{"147":1},"1":{"148":1,"149":1,"150":1,"151":1,"152":1}}],["filesystemevent",{"2":{"144":1,"145":1,"153":1,"287":2}}],["files",{"0":{"127":2,"220":1},"2":{"127":3,"128":1,"129":1,"220":1,"221":2,"224":1}}],["file",{"0":{"124":1,"125":1,"126":1,"153":1,"220":1,"221":1,"222":1},"2":{"36":1,"124":4,"125":4,"126":4,"127":12,"128":3,"131":1,"153":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"220":3,"221":7,"222":8,"224":6,"228":1,"232":1,"233":1,"256":1,"258":1,"287":3}}],["friend",{"2":{"281":2}}],["front",{"0":{"223":1},"2":{"223":5,"224":3}}],["from",{"0":{"124":1,"125":1,"126":1,"127":1,"128":1},"2":{"68":1,"124":3,"125":3,"126":3,"127":4,"128":2,"129":2,"268":4,"286":1,"287":3}}],["framework",{"2":{"158":1}}],["flake8",{"2":{"274":1}}],["flat",{"0":{"123":1},"2":{"123":2,"124":1,"125":1,"126":1}}],["flag",{"2":{"44":1}}],["folder",{"0":{"221":1,"224":1},"2":{"221":2,"224":4,"225":1,"255":1}}],["found",{"2":{"67":1,"76":1,"127":1,"128":1,"139":1,"141":1}}],["format=get",{"2":{"162":1}}],["formats",{"2":{"128":1}}],["format",{"0":{"161":1,"231":1},"2":{"127":1,"161":3,"162":1,"229":2,"231":1}}],["for",{"2":{"23":1,"35":1,"45":1,"66":1,"77":1,"110":1,"123":2,"127":1,"128":2,"136":1,"138":1,"140":1,"153":1,"172":1,"174":1,"176":1,"220":1,"221":2,"222":12,"223":9,"224":3,"230":2,"259":2,"262":2,"286":1}}],["f",{"2":{"22":1,"23":2,"35":1,"66":4,"67":1,"76":2,"123":1,"124":1,"125":1,"126":1,"127":2,"128":1,"136":1,"139":2,"141":1,"220":2,"223":19,"224":1,"229":5,"230":9,"231":1,"262":1,"268":2,"287":1}}],["模块名",{"2":{"264":1}}],["模块文件夹",{"2":{"224":1}}],["模块信息",{"2":{"222":1,"223":1}}],["模块",{"0":{"17":1,"36":1,"58":1,"85":1,"88":1,"89":1,"93":1,"99":1,"122":1,"130":1,"131":1,"142":1,"143":1,"154":1,"156":1,"158":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"226":1,"228":1,"232":1,"233":1,"255":1,"256":1,"258":1,"260":1},"1":{"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"76":1,"77":1,"78":1,"79":1,"80":1,"81":1,"82":1,"83":1,"84":1,"86":1,"87":1,"90":1,"91":1,"92":1,"94":1,"95":1,"96":1,"97":1,"98":1,"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"132":1,"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"144":1,"145":1,"146":1,"147":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"155":1,"157":1,"159":1,"161":1,"162":1,"164":1,"165":1,"166":1,"169":1,"170":1,"171":1,"172":1,"174":1,"175":1,"176":1,"178":1,"179":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1,"188":1,"189":1,"190":1,"191":1,"192":1,"193":1,"194":1,"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1,"205":1,"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1,"227":1,"229":1,"230":1,"231":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"248":1,"249":1,"250":1,"251":1,"252":1,"253":1,"254":1,"257":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":1}}],["至少1gb空间",{"2":{"15":1}}],["至少1vcpu",{"2":{"15":1}}],["硬盘",{"2":{"15":1}}],["及",{"2":{"15":1}}],["不带key返回配置项列表",{"2":{"295":1}}],["不包含任何隐私信息",{"2":{"293":1}}],["不含隐私部分",{"2":{"293":1}}],["不含插件数据",{"2":{"293":1}}],["不同adapter",{"2":{"282":1}}],["不同的实现端给出的字段可能不同",{"2":{"3":1}}],["不限制commit",{"2":{"276":1}}],["不要出现无法访问的死链接",{"2":{"276":1}}],["不要出现过多的嵌套",{"2":{"122":1}}],["不要将多个功能或多个bug的代码混在一起提交",{"2":{"276":1}}],["不递归",{"2":{"128":1}}],["不是liteyukibot官方提供的功能",{"2":{"14":1}}],["该功能需要commit",{"2":{"295":1}}],["该功能由trss提供支持",{"2":{"14":1}}],["该模块封装通道实现",{"2":{"270":1}}],["该模块用于存放一些开发工具",{"2":{"142":1}}],["该模块用于常用配置文件的加载",{"2":{"122":1}}],["该模块用于轻雪主进程和nonebot子进程之间的通信",{"2":{"88":1}}],["该步骤为必要项",{"2":{"12":1}}],["weather",{"0":{"301":1},"1":{"302":1},"2":{"301":1,"302":1}}],["world",{"2":{"279":5}}],["w",{"2":{"220":1}}],["write",{"0":{"220":1},"2":{"220":2,"224":1}}],["wrapper",{"0":{"265":1},"2":{"45":1,"70":2,"109":4,"137":1,"146":2,"153":2,"265":4}}],["watchdog",{"2":{"287":1,"290":1}}],["watch",{"2":{"286":1,"287":1}}],["walk",{"2":{"221":1,"222":1}}],["wait",{"0":{"146":1},"2":{"146":2}}],["waring=no",{"2":{"129":1}}],["waring",{"0":{"128":1,"129":1},"2":{"128":3,"129":3}}],["warning=no",{"2":{"128":1,"129":1}}],["warning",{"0":{"127":1,"230":1},"2":{"15":2,"35":1,"127":5,"128":1,"139":1,"141":1,"162":2,"229":1,"230":8,"283":1,"298":1}}],["will",{"2":{"35":1}}],["with",{"0":{"35":1,"224":1},"2":{"35":1,"104":1,"105":1,"106":1,"113":1,"220":1,"222":1,"223":5,"224":3}}],["windows",{"2":{"15":1,"22":1}}],["windows系统版本最低windows10+",{"2":{"15":1}}],["windows请使用项目绝对目录",{"2":{"13":1}}],["while",{"2":{"21":1,"68":1,"111":1,"268":2}}],["ws",{"2":{"3":2}}],["$",{"2":{"13":2}}],["构建镜像",{"2":{"13":1}}],["克隆项目",{"2":{"13":1}}],["克隆项目到本地",{"2":{"12":1}}],["使用通用日期简写",{"2":{"303":2}}],["使用此项目代表你已经同意以上协议",{"2":{"293":1}}],["使用开发工具快速运行插件",{"2":{"290":1}}],["使用",{"2":{"281":1}}],["使用新的task执行命令",{"2":{"280":1}}],["使用watchdog监控文件变化并重启bot",{"2":{"143":1}}],["使用trss",{"0":{"14":1}}],["使用docker构建",{"0":{"13":1}}],["使用其他项目连接请先自行查阅文档",{"2":{"9":1}}],["b包也定义了一个index",{"2":{"292":1}}],["bug",{"2":{"276":1}}],["built",{"2":{"255":2}}],["build",{"2":{"13":1}}],["break",{"2":{"174":1}}],["black等工具进行代码检查和格式化",{"2":{"274":1}}],["block",{"0":{"170":1,"175":1,"176":1},"2":{"170":4,"175":2,"176":2}}],["blue>",{"2":{"162":1}}],["bases",{"2":{"222":1}}],["base",{"0":{"219":1},"2":{"219":3,"222":2}}],["basemodel",{"0":{"194":1,"202":1,"207":1,"213":1,"240":1,"248":1},"1":{"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"203":1,"204":1,"205":1,"206":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"249":1,"250":1,"251":1,"252":1,"253":1,"254":1}}],["baseexception",{"0":{"157":1}}],["bash",{"2":{"12":1}}],["b",{"2":{"123":1,"224":2,"264":2,"304":1}}],["body",{"2":{"222":1}}],["bool=false",{"2":{"127":1,"128":1,"129":1,"175":1,"176":1,"224":1}}],["bool=true",{"2":{"106":1,"153":1,"222":1,"230":1}}],["bool",{"0":{"66":1,"106":1,"127":1,"128":1,"129":1,"141":1,"153":1,"170":1,"175":1,"176":1,"183":1,"184":1,"185":1,"201":1,"222":1,"224":1,"230":1,"261":1},"2":{"62":1,"63":1,"66":1,"141":1,"145":1,"170":1,"178":1,"181":1,"182":1,"183":1,"184":1,"185":1,"261":2}}],["bot",{"0":{"17":1,"33":1,"36":1,"165":1},"1":{"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1},"2":{"19":2,"33":4,"34":1,"35":4,"155":2,"165":3,"166":2,"268":4,"279":1,"287":2,"295":1,"303":3,"304":1}}],["bot无其他插件会占用300~500mb",{"2":{"15":1}}],["be",{"2":{"35":1,"67":1,"70":1,"76":1,"148":1}}],["before",{"0":{"27":1,"30":1,"31":1,"46":1,"48":1,"50":1,"52":1,"54":1,"56":1},"2":{"27":2,"30":2,"31":2,"44":3,"46":2,"48":2,"50":2,"52":3,"54":3,"56":3}}],["bind",{"2":{"302":1}}],["bin",{"2":{"12":1}}],["可用",{"2":{"295":1}}],["可用参数",{"2":{"295":1}}],["可递归",{"2":{"280":1}}],["可调用对象",{"2":{"261":1}}],["可以在配置文件中把auto",{"2":{"293":1}}],["可以在a的index",{"2":{"292":1}}],["可以在此基础上进行修改",{"2":{"291":1}}],["可以在config",{"2":{"274":1}}],["可以很高程度地扩展轻雪的功能",{"2":{"284":1}}],["可以是本地插件或是通过",{"2":{"229":1}}],["可以使用liteyuki镜像",{"2":{"12":1}}],["可使用ws",{"2":{"8":1}}],["help",{"2":{"297":1,"298":1}}],["hello",{"2":{"279":5,"295":1}}],["html中用",{"2":{"292":1}}],["html",{"2":{"292":1}}],["html文件会被覆盖",{"2":{"292":1}}],["html文件",{"2":{"292":2}}],["https",{"2":{"12":2,"13":1}}],["hash",{"0":{"249":1},"2":{"249":2}}],["handle",{"0":{"171":1},"2":{"171":1,"256":1,"257":1}}],["handlers",{"2":{"170":1,"171":1,"172":1}}],["handler",{"0":{"180":1},"2":{"153":3,"171":4,"172":2,"180":3,"181":4,"182":4,"183":2}}],["homepage",{"0":{"246":1}}],["host",{"2":{"1":1}}],["hint",{"2":{"66":1,"222":1,"223":1}}],["环境",{"2":{"12":1}}],["和风天气的天气key",{"2":{"301":1}}],["和10是不一样的",{"2":{"295":1}}],["和config目录下的所有配置文件",{"2":{"129":1}}],["和",{"2":{"12":1,"295":1}}],["常规操作",{"2":{"19":1}}],["常规部署",{"0":{"12":1}}],["常见问题",{"0":{"6":1}}],["安装插件",{"2":{"297":1}}],["安装的插件",{"2":{"229":1}}],["安装依赖",{"2":{"12":1}}],["安装",{"0":{"11":1},"1":{"12":1,"13":1,"14":1,"15":1,"16":1},"2":{"12":1,"13":1,"294":1,"298":1}}],["安全模式",{"2":{"2":1}}],["鸣谢",{"0":{"10":1}}],["然后运行python",{"2":{"290":1}}],["然后使用",{"2":{"12":1}}],["然后给轻雪传输数据",{"2":{"8":1}}],["然后用",{"2":{"6":1}}],["看着qq的消息",{"2":{"8":1}}],["人工实现的onebot协议",{"2":{"8":1}}],["需要在最后调用",{"2":{"280":1}}],["需要官方机器人权限",{"2":{"8":1}}],["需要安装ntqq",{"2":{"8":1}}],["原生实现",{"2":{"8":1}}],["group",{"2":{"295":9,"296":1,"297":2,"303":3,"304":1}}],["green>",{"2":{"162":1}}],["guide",{"2":{"276":1}}],["g",{"2":{"231":1,"304":1}}],["gather",{"2":{"45":1,"262":1}}],["generate",{"0":{"223":1,"224":1},"2":{"223":1,"224":3}}],["generic",{"0":{"65":1},"1":{"66":1,"67":1,"68":1,"69":1,"70":1},"2":{"66":2,"67":1}}],["gensokyo",{"2":{"8":1}}],["getattr",{"2":{"261":1}}],["get",{"0":{"33":1,"34":1,"35":1,"78":1,"79":1,"83":1,"84":1,"105":1,"107":1,"113":1,"118":1,"121":1,"161":1,"219":1,"221":1,"222":1,"227":1},"2":{"23":2,"33":2,"34":3,"35":5,"66":2,"67":1,"69":1,"78":2,"79":2,"82":1,"83":4,"84":3,"104":1,"105":4,"106":1,"107":2,"113":1,"116":1,"117":1,"118":3,"120":1,"121":3,"155":1,"161":1,"162":2,"219":1,"221":1,"222":5,"224":3,"225":1,"227":1,"229":3,"230":1,"259":2,"262":1,"268":8,"271":1,"287":2,"295":3,"296":1,"299":2}}],["globalkeyvaluestore",{"0":{"112":1},"1":{"113":1,"114":1,"115":1},"2":{"116":1}}],["global",{"2":{"19":1,"70":1,"297":2,"298":2}}],["gt",{"0":{"19":1,"27":1,"31":1,"33":1,"34":1,"35":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"68":1,"69":1,"70":1,"78":1,"79":1,"91":1,"92":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"141":1,"153":1,"161":1,"171":1,"172":1,"175":1,"176":1,"181":1,"182":1,"183":1,"184":1,"185":1,"219":1,"222":1,"223":1,"227":1,"229":1,"230":1,"231":1,"261":1,"264":1,"265":1},"2":{"88":3,"123":1,"170":1,"264":1,"276":2,"294":1,"295":7,"297":10,"299":2}}],["github",{"2":{"12":1,"13":1}}],["git",{"2":{"12":3,"13":1}}],["golang",{"2":{"8":1}}],["go语言实现的onebot11实现端",{"2":{"8":1}}],["go",{"2":{"8":1}}],["occurred",{"2":{"262":1}}],["output",{"0":{"224":1},"2":{"224":5}}],["outlook",{"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["other",{"0":{"181":1,"182":1},"2":{"181":2,"182":2}}],["order",{"2":{"224":1}}],["or",{"0":{"181":1},"2":{"181":2,"222":4}}],["overall",{"2":{"158":1}}],["observer",{"0":{"143":1},"1":{"144":1,"145":1,"146":1,"147":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1},"2":{"153":1,"287":2}}],["os",{"2":{"127":1,"128":3,"219":1,"220":4,"221":2,"222":1,"224":2,"230":9,"287":2}}],["of",{"2":{"67":1,"76":1,"158":1,"229":1}}],["only",{"2":{"70":1}}],["on",{"0":{"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"59":1,"60":1,"61":1,"70":1,"82":1,"83":1,"84":1,"91":2,"100":1,"101":1,"109":3,"118":1,"119":1,"120":1,"121":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"173":1,"175":1,"176":1},"1":{"174":1,"175":1,"176":1},"2":{"27":2,"28":2,"29":2,"30":2,"31":2,"32":2,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"61":2,"66":2,"70":4,"81":1,"82":3,"83":3,"84":2,"91":4,"92":1,"100":1,"101":1,"109":11,"110":1,"117":1,"118":3,"119":3,"120":3,"121":2,"148":2,"149":2,"150":2,"151":2,"152":2,"153":2,"173":1,"175":1,"176":4,"256":1,"257":1,"268":6,"287":1}}],["onebot",{"2":{"2":1,"3":1,"8":2,"282":1,"295":1}}],["open",{"2":{"22":1,"124":1,"125":1,"126":1,"220":1,"222":1}}],["openshamrock",{"2":{"8":1}}],["option",{"2":{"294":1}}],["optional",{"0":{"23":1,"66":1,"70":1,"105":2,"165":2,"229":1,"254":1},"2":{"22":1,"23":2,"34":1,"35":1,"66":1,"70":3,"103":2,"105":3,"165":2,"229":1}}],["opt",{"2":{"20":2,"229":3}}],["基础插件",{"0":{"294":1},"1":{"295":1,"296":1,"297":1,"298":1,"299":1}}],["基础路径",{"2":{"219":1}}],["基础配置项",{"0":{"1":1}}],["基于socket的通道",{"2":{"93":1}}],["基于ipc",{"2":{"89":1}}],["基于",{"2":{"8":1}}],["基于node",{"2":{"8":1}}],["基于ntqq的onebot实现",{"2":{"8":1}}],["基于lsposed的onebot11实现",{"2":{"8":1}}],["qq群号",{"2":{"303":1}}],["qq官方机器人api",{"2":{"8":1}}],["qq",{"0":{"8":1}}],["quot",{"2":{"3":2,"276":1,"283":2,"295":2,"301":4}}],["推荐私聊使用",{"2":{"295":1}}],["推荐在编写html时同时更改对应js代码",{"2":{"291":1}}],["推荐",{"2":{"276":1}}],["推荐ubuntu",{"2":{"15":1}}],["推荐使用arch",{"2":{"14":1}}],["推荐使用虚拟环境来运行轻雪",{"2":{"12":1}}],["推荐使用反向ws协议进行通信",{"2":{"3":1}}],["推荐方案",{"0":{"8":1,"9":1}}],["仍然出现问题",{"2":{"6":1}}],["登录功能由实现端",{"2":{"6":1}}],["本项目不会收集用户的任何隐私信息",{"2":{"293":1}}],["本项目不负责实现登录功能",{"2":{"6":1}}],["本项目遵循mit协议",{"2":{"293":1}}],["本项目是一个非盈利的开源项目",{"2":{"277":1}}],["本模块用于实现rpc",{"2":{"89":1}}],["本模块用于轻雪主进程和子进程之间的通信的事件类",{"2":{"85":1}}],["本模块定义了一个通用的通道类",{"2":{"58":1}}],["本机默认为127",{"2":{"3":1}}],["例如npm",{"2":{"294":1}}],["例如nonebot插件中",{"2":{"268":1}}],["例如你在a中定义了templates",{"2":{"292":1}}],["例如html",{"2":{"291":1}}],["例如main",{"2":{"290":1}}],["例如watchdog",{"2":{"286":1,"289":1}}],["例如",{"2":{"279":2,"292":1,"301":1}}],["例如test",{"2":{"279":1,"290":1}}],["例如子进程接收到用户信息需要重启机器人",{"2":{"267":1}}],["例如qq",{"2":{"6":1}}],["例如一个命令是help",{"2":{"6":1}}],["怎么登录聊天平台",{"2":{"6":1}}],["报错invalidgitrepositoryerror",{"2":{"6":1}}],["冲突",{"2":{"6":1}}],["确认插件必要配置项完好后",{"2":{"6":1}}],["确认命令头没有和nickname",{"2":{"6":1}}],["确认你有权限使用命令并按照正确的命令发送",{"2":{"6":1}}],["其中type字段为commit类型且可选",{"2":{"276":1}}],["其中",{"2":{"6":1,"275":1}}],["其他插件框架进程是伴随的子进程",{"2":{"267":1}}],["其他插件占用视具体插件而定",{"2":{"15":1}}],["其他插件自带的调试功能也将开启",{"2":{"2":1}}],["其他问题请移步至",{"0":{"16":1}}],["其他问题",{"0":{"7":1}}],["其他",{"0":{"4":1}}],["其他nonebot插件的配置项",{"2":{"2":1}}],["其他配置",{"0":{"2":1}}],["r>",{"2":{"229":2}}],["rv",{"2":{"224":2}}],["rk",{"2":{"224":2}}],["rmtree",{"2":{"224":1}}],["rpm",{"2":{"297":5,"298":1}}],["rp",{"2":{"220":4}}],["rpc",{"0":{"89":1,"90":1},"1":{"90":1,"91":2,"92":2},"2":{"88":1}}],["rule=is",{"2":{"256":1,"257":1}}],["rule=empty",{"2":{"175":1,"176":1}}],["rulehandlerfunc",{"0":{"178":1,"180":1},"2":{"180":1}}],["rule",{"0":{"170":2,"175":3,"176":2,"177":1,"179":1,"181":2,"182":2,"184":1,"185":1},"1":{"178":1,"179":1,"180":2,"181":2,"182":2,"183":2,"184":1,"185":1},"2":{"170":5,"172":1,"175":3,"176":5,"177":1,"181":3,"182":3,"183":1,"184":3,"185":2,"256":1,"257":1}}],["running",{"2":{"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":1,"69":1,"103":2,"262":2}}],["runtimeerror",{"2":{"33":2,"67":1,"68":1,"70":1,"109":1,"111":1,"262":1}}],["run",{"0":{"20":1,"45":1,"110":1,"155":1,"172":1,"262":1,"263":1},"2":{"13":1,"20":3,"45":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"69":1,"110":1,"111":1,"136":1,"155":2,"172":1,"262":3,"263":1,"290":2}}],["raw",{"0":{"165":1},"2":{"165":3,"166":1,"176":1,"257":1}}],["raise",{"2":{"33":2,"66":3,"67":2,"68":1,"70":1,"76":2,"106":1,"109":1,"111":1,"148":1}}],["rights",{"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["root",{"2":{"13":1,"221":2}}],["request",{"2":{"273":1}}],["required",{"2":{"66":1}}],["requirements",{"2":{"6":1,"12":1,"15":1}}],["readme",{"2":{"224":2}}],["read",{"2":{"222":1}}],["reload",{"2":{"295":1,"296":2,"297":1,"298":1}}],["reloading",{"2":{"287":1}}],["rel",{"2":{"224":4,"264":5}}],["relpath",{"2":{"219":1}}],["relative",{"0":{"219":1},"2":{"219":1,"224":1,"225":1,"264":1}}],["replace",{"2":{"222":3,"223":4,"224":8}}],["reply",{"0":{"166":1},"2":{"166":3,"257":1}}],["report设定为false",{"2":{"293":1}}],["report",{"2":{"1":1,"293":1}}],["red>",{"2":{"162":1}}],["remove",{"2":{"162":1}}],["ref",{"0":{"117":1}}],["recursive=recursive",{"2":{"153":1}}],["recursive",{"0":{"153":1},"2":{"153":2}}],["recv",{"2":{"66":2,"68":2,"78":5,"79":5,"83":3,"84":3,"95":1,"105":5,"107":5,"118":3,"121":3}}],["receive",{"0":{"59":1,"60":1,"61":1,"68":1,"69":1,"70":1,"97":1,"100":1,"101":1,"109":3,"110":1,"111":1,"165":1},"2":{"61":2,"66":3,"68":2,"69":2,"70":4,"78":1,"79":1,"81":1,"82":2,"83":2,"84":1,"97":1,"100":1,"101":1,"103":2,"105":1,"107":1,"109":11,"110":2,"111":4,"117":1,"118":2,"119":2,"120":2,"121":1,"165":3,"166":3,"268":11}}],["resources",{"2":{"275":1,"291":1,"292":1,"296":1}}],["resolve",{"2":{"264":2}}],["reserved",{"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["restarting",{"2":{"22":1}}],["restart",{"0":{"22":1,"23":1,"31":1,"32":1,"50":1,"51":1,"56":1,"57":1},"2":{"19":1,"22":3,"23":1,"31":2,"32":2,"44":2,"50":2,"51":2,"56":3,"57":3,"287":2}}],["returns",{"2":{"222":4}}],["return",{"0":{"197":1},"2":{"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":3,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"68":1,"69":1,"70":6,"78":2,"79":2,"92":1,"105":2,"107":2,"109":2,"113":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"139":1,"141":1,"146":3,"153":3,"161":2,"171":2,"172":1,"175":1,"176":2,"181":2,"182":2,"183":2,"184":1,"185":1,"219":1,"221":1,"222":3,"223":3,"227":1,"229":2,"230":1,"231":1,"249":1,"261":3,"264":2,"265":2}}],["r",{"2":{"6":1,"12":1,"15":1,"124":1,"125":1,"126":1,"222":1}}],["msg",{"2":{"295":1}}],["mcfunction",{"2":{"279":2}}],["mkdir",{"2":{"224":1}}],["mkdoc",{"0":{"187":1},"1":{"188":1,"189":1,"190":1,"191":1,"192":1,"193":1,"194":1,"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1,"205":1,"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1},"2":{"187":1}}],["md",{"2":{"224":13}}],["member",{"2":{"295":1}}],["memory",{"0":{"116":1},"2":{"103":3,"117":1,"118":3,"119":3,"120":3,"121":2,"137":1,"271":3}}],["meta",{"2":{"229":4,"286":1}}],["metadata",{"0":{"254":1},"2":{"229":13}}],["methods=",{"2":{"222":1}}],["methods",{"0":{"210":1},"2":{"222":1,"223":1}}],["method",{"0":{"190":2,"191":1,"192":1},"2":{"222":5,"223":13}}],["message的语言",{"2":{"276":1}}],["message的格式为",{"2":{"276":1}}],["message字段为简短的描述",{"2":{"276":1}}],["message请遵循以下规范",{"2":{"276":1}}],["message=",{"2":{"166":1,"295":1}}],["message=message",{"2":{"166":1}}],["messageevent",{"0":{"164":1,"165":1,"172":1,"183":1,"184":1,"185":1,"257":1},"1":{"165":1,"166":1},"2":{"165":1,"166":1,"172":1,"176":1,"178":1,"181":1,"182":1,"183":1,"184":1,"185":1,"257":1}}],["message",{"0":{"163":1,"165":3,"166":1,"167":1,"168":1,"173":1,"175":1,"177":1,"186":1},"1":{"164":1,"165":1,"166":1,"169":1,"170":1,"171":1,"172":1,"174":1,"175":1,"176":1,"178":1,"179":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1},"2":{"165":9,"166":5,"175":1,"176":2,"257":1,"276":1,"303":1,"304":1}}],["moved",{"0":{"151":1},"2":{"151":1}}],["moduletype",{"0":{"252":1}}],["module=module",{"2":{"229":1}}],["moduleinfo",{"0":{"213":1,"222":1,"223":1},"1":{"214":1,"215":1,"216":1,"217":1,"218":1},"2":{"222":2,"223":1}}],["module",{"0":{"155":1,"214":1,"221":1,"222":1,"223":1,"224":1,"225":1,"229":1,"237":2,"252":1,"253":1,"264":1},"2":{"155":3,"158":1,"221":2,"222":11,"223":5,"224":19,"225":1,"229":26,"230":9,"231":1,"249":1,"255":1,"264":1}}],["modified",{"0":{"148":1},"2":{"148":2,"149":1,"150":1,"151":1,"152":1,"153":4}}],["model",{"0":{"233":1,"250":1},"1":{"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"248":1,"249":1,"250":1,"251":1,"252":1,"253":1,"254":1},"2":{"233":1}}],["mode为true",{"2":{"143":1}}],["mode",{"2":{"2":2,"6":1,"274":1,"295":2,"296":1}}],["must",{"2":{"67":1,"76":1,"148":1}}],["match",{"2":{"231":1}}],["matcher",{"0":{"168":1,"169":1,"174":3,"175":1,"176":1},"1":{"169":1,"170":2,"171":2,"172":2},"2":{"168":1,"174":9,"175":6,"176":1}}],["matter=none",{"2":{"223":1}}],["matter",{"0":{"223":1},"2":{"223":4,"224":3}}],["markdown",{"0":{"223":1},"2":{"223":2,"224":1}}],["makedirs",{"2":{"220":1}}],["manually",{"2":{"66":1}}],["manager",{"0":{"131":1,"232":1},"1":{"132":1,"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1},"2":{"19":1,"20":1,"22":1,"23":1,"26":1,"131":1,"232":1}}],["maplemono提供的字体",{"2":{"10":1}}],["mainprocess",{"2":{"267":1}}],["main",{"0":{"100":1},"2":{"6":1,"12":1,"33":1,"66":4,"70":4,"76":1,"78":1,"79":1,"103":1,"104":1,"105":1,"106":1,"107":1,"109":5,"110":1,"111":1,"268":6,"275":1,"290":1}}],["misans",{"2":{"10":1}}],["minecraftonebot",{"2":{"9":1}}],["minecraft",{"0":{"9":1}}],["m",{"2":{"6":1,"12":1,"15":1,"174":2,"231":1,"304":1}}],["答疑",{"0":{"5":1},"1":{"6":1,"7":1,"8":1,"9":1,"10":1}}],["要使用其他通信方式请访问onebot",{"2":{"3":1}}],["如",{"2":{"276":2}}],["如需往轻雪仓库提交代码",{"2":{"273":1}}],["如需自定义请手动添加",{"2":{"2":1}}],["如何开发",{"0":{"273":1},"1":{"274":1}}],["如果是文档相关的开发",{"2":{"273":1}}],["如果你接触过minecraft的资源包",{"2":{"291":1}}],["如果你想同时输出多行内容可以尝试换行符",{"2":{"279":1}}],["如果你没有安装git直接下载源代码运行",{"2":{"15":1}}],["如果你给轻雪配置了accesstoken",{"2":{"3":1}}],["如果装置上有多个环境",{"2":{"15":1}}],["version=",{"2":{"286":1}}],["version",{"0":{"159":1},"2":{"292":1}}],["venv来创建虚拟环境",{"2":{"12":1}}],["venv",{"2":{"12":3}}],["validate",{"2":{"67":1}}],["value=ast",{"2":{"222":1}}],["value",{"0":{"104":1,"205":1},"2":{"104":5,"119":3,"123":3,"222":6,"223":3,"271":2,"295":2,"299":1}}],["valueerror",{"2":{"66":2,"76":1}}],["value2",{"2":{"2":1}}],["value1",{"2":{"2":1}}],["var=value",{"2":{"280":1}}],["var2=value2",{"2":{"280":1}}],["var1=value1>",{"2":{"280":1}}],["var",{"0":{"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"71":1,"72":1,"73":1,"74":1,"75":1,"80":1,"81":1,"100":1,"101":1,"116":1,"117":1,"144":1,"145":1,"159":1,"178":1,"225":1},"2":{"223":2}}],["v",{"2":{"13":2,"123":2,"223":2}}],["v11协议api",{"2":{"295":2}}],["v11",{"2":{"3":1,"282":1}}],["地址取决于配置文件",{"2":{"3":1}}],["地址",{"2":{"3":1}}],["反向websocket",{"2":{"3":1}}],["协议端",{"2":{"6":1}}],["协议",{"2":{"3":1}}],["说明",{"2":{"3":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"76":1,"77":1,"78":1,"79":1,"80":1,"81":1,"92":1,"95":1,"96":1,"97":1,"98":1,"100":1,"101":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"116":1,"117":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"136":1,"137":1,"139":1,"141":1,"144":1,"145":1,"146":1,"153":1,"155":1,"159":1,"162":1,"165":1,"166":1,"170":1,"171":1,"172":1,"178":1,"219":1,"220":1,"222":1,"223":1,"224":1,"225":1,"227":1,"229":1,"230":1,"231":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":1,"295":1,"297":2,"299":1}}],["与nonebot对接的onebot实现端配置",{"0":{"3":1}}],["示例",{"0":{"3":1,"268":1,"271":1,"281":1}}],["监听目录们",{"2":{"153":1}}],["监听地址",{"2":{"1":1}}],["监视文件变化并自动重载",{"2":{"2":1}}],["开始",{"0":{"285":1},"1":{"286":1,"287":1,"288":1,"289":1,"290":1}}],["开发文档是详细的",{"2":{"276":1}}],["开发过程中可以使用mypy",{"2":{"274":1}}],["开发指南",{"0":{"272":1},"1":{"273":1,"274":1,"275":1,"276":1,"277":1}}],["开发者模式",{"2":{"2":1}}],["开发者选项",{"2":{"2":1}}],["开启后将会启动监视者",{"2":{"2":1}}],["开启后将不会加载任何第三方nonebot插件",{"2":{"2":1}}],["开启会自动重载bot或者资源",{"2":{"2":1}}],["2s戳两次",{"2":{"281":1}}],["22",{"2":{"256":1}}],["27",{"2":{"131":1,"160":1}}],["24",{"2":{"36":1,"233":1}}],["23",{"2":{"36":1,"187":1,"228":1,"232":1}}],["20代替空格",{"2":{"295":1}}],["20和end",{"2":{"281":1}}],["2024",{"2":{"36":2,"131":2,"154":2,"160":2,"163":2,"167":2,"168":2,"173":2,"177":2,"186":2,"187":2,"228":2,"232":2,"233":2,"256":2,"258":2}}],["2020",{"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["20216中的20216替换为你的端口号",{"2":{"13":1}}],["20216",{"2":{"1":1,"3":2,"13":2}}],["20",{"2":{"15":1}}],["2019+",{"2":{"15":1}}],["2",{"2":{"2":1,"281":1,"292":1}}],["建议",{"0":{"274":1}}],["建议1gb以上",{"2":{"15":1}}],["建议开启",{"2":{"2":1}}],["建议迁移到liteyuki下",{"2":{"1":1}}],["默认普通图片",{"2":{"295":1}}],["默认开启",{"2":{"293":1}}],["默认插件加载器",{"2":{"259":1}}],["默认执行扁平化选项",{"2":{"127":1,"128":1}}],["默认值",{"2":{"34":1,"35":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"71":1,"72":1,"73":1,"74":1,"75":1,"80":1,"81":1,"100":1,"101":1,"105":1,"116":1,"117":1,"144":1,"145":1,"159":1,"178":1,"225":1}}],["默认false",{"2":{"2":1}}],["默认语言",{"2":{"2":1}}],["默认为本机",{"2":{"1":1}}],["city",{"2":{"301":1,"302":1}}],["css相对路径引用b中的css",{"2":{"292":1}}],["css",{"2":{"291":1,"292":1}}],["cwd",{"2":{"264":1}}],["cfg",{"2":{"155":4}}],["current|bot",{"2":{"303":1}}],["current|group",{"2":{"303":1}}],["current",{"2":{"146":3,"303":2,"304":1}}],["custom",{"2":{"2":4}}],["created",{"0":{"149":1},"2":{"149":1}}],["create",{"2":{"110":1}}],["child",{"2":{"222":2}}],["check",{"0":{"66":1},"2":{"66":8,"67":1}}],["change",{"2":{"297":1,"298":1}}],["changed",{"2":{"287":1}}],["channel时的通道标识",{"2":{"268":1}}],["channel即可",{"2":{"268":1}}],["channel及passive",{"2":{"268":1}}],["channel函数获取通道对象",{"2":{"268":2}}],["channel=none",{"2":{"166":1}}],["channeldeliver",{"0":{"132":1},"1":{"133":1},"2":{"137":1}}],["channels",{"0":{"77":2,"79":1,"84":1},"2":{"77":4,"79":2,"83":1,"84":3}}],["channel",{"0":{"58":1,"65":1,"71":1,"72":1,"73":1,"74":2,"75":2,"76":3,"77":1,"78":2,"79":1,"80":2,"81":2,"82":1,"83":1,"93":1,"108":1,"109":1,"110":1,"133":8,"165":2},"1":{"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":2,"67":2,"68":2,"69":2,"70":2,"71":1,"72":1,"73":1,"74":1,"75":1,"76":1,"77":1,"78":1,"79":1,"80":1,"81":1,"82":1,"83":1,"84":1,"94":1,"95":1,"96":1,"97":1,"98":1},"2":{"23":2,"66":7,"67":1,"68":1,"71":3,"72":3,"73":3,"74":2,"75":1,"76":19,"77":5,"78":9,"79":7,"80":3,"81":6,"82":11,"83":7,"84":2,"88":2,"103":4,"105":1,"107":1,"108":4,"109":8,"110":3,"111":2,"133":12,"137":12,"165":4,"166":2,"268":12}}],["chan",{"2":{"23":4,"78":5,"79":5,"83":3,"84":3,"103":2,"104":1,"105":6,"106":1,"107":6,"108":1,"111":1,"117":1,"118":5,"119":2,"120":2,"121":4,"137":2}}],["c",{"2":{"36":1,"123":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"231":1,"232":1,"233":1,"256":1,"258":1,"262":4,"264":2,"304":1}}],["cmd",{"2":{"22":5,"279":2,"280":1}}],["case",{"2":{"231":4}}],["category",{"2":{"223":1,"224":2}}],["cannot",{"2":{"67":1,"68":1,"109":1,"111":1}}],["can",{"2":{"33":1,"70":1}}],["calling",{"0":{"91":2},"2":{"91":4,"92":1}}],["callback",{"0":{"144":1,"153":2},"2":{"70":1,"153":4}}],["callable",{"0":{"70":3,"109":1,"153":1,"171":1,"261":2,"265":2},"2":{"37":1,"38":1,"40":1,"41":1,"45":1,"59":1,"60":1,"62":1,"63":1,"70":10,"109":2,"135":1,"144":1,"145":1,"153":1,"171":1,"178":1,"261":2,"265":4}}],["call",{"0":{"92":1,"183":1,"261":1},"2":{"19":1,"22":2,"92":1,"146":4,"183":1,"261":7}}],["cache",{"2":{"13":2}}],["cls",{"0":{"113":1},"2":{"113":6,"222":1,"223":11}}],["close",{"0":{"98":1},"2":{"98":1,"262":1}}],["closed",{"2":{"66":1,"67":2,"68":2,"95":1}}],["clone",{"2":{"12":1,"13":1}}],["classdef",{"2":{"222":3}}],["classes=",{"2":{"222":1}}],["classes",{"0":{"216":1},"2":{"222":1,"223":1}}],["classinfo",{"0":{"207":1,"216":1},"1":{"208":1,"209":1,"210":1,"211":1,"212":1},"2":{"222":1}}],["classmethod",{"0":{"192":1},"2":{"112":1,"113":1,"222":1}}],["class",{"0":{"18":1,"43":1,"65":1,"86":1,"90":1,"94":1,"102":1,"112":1,"132":1,"134":1,"147":1,"157":1,"164":1,"169":1,"179":1,"188":1,"192":1,"194":1,"202":1,"207":1,"213":1,"234":1,"240":1,"248":1},"1":{"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":1,"67":1,"68":1,"69":1,"70":1,"87":1,"91":1,"92":1,"95":1,"96":1,"97":1,"98":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"113":1,"114":1,"115":1,"133":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"148":1,"149":1,"150":1,"151":1,"152":1,"165":1,"166":1,"170":1,"171":1,"172":1,"180":1,"181":1,"182":1,"183":1,"189":1,"190":1,"191":1,"192":1,"193":1,"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"203":1,"204":1,"205":1,"206":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"235":1,"236":1,"237":1,"238":1,"239":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"249":1,"250":1,"251":1,"252":1,"253":1,"254":1},"2":{"222":24,"223":2}}],["cpu",{"2":{"15":1,"293":1}}],["centos",{"2":{"15":1}}],["cd",{"2":{"12":1,"13":1}}],["cqhttp",{"2":{"8":1}}],["color",{"2":{"231":7}}],["color=",{"2":{"162":5}}],["colors=true",{"2":{"20":2,"229":3}}],["code插件liteyuki",{"2":{"283":1}}],["code=ast",{"2":{"222":2}}],["code",{"0":{"199":1},"2":{"153":3,"223":6,"224":2}}],["codemodifiedhandler",{"0":{"147":1},"1":{"148":1,"149":1,"150":1,"151":1,"152":1},"2":{"153":1}}],["coro",{"0":{"262":1,"263":1},"2":{"262":5,"263":2}}],["coroutine",{"0":{"261":1,"262":2,"263":2,"265":1},"2":{"45":1,"60":1,"63":1,"70":2,"109":1,"178":1,"261":1,"262":2,"263":3,"265":2}}],["core",{"0":{"130":1,"131":1},"1":{"132":1,"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1}}],["copy",{"2":{"123":1}}],["copyright",{"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["content",{"2":{"222":2,"223":17,"224":2}}],["continue",{"2":{"128":1,"222":1,"224":1,"230":3}}],["conn",{"2":{"66":4,"67":1,"68":1,"95":2}}],["configs",{"0":{"128":1},"2":{"128":1,"129":1}}],["config=self",{"2":{"25":1}}],["config",{"0":{"34":1,"35":1,"122":1,"123":2,"129":1,"162":1,"250":1},"1":{"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1},"2":{"2":2,"19":2,"25":1,"34":2,"35":6,"123":9,"124":6,"125":6,"126":6,"127":7,"128":4,"129":9,"155":1,"162":3,"259":2,"295":4,"296":1}}],["count",{"0":{"117":1},"2":{"19":1,"22":2}}],["combined",{"2":{"181":2,"182":2}}],["commit",{"2":{"276":2}}],["comm",{"0":{"58":1,"85":1,"88":1,"89":1,"93":1,"99":1},"1":{"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"76":1,"77":1,"78":1,"79":1,"80":1,"81":1,"82":1,"83":1,"84":1,"86":1,"87":1,"90":1,"91":1,"92":1,"94":1,"95":1,"96":1,"97":1,"98":1,"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1},"2":{"268":2,"271":2}}],["command>",{"2":{"280":2}}],["command",{"0":{"295":1},"1":{"296":1},"2":{"1":2}}],["complete",{"2":{"262":2}}],["completion",{"2":{"2":1}}],["compat",{"0":{"35":2},"2":{"35":8}}],["com",{"2":{"12":1,"13":1,"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["cn",{"0":{"223":1,"224":1},"2":{"2":1,"223":2,"224":1}}],["duration>",{"2":{"303":1}}],["duration",{"2":{"303":2,"304":1}}],["driver",{"2":{"268":4}}],["dog",{"2":{"286":1,"287":1}}],["does",{"2":{"230":1}}],["dot",{"2":{"222":1}}],["docs",{"0":{"224":1},"2":{"224":3,"275":1,"295":1,"296":1}}],["docstring或liteyuki",{"2":{"276":1}}],["docstring=method",{"2":{"222":1}}],["docstring=module",{"2":{"222":1}}],["docstring=class",{"2":{"222":1}}],["docstring=function",{"2":{"222":1}}],["docstring",{"0":{"198":1,"206":1,"209":1,"218":1},"2":{"222":16,"223":12,"276":1}}],["docker相关内容目录",{"2":{"275":1}}],["docker",{"2":{"13":3,"275":1}}],["d",{"2":{"117":2,"118":4,"119":4,"120":4,"121":2,"264":2,"304":1}}],["data=",{"2":{"166":1}}],["data",{"0":{"67":1,"82":1,"83":1,"84":1,"87":1,"96":1,"108":1,"110":1,"118":1,"119":1,"120":1,"121":1,"165":1,"220":1},"2":{"67":6,"68":2,"69":2,"70":5,"81":2,"82":7,"83":7,"84":4,"87":3,"96":2,"97":1,"108":4,"109":3,"110":3,"111":6,"118":4,"119":3,"120":2,"121":2,"165":5,"220":5,"224":5,"268":7}}],["daemon=true",{"2":{"22":1,"136":1,"263":1}}],["darwin",{"2":{"22":1}}],["disable",{"2":{"295":1,"296":1,"297":2,"298":2}}],["display",{"0":{"231":2},"2":{"229":7,"231":4}}],["diagnose=false",{"2":{"162":1}}],["dir",{"0":{"224":1,"230":1},"2":{"224":5,"230":16,"259":2}}],["dirname",{"2":{"220":2}}],["directory",{"2":{"128":6,"153":2,"230":1}}],["directories=",{"2":{"287":1}}],["directories",{"0":{"128":1,"153":1},"2":{"128":2,"153":3}}],["dirs",{"0":{"128":1},"2":{"1":1,"128":1,"129":1,"221":1,"259":1}}],["dict",{"0":{"77":1,"79":1,"82":1,"83":1,"84":1,"87":1,"92":1,"107":1,"118":1,"119":1,"120":1,"121":1,"123":2,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"162":1,"165":2,"166":1,"220":1,"227":1,"247":1},"2":{"19":1,"73":1,"75":1,"77":2,"79":3,"82":1,"83":1,"84":1,"87":1,"92":1,"100":1,"101":1,"103":2,"107":3,"118":1,"119":1,"120":1,"121":1,"123":3,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"135":3,"162":1,"165":2,"166":1,"220":1,"224":1,"227":2,"229":6}}],["description=",{"2":{"286":1}}],["description",{"0":{"242":1},"2":{"292":1}}],["details>",{"2":{"223":4}}],["debounce",{"0":{"146":1},"2":{"146":1,"147":1,"148":1}}],["debug",{"2":{"2":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":2,"124":1,"125":1,"126":1,"136":1,"161":2,"162":2,"287":1}}],["deepcopy",{"2":{"123":1}}],["del",{"2":{"106":2}}],["deleted",{"0":{"150":1},"2":{"150":1}}],["delete",{"0":{"106":1,"120":1},"2":{"106":2,"119":1,"120":3}}],["delivery",{"2":{"137":1}}],["deliver",{"0":{"74":1,"75":1,"80":1,"81":1,"133":2},"2":{"76":1,"78":1,"79":1,"80":1,"81":2,"82":2,"83":2,"84":1,"133":6,"137":6}}],["delay",{"0":{"22":1},"2":{"22":3}}],["decorator",{"2":{"70":2,"109":2,"146":2,"153":2,"171":2,"222":13}}],["deprecated",{"2":{"35":1}}],["depth=1",{"2":{"12":1,"13":1}}],["deftype",{"0":{"188":1,"200":1},"1":{"189":1,"190":1,"191":1,"192":1,"193":1},"2":{"222":4,"223":1}}],["def",{"2":{"21":1,"45":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"69":1,"70":2,"82":1,"83":1,"84":1,"109":2,"110":1,"111":1,"113":1,"118":1,"119":1,"120":1,"121":1,"146":2,"148":1,"153":2,"171":1,"172":1,"176":1,"181":1,"182":1,"183":1,"184":1,"185":1,"222":4,"223":2,"257":1,"265":1,"268":3,"287":1}}],["defaults",{"2":{"22":1,"23":1,"34":1,"35":1,"70":1}}],["default",{"0":{"34":1,"35":1,"105":1,"129":1,"195":1,"196":1,"197":1,"198":1,"200":1,"201":1,"203":1,"204":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"241":1,"251":1,"252":1,"253":1,"259":1},"2":{"2":1,"34":3,"35":3,"74":1,"75":1,"105":5,"118":3,"129":1,"155":1,"161":1,"259":1}}],["developer",{"2":{"286":1}}],["dev",{"0":{"142":1,"143":1,"154":1},"1":{"144":1,"145":1,"146":1,"147":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"155":1},"2":{"2":1,"287":1,"290":1}}],["访问令牌",{"2":{"2":1}}],["a包中的index",{"2":{"292":1}}],["am",{"2":{"268":6}}],["arbitrary",{"0":{"250":1}}],["arg",{"2":{"222":13,"223":16}}],["argv",{"2":{"22":1}}],["args=coro",{"2":{"263":1}}],["args=",{"2":{"22":1,"136":1,"222":2}}],["args",{"0":{"24":1,"45":1,"54":1,"56":1,"92":1,"137":1,"196":1},"2":{"22":2,"24":2,"45":3,"54":2,"56":2,"92":2,"137":3,"146":2,"222":8,"223":8,"265":2,"295":4}}],["abs",{"2":{"224":4}}],["application",{"0":{"235":2},"2":{"231":1}}],["append",{"2":{"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"70":2,"109":2,"171":1,"174":1,"221":1,"222":5}}],["api格式为onebot",{"2":{"295":1}}],["api文档",{"2":{"282":1}}],["api也有差别",{"2":{"282":1}}],["api",{"0":{"282":1},"2":{"224":6,"280":3,"281":2,"295":3}}],["add",{"0":{"137":1,"174":1},"2":{"137":1,"162":1,"174":1,"175":1,"230":1}}],["adapter获取详细信息",{"2":{"3":1}}],["attributes=",{"2":{"222":2}}],["attributes",{"0":{"211":1,"217":1},"2":{"222":2,"223":2}}],["attributeinfo",{"0":{"202":1,"211":1,"217":1},"1":{"203":1,"204":1,"205":1,"206":1},"2":{"222":2}}],["attr",{"0":{"114":1,"115":1,"189":1,"190":1,"191":1,"192":1,"193":1,"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"203":1,"204":1,"205":1,"206":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"235":1,"236":1,"237":1,"238":1,"239":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"250":1,"251":1,"252":1,"253":1,"254":1},"2":{"222":2,"223":14}}],["assign",{"2":{"222":2}}],["ast",{"2":{"222":29}}],["as",{"2":{"106":1,"220":1,"222":1,"229":1,"262":1}}],["asynchronous",{"2":{"265":1}}],["async=isinstance",{"2":{"222":2}}],["asyncfunctiondef",{"2":{"222":3}}],["async",{"0":{"21":1,"38":1,"41":1,"45":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"60":1,"63":1,"69":2,"110":1,"111":1,"172":1,"183":1,"184":1,"185":1,"201":1,"257":1,"265":1},"2":{"39":1,"42":1,"45":3,"61":1,"64":1,"69":1,"70":1,"100":1,"101":1,"109":1,"110":1,"111":1,"176":1,"181":1,"182":1,"184":1,"185":1,"223":4,"257":1,"265":2,"268":2}}],["asyncio",{"2":{"19":2,"20":1,"21":1,"45":1,"69":1,"110":1,"262":5,"268":2}}],["a",{"2":{"67":1,"68":1,"123":1,"224":2,"230":1,"264":1,"286":1}}],["annassign",{"2":{"222":1}}],["annotation",{"2":{"222":6}}],["an",{"2":{"67":1,"76":1}}],["and",{"0":{"182":1},"2":{"67":1,"153":1,"182":2,"222":7,"223":1,"230":3,"287":2}}],["any=none",{"2":{"34":1,"35":1}}],["any",{"0":{"34":2,"35":2,"70":2,"82":1,"83":1,"84":1,"87":1,"92":1,"104":1,"105":2,"107":1,"108":1,"110":1,"118":1,"119":1,"120":1,"121":1,"123":2,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":4,"152":1,"165":2,"166":1,"205":1,"247":1,"261":1,"265":1},"2":{"19":1,"34":3,"35":3,"37":1,"38":1,"40":1,"41":1,"59":1,"60":3,"63":2,"70":7,"73":1,"74":1,"75":1,"78":1,"79":1,"82":1,"83":1,"84":1,"87":1,"92":1,"103":3,"104":1,"105":4,"107":3,"108":1,"109":1,"110":1,"118":1,"119":1,"120":1,"121":1,"123":2,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":4,"152":1,"165":2,"166":1,"176":1,"222":7,"224":1,"261":1,"265":1}}],["author",{"0":{"245":1},"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["auto",{"2":{"1":2,"2":1}}],["after",{"0":{"28":1,"29":1,"32":1,"47":1,"49":1,"51":1,"53":1,"55":1,"57":1},"2":{"28":2,"29":2,"32":2,"44":3,"47":2,"49":2,"51":2,"53":3,"55":3,"57":3,"268":1}}],["awaitable",{"2":{"38":1,"41":1}}],["await",{"2":{"21":1,"45":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"69":1,"70":2,"109":1,"111":2,"172":2,"181":2,"182":2,"183":1,"268":1,"280":1,"281":1,"283":1}}],["active和",{"2":{"268":1}}],["active和chan",{"2":{"137":1}}],["active=channel",{"2":{"137":1}}],["active=chan",{"2":{"137":1}}],["active",{"0":{"71":1,"74":1,"80":1,"133":2},"2":{"23":6,"71":1,"80":1,"103":2,"108":1,"111":1,"133":6,"137":4,"268":11}}],["activate激活",{"2":{"12":1}}],["activate来激活虚拟环境",{"2":{"12":1}}],["accesstoken",{"2":{"3":1}}],["access",{"2":{"2":1}}],["already",{"2":{"66":2,"76":1}}],["alive",{"0":{"21":1,"141":1},"2":{"21":2,"139":1,"141":2}}],["all",{"0":{"107":1,"121":1,"136":1,"138":1,"140":1},"2":{"20":1,"22":1,"26":1,"36":1,"107":2,"120":1,"121":3,"131":1,"136":1,"138":1,"140":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["allowed",{"0":{"250":1}}],["allow",{"2":{"2":1}}],["alconna提供的命令解析功能",{"2":{"10":1}}],["alconna是否自动补全指令",{"2":{"2":1}}],["alconna",{"2":{"2":1}}],["高级nonebot配置",{"2":{"2":1}}],["以上内容仅用于项目的优化",{"2":{"293":1}}],["以避免出现无法预料的问题",{"2":{"291":1}}],["以避免依赖冲突",{"2":{"12":1}}],["以下我们会编写一个简单的插件",{"2":{"287":1}}],["以下为默认值",{"2":{"2":1}}],["以保证litedoc能够正确解析并生成文档",{"2":{"276":1}}],["以前的最外层配置项仍可为nonebot服务",{"2":{"1":1}}],["period\`",{"2":{"304":1}}],["period>",{"2":{"303":1}}],["period",{"2":{"303":2}}],["poke",{"2":{"281":4}}],["port",{"2":{"1":1}}],["publish=publish",{"2":{"137":1}}],["publish",{"0":{"73":1,"108":1,"133":1},"2":{"73":1,"103":2,"108":2,"111":2,"133":3}}],["page为页数",{"2":{"297":2}}],["page",{"2":{"297":2}}],["pacman",{"0":{"297":1},"1":{"298":1}}],["pack",{"2":{"292":2,"297":3}}],["param",{"2":{"294":1}}],["parts",{"2":{"264":2}}],["parent",{"2":{"222":4}}],["parse",{"2":{"222":1}}],["pass",{"2":{"96":1,"97":1,"98":1}}],["passive=channel",{"2":{"137":1}}],["passive=chan",{"2":{"137":1}}],["passive",{"0":{"72":1,"75":1,"81":1,"133":2},"2":{"72":1,"76":1,"78":1,"79":1,"81":2,"82":2,"83":2,"84":1,"103":2,"104":1,"105":1,"106":1,"107":1,"117":1,"118":2,"119":2,"120":2,"121":1,"133":6,"137":5,"268":13}}],["pathlib",{"2":{"229":1}}],["paths=none",{"2":{"224":1}}],["paths",{"0":{"224":1},"2":{"224":4}}],["path=dot",{"2":{"222":1}}],["path",{"0":{"155":2,"214":1,"219":3,"222":1,"225":1,"229":2,"264":3},"2":{"6":3,"13":1,"15":1,"127":1,"128":2,"155":4,"219":8,"220":3,"221":1,"222":6,"224":22,"225":2,"229":16,"230":26,"264":11,"287":5}}],["profile",{"2":{"299":4}}],["property",{"0":{"193":2},"2":{"222":2}}],["processes",{"2":{"23":1,"135":1,"139":2,"141":1}}],["processmanager",{"0":{"134":1},"1":{"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1},"2":{"19":2}}],["process",{"0":{"23":1,"30":2,"31":3,"40":1,"41":1,"42":1,"45":1,"48":3,"50":3,"54":1,"56":1,"141":1},"2":{"19":1,"20":1,"22":1,"23":4,"26":1,"30":5,"31":6,"33":2,"42":2,"44":4,"45":2,"48":6,"50":6,"54":2,"56":2,"66":4,"70":3,"76":1,"78":1,"79":1,"104":1,"105":1,"106":1,"107":1,"109":3,"111":2,"135":1,"136":2,"138":2,"139":7,"141":2,"268":8,"287":2}}],["private",{"0":{"222":1},"2":{"222":5}}],["priority",{"0":{"170":1,"175":1,"176":1},"2":{"170":4,"174":2,"175":2,"176":2}}],["print",{"2":{"19":1,"172":1,"224":1,"229":1}}],["pwd",{"2":{"13":3}}],["p",{"2":{"13":1,"304":1}}],["platform",{"2":{"22":3}}],["playwright安装失败",{"2":{"6":1}}],["plugintype",{"0":{"231":1,"234":1,"244":2},"1":{"235":1,"236":1,"237":1,"238":1,"239":1},"2":{"231":5,"286":1}}],["pluginmetadata",{"0":{"240":1,"254":1},"1":{"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1},"2":{"229":4,"286":2}}],["plugin的函数签名",{"2":{"155":1}}],["plugin进行通信",{"2":{"8":1}}],["plugin",{"0":{"154":1,"226":1,"227":1,"228":1,"229":2,"230":2,"231":1,"232":1,"233":1,"248":1,"258":1},"1":{"155":1,"227":1,"229":1,"230":1,"231":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"248":1,"249":2,"250":2,"251":2,"252":2,"253":2,"254":2,"259":1},"2":{"1":1,"10":1,"19":2,"154":1,"227":2,"229":14,"230":5,"231":4,"255":1,"259":6,"286":4,"289":1,"290":2,"297":5}}],["plugins下创建一个文件",{"2":{"290":1}}],["plugins中添加你的插件路径",{"2":{"289":1}}],["plugins目录下为插件目录",{"2":{"275":1}}],["plugins和nonebot",{"2":{"275":1}}],["plugins",{"0":{"155":1,"227":1,"230":1,"255":1,"256":1,"258":1,"259":1},"1":{"257":1,"259":1},"2":{"1":1,"19":1,"155":6,"227":2,"229":3,"230":9,"255":1,"259":4,"275":2,"287":1,"290":2}}],["py即可启动插件",{"2":{"290":1}}],["pyo",{"2":{"287":1}}],["pycache",{"2":{"287":1}}],["pyc",{"2":{"287":1}}],["pycharm",{"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["py文件",{"2":{"286":1}}],["py文件或一个包含",{"2":{"286":1}}],["py的文件夹即可被识别为插件",{"2":{"286":1}}],["pyfile",{"0":{"225":1},"2":{"224":8,"225":1}}],["pyi",{"2":{"221":1,"222":1}}],["py",{"2":{"12":1,"36":1,"131":1,"154":1,"160":1,"163":1,"167":2,"168":1,"173":1,"177":1,"186":1,"187":1,"221":1,"222":1,"224":1,"228":1,"230":3,"232":1,"233":1,"256":1,"258":2,"271":1,"275":1,"286":1,"287":1,"290":2,"292":1}}],["py来启动bot",{"2":{"6":1}}],["python格式",{"2":{"279":1}}],["pythonfrom",{"2":{"268":1,"271":1,"286":1,"290":1}}],["pythonimport",{"2":{"268":1,"287":1}}],["pythonasync",{"2":{"21":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"69":1,"111":1,"172":1,"183":1}}],["pythondef",{"2":{"19":1,"20":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"44":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"66":1,"67":1,"68":1,"70":1,"76":1,"77":1,"78":1,"79":1,"87":1,"91":1,"92":1,"95":1,"96":1,"97":1,"98":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"133":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"146":1,"149":1,"150":1,"151":1,"152":1,"153":1,"155":1,"161":1,"162":1,"165":1,"166":1,"170":1,"171":1,"174":1,"175":1,"176":1,"180":1,"181":1,"182":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"227":1,"229":1,"230":1,"231":1,"249":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":1}}],["python为你的python可执行文件路径",{"2":{"15":1}}],["python3",{"2":{"12":1}}],["python是你要用来运行bot的可执行文件",{"2":{"6":1}}],["python",{"2":{"6":2,"12":1,"15":1,"45":1,"82":1,"83":1,"84":1,"110":1,"113":1,"118":1,"119":1,"120":1,"121":1,"148":1,"184":1,"185":1,"222":1,"257":1,"276":1}}],["pipe",{"2":{"66":2}}],["pip",{"2":{"6":1,"12":1,"15":1,"229":1}}],["pip和python不对应怎么办",{"2":{"6":1}}],["utils",{"0":{"260":1},"1":{"261":1,"262":1,"263":1,"264":1,"265":1},"2":{"275":1}}],["utf",{"2":{"124":1,"125":1,"126":1,"220":1,"222":1}}],["usage",{"0":{"243":1}}],["user",{"0":{"165":1,"299":1},"2":{"165":3,"166":2,"185":1,"281":3}}],["used",{"2":{"70":1,"255":1}}],["use",{"2":{"1":1,"35":1,"229":1}}],["unload",{"2":{"297":1,"298":1}}],["uninstall",{"2":{"297":1,"298":1}}],["uninstall卸载问题插件",{"2":{"6":1}}],["until",{"2":{"262":2}}],["unclassified",{"0":{"238":2,"244":1}}],["unparse",{"2":{"222":10}}],["unsupported",{"2":{"127":1}}],["update",{"2":{"1":1,"2":1,"127":3,"128":1,"129":1,"295":1,"296":1,"297":1,"298":1}}],["某些控制台字体不可用",{"2":{"1":1}}],["tests",{"2":{"275":1}}],["test",{"0":{"239":2},"2":{"231":1}}],["text",{"2":{"223":3}}],["terminated",{"2":{"139":1}}],["terminate",{"0":{"139":1,"140":1},"2":{"22":1,"26":1,"139":2,"140":2}}],["the",{"2":{"158":1,"229":1,"255":1}}],["this",{"2":{"158":1,"255":1}}],["thread",{"0":{"263":1},"2":{"22":1,"136":1,"263":2}}],["threading",{"0":{"115":1},"2":{"19":1,"22":1,"136":1,"263":1}}],["types",{"0":{"250":1}}],["type=plugintype",{"2":{"286":1}}],["type=attr",{"2":{"222":1}}],["type=ast",{"2":{"222":3}}],["type=def",{"2":{"222":1}}],["type=deftype",{"2":{"222":1}}],["type=self",{"2":{"166":2}}],["typeerror",{"2":{"66":1,"67":1,"76":1}}],["type",{"0":{"66":1,"165":2,"197":1,"200":1,"204":1,"231":1,"244":1},"2":{"66":11,"67":7,"76":1,"165":6,"166":2,"222":11,"223":13,"229":2,"231":4,"276":1}}],["typealias",{"2":{"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"144":1,"145":1,"178":1}}],["target",{"0":{"137":3,"219":1},"2":{"137":5,"219":3,"222":5}}],["target=run",{"2":{"263":1}}],["target=self",{"2":{"136":1}}],["target=os",{"2":{"22":1}}],["targets",{"2":{"135":1,"136":1,"137":1,"138":1,"140":1,"141":1,"222":2}}],["task",{"2":{"110":1,"136":1}}],["tasks",{"2":{"45":2}}],["tuple=",{"2":{"137":1}}],["tuplestr",{"2":{"35":1}}],["tuple",{"0":{"35":1,"82":1,"83":1,"84":1,"92":1,"118":1,"119":1,"120":1,"121":1,"133":2,"137":1,"153":1,"196":1},"2":{"35":1,"73":1,"75":1,"82":1,"83":1,"84":1,"92":1,"103":3,"118":1,"119":1,"120":1,"121":1,"133":2,"135":2,"153":1}}],["title",{"2":{"224":2}}],["time>",{"2":{"280":1}}],["timeout",{"2":{"139":1}}],["time",{"2":{"22":1,"36":1,"131":1,"146":9,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["tip",{"2":{"12":1,"13":1,"283":1,"292":1,"294":1}}],["t",{"0":{"65":1,"67":1,"68":1,"69":1,"70":2},"1":{"66":1,"67":1,"68":1,"69":1,"70":1},"2":{"13":1,"33":1,"59":1,"60":1,"62":1,"63":1,"67":2,"68":2,"69":2,"70":7}}],["txt",{"2":{"12":1}}],["txt来安装依赖",{"2":{"6":1,"15":1}}],["tree",{"2":{"222":3}}],["traceback",{"2":{"172":1,"229":1}}],["try",{"2":{"20":1,"21":1,"106":1,"172":1,"229":1,"262":1}}],["trss",{"2":{"8":1,"14":1}}],["true时例如docs",{"2":{"224":1}}],["true下启动轻雪",{"2":{"6":1}}],["true",{"0":{"106":1,"153":1,"222":1,"230":1,"250":1},"2":{"1":3,"2":1,"68":1,"111":1,"162":1,"183":1,"184":1,"224":1,"268":2,"274":1}}],["tokyo",{"2":{"301":1}}],["token",{"2":{"2":1}}],["top",{"0":{"224":1},"2":{"224":3}}],["toml",{"0":{"126":1},"2":{"126":4,"127":2,"129":1}}],["toml和config目录下的所有配置文件",{"2":{"0":1}}],["to",{"0":{"220":1,"264":1},"2":{"6":3,"13":1,"15":2,"22":1,"23":1,"34":1,"35":1,"67":1,"70":1,"220":1,"224":1,"229":5,"230":2,"255":1,"264":2}}],["image",{"2":{"295":2,"296":1}}],["implemented",{"2":{"148":1}}],["import",{"2":{"117":1,"229":1,"268":5,"271":1,"286":2,"287":3,"290":1}}],["iter",{"2":{"222":2}}],["items",{"2":{"77":1,"123":2,"220":1,"223":1,"224":1}}],["i",{"2":{"174":2,"268":6}}],["ignored",{"0":{"224":1},"2":{"224":7}}],["ignore",{"0":{"106":1,"222":1,"230":1},"2":{"106":3,"222":5,"224":1,"230":5}}],["id仅超级用户可用",{"2":{"295":1}}],["id=user",{"2":{"281":2}}],["id=1234567",{"2":{"295":2}}],["id=123456",{"2":{"281":1}}],["id=self",{"2":{"166":3}}],["id",{"0":{"165":3},"2":{"70":5,"165":9,"166":3,"185":1,"222":6,"281":2,"295":2,"297":1,"303":4}}],["ids",{"2":{"66":2,"70":2}}],["if",{"2":{"22":2,"23":1,"33":2,"35":2,"45":1,"66":5,"67":3,"68":1,"70":6,"76":3,"78":1,"79":1,"104":1,"105":1,"106":3,"107":1,"109":5,"111":2,"113":2,"123":1,"124":1,"125":1,"126":1,"127":2,"128":3,"137":1,"139":2,"141":1,"146":1,"153":1,"161":1,"162":5,"165":1,"166":1,"172":1,"174":1,"183":1,"220":1,"221":1,"222":20,"223":10,"224":4,"229":2,"230":9,"261":2,"262":1,"264":1}}],["isclass",{"2":{"261":1}}],["iscoroutinefunction",{"2":{"261":2}}],["isroutine",{"2":{"261":1}}],["isfile",{"2":{"230":1,"287":1}}],["isdir",{"2":{"230":2}}],["isinstance",{"2":{"76":1,"123":1,"222":13,"229":1,"268":1}}],["is",{"0":{"141":1,"185":1,"201":1,"261":1},"2":{"19":1,"20":2,"21":3,"23":1,"33":2,"45":1,"66":6,"67":1,"70":5,"76":1,"78":1,"79":1,"103":2,"104":1,"105":1,"106":1,"107":1,"109":3,"111":1,"113":2,"124":1,"125":1,"126":1,"137":1,"139":1,"141":2,"153":1,"158":1,"165":1,"183":1,"185":1,"222":2,"223":2,"224":1,"229":1,"230":2,"255":1,"261":1,"262":1}}],["icu",{"2":{"12":1}}],["icon=f",{"2":{"162":5}}],["icon",{"2":{"1":1,"162":7,"223":1,"224":2}}],["index",{"2":{"223":1,"224":1,"292":1}}],["inherit=",{"2":{"222":1}}],["inherit",{"0":{"212":1},"2":{"223":5}}],["inspect",{"2":{"261":4,"265":1}}],["insert",{"2":{"174":1}}],["instead",{"2":{"35":1}}],["instance",{"0":{"113":1,"114":1},"2":{"19":2,"33":4,"67":1,"76":1,"113":5,"116":1}}],["install安装浏览器",{"2":{"6":1}}],["install",{"2":{"6":1,"12":1,"15":1,"294":1,"297":1,"298":1}}],["inner",{"2":{"66":2}}],["in",{"0":{"129":1,"263":1},"2":{"23":1,"33":1,"35":3,"45":1,"66":5,"69":1,"70":1,"76":1,"77":1,"106":1,"109":3,"110":1,"111":1,"123":2,"127":1,"128":2,"129":1,"136":1,"138":1,"139":1,"140":1,"141":1,"153":1,"155":1,"172":1,"174":1,"176":2,"185":1,"220":1,"221":2,"222":13,"223":9,"224":5,"230":2,"255":2,"259":2,"262":2,"263":1,"287":1}}],["int=0",{"2":{"22":1,"175":1,"176":1}}],["int",{"0":{"22":1,"170":1,"175":1,"176":1},"2":{"22":1,"44":1,"66":2,"170":1}}],["initialized",{"2":{"33":1,"66":2}}],["initializing",{"2":{"19":1}}],["init",{"0":{"19":1,"24":1,"25":1,"44":1,"66":1,"87":1,"91":1,"95":1,"103":1,"133":1,"135":1,"162":1,"165":1,"170":1,"180":1},"2":{"19":2,"24":2,"25":2,"44":1,"66":1,"87":1,"91":1,"95":1,"103":1,"133":1,"135":1,"162":1,"165":1,"167":1,"170":1,"180":1,"222":1,"224":2,"230":2,"258":1,"264":1,"286":3}}],["info",{"0":{"222":1,"223":1},"2":{"1":1,"19":1,"20":2,"21":2,"22":1,"162":3,"222":12,"223":5,"224":5,"268":2}}],["日志等级",{"2":{"1":1}}],["lyf结尾",{"2":{"279":1}}],["lyfunction语法",{"2":{"295":1}}],["lyfunction",{"2":{"279":1}}],["lt",{"2":{"276":2,"294":1,"295":7,"297":10,"299":2}}],["locks",{"2":{"106":1}}],["lock",{"0":{"115":2},"2":{"104":3,"105":3,"106":3,"113":1}}],["loaded",{"0":{"227":1},"2":{"227":1}}],["loader",{"0":{"258":1,"259":1},"1":{"259":1},"2":{"19":1,"259":1}}],["loading",{"2":{"124":1,"125":1,"126":1}}],["load",{"0":{"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"228":1,"229":1,"230":1},"1":{"229":1,"230":1,"231":1},"2":{"19":1,"124":3,"125":3,"126":3,"127":4,"128":2,"129":3,"155":2,"228":1,"229":3,"230":2,"259":2,"297":1,"298":1}}],["loop",{"0":{"111":1},"2":{"19":4,"66":1,"69":3,"103":2,"111":2,"262":10}}],["log0000",{"2":{"268":1}}],["logger",{"0":{"25":1},"2":{"19":1,"20":2,"21":2,"22":1,"24":1,"25":1,"35":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":2,"124":1,"125":1,"126":1,"127":2,"128":1,"136":1,"139":2,"141":1,"162":7,"229":3,"230":3,"262":1,"268":3,"287":2}}],["logo",{"2":{"19":1}}],["log",{"0":{"160":1,"162":1},"1":{"161":1,"162":1},"2":{"1":2,"25":1,"160":1,"162":3,"268":1}}],["liteecho",{"0":{"256":1,"257":1},"1":{"257":1},"2":{"256":2,"257":2,"295":1}}],["liteyuki框架是包含在liteyukibot应用中的",{"2":{"275":1}}],["liteyukiexception",{"0":{"157":1}}],["liteyuki轻雪机器人管理脚本",{"2":{"14":1}}],["liteyukibot代替$",{"2":{"13":1}}],["liteyukibot",{"0":{"18":1,"33":1},"1":{"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1},"2":{"12":3,"13":5,"22":1,"33":2,"155":1,"275":1}}],["liteyukistudio",{"2":{"12":2,"13":1,"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["liteyuki",{"0":{"17":1,"36":1,"58":1,"85":1,"88":1,"89":1,"93":1,"99":1,"122":1,"130":1,"131":1,"142":1,"143":1,"154":1,"156":1,"158":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"226":1,"228":1,"232":1,"233":1,"255":1,"256":1,"258":1,"260":1,"297":1},"1":{"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"76":1,"77":1,"78":1,"79":1,"80":1,"81":1,"82":1,"83":1,"84":1,"86":1,"87":1,"90":1,"91":1,"92":1,"94":1,"95":1,"96":1,"97":1,"98":1,"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"132":1,"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"144":1,"145":1,"146":1,"147":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"155":1,"157":1,"159":1,"161":1,"162":1,"164":1,"165":1,"166":1,"169":1,"170":1,"171":1,"172":1,"174":1,"175":1,"176":1,"178":1,"179":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1,"188":1,"189":1,"190":1,"191":1,"192":1,"193":1,"194":1,"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1,"205":1,"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1,"227":1,"229":1,"230":1,"231":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"248":1,"249":1,"250":1,"251":1,"252":1,"253":1,"254":1,"257":1,"259":1,"261":1,"262":1,"263":1,"264":1,"265":1,"298":1},"2":{"1":2,"2":1,"12":1,"19":2,"21":2,"33":1,"155":2,"158":1,"229":5,"259":3,"268":12,"271":2,"275":3,"278":1,"286":1,"287":4,"290":1,"291":1,"295":4,"296":3}}],["listdir",{"2":{"128":1,"230":2}}],["list",{"0":{"165":1,"176":1,"196":1,"210":1,"211":1,"212":1,"215":1,"216":1,"217":1,"221":1},"2":{"44":6,"66":2,"100":1,"101":1,"165":1,"170":1,"174":3,"176":1,"221":4,"222":4,"224":3,"295":1,"297":2,"298":1}}],["life",{"2":{"44":1}}],["lifespan=self",{"2":{"19":1}}],["lifespan",{"0":{"27":2,"28":1,"29":1,"30":1,"31":2,"32":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"45":2,"46":2,"47":2,"48":2,"49":2,"50":2,"51":2,"135":2},"1":{"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":2,"45":2,"46":2,"47":2,"48":2,"49":2,"50":2,"51":2,"52":2,"53":2,"54":2,"55":2,"56":2,"57":2},"2":{"19":3,"27":5,"28":4,"29":4,"30":4,"31":5,"32":4,"36":1,"39":2,"42":2,"44":6,"45":4,"46":4,"47":4,"48":4,"49":4,"50":4,"51":4,"135":4}}],["linux系统要支持python3",{"2":{"15":1}}],["linux",{"2":{"14":1,"22":1}}],["linux下使用source",{"2":{"12":1}}],["llonebot",{"2":{"8":1}}],["laptop",{"2":{"224":2}}],["lang",{"0":{"223":1,"224":1},"2":{"223":3,"224":2}}],["language",{"2":{"2":1}}],["last",{"2":{"146":4}}],["lambda",{"2":{"117":1,"118":2,"119":2,"120":2,"121":1}}],["lagrange",{"2":{"8":1}}],["level=0",{"2":{"162":1}}],["level",{"0":{"161":1},"2":{"1":1,"161":2,"162":6}}],["写在外层的配置项将会被覆盖",{"2":{"1":1}}],["switch",{"2":{"295":2,"296":1}}],["simple",{"2":{"286":1}}],["signature",{"2":{"265":2}}],["src目录下为应用程序部分",{"2":{"275":1}}],["src",{"2":{"259":1,"275":1,"287":5}}],["sparkles",{"2":{"276":2}}],["specified",{"2":{"229":1}}],["split",{"2":{"229":4}}],["schedule",{"2":{"153":1}}],["scripts部署",{"0":{"14":1}}],["scripts",{"2":{"12":1}}],["source",{"0":{"199":1},"2":{"222":2,"223":6}}],["sockschannel",{"0":{"94":1},"1":{"95":1,"96":1,"97":1,"98":1}}],["socks",{"0":{"93":1},"1":{"94":1,"95":1,"96":1,"97":1,"98":1}}],["software",{"2":{"36":1,"131":1,"154":1,"160":1,"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1,"228":1,"232":1,"233":1,"256":1,"258":1}}],["shinjuku",{"2":{"301":1}}],["shellstatistic",{"2":{"303":1}}],["shellbind",{"2":{"301":1}}],["shellweather",{"2":{"301":1}}],["shellmain",{"2":{"292":1}}],["shellvar",{"2":{"280":1}}],["shellcmd",{"2":{"279":1}}],["shell",{"2":{"279":1,"281":1}}],["shutil",{"2":{"224":1}}],["shutdown",{"0":{"29":1,"30":1,"48":1,"49":1,"54":1,"55":1},"2":{"29":2,"30":2,"44":2,"48":2,"49":2,"54":3,"55":3}}],["show",{"2":{"162":6}}],["should",{"2":{"66":1}}],["shared",{"0":{"116":1},"2":{"103":3,"117":1,"118":3,"119":3,"120":3,"121":2,"137":1,"271":3}}],["sync",{"0":{"37":1,"40":1,"59":1,"62":1},"2":{"39":1,"42":1,"61":1,"64":1,"265":1}}],["system",{"0":{"153":1},"2":{"22":4,"153":1,"287":2}}],["sys",{"2":{"22":3,"162":1}}],["snowykami",{"2":{"36":2,"131":2,"154":2,"160":2,"163":2,"167":2,"168":2,"173":2,"177":2,"186":2,"187":2,"228":2,"232":2,"233":2,"256":2,"258":2}}],["succeeded",{"2":{"229":1}}],["success",{"2":{"139":1,"162":2,"229":2}}],["summary>",{"2":{"223":3}}],["summary>源代码",{"2":{"223":1}}],["su",{"0":{"185":1},"2":{"185":1,"256":1,"257":1}}],["supported",{"2":{"128":1}}],["superusers",{"2":{"1":1,"185":1}}],["subscribe",{"2":{"109":1}}],["subscriber",{"0":{"100":1,"101":1,"109":1,"110":1},"2":{"109":7,"110":2,"111":1}}],["sub",{"0":{"101":1},"2":{"33":1,"66":2,"70":1,"103":1,"109":4,"111":1}}],["sleep",{"2":{"21":1,"22":1,"268":1,"280":1,"281":1}}],["style",{"2":{"276":1,"292":2}}],["stem",{"2":{"264":2}}],["stdout",{"2":{"162":1}}],["store",{"2":{"103":1,"104":1,"105":1,"106":2,"107":1,"255":1}}],["storage",{"0":{"99":1},"1":{"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1},"2":{"88":2,"271":2}}],["stopped",{"2":{"20":1}}],["stopping",{"2":{"20":1}}],["stop",{"0":{"26":1},"2":{"19":1,"20":1,"21":2,"26":2}}],["stat",{"2":{"304":1}}],["statistic",{"2":{"304":1}}],["statistics",{"0":{"303":1},"1":{"304":1}}],["static",{"0":{"191":1},"2":{"222":1}}],["staticmethod",{"0":{"191":1},"2":{"44":1,"45":1,"109":1,"110":1,"222":1}}],["status",{"2":{"295":1,"296":1}}],["startup",{"2":{"268":2}}],["startswith",{"2":{"222":3,"256":1,"257":1}}],["starting",{"2":{"136":1}}],["start或superusers",{"2":{"6":1}}],["start保证alconna解析正常",{"2":{"1":1}}],["start",{"0":{"27":1,"28":1,"46":1,"47":1,"52":1,"53":1,"111":1,"136":1},"2":{"1":1,"20":1,"22":2,"27":2,"28":2,"44":2,"46":2,"47":2,"52":3,"53":3,"111":2,"136":2,"263":1,"268":1}}],["strip",{"2":{"257":2}}],["str=",{"2":{"223":1,"224":1}}],["structure",{"2":{"67":1}}],["str",{"0":{"23":1,"34":1,"35":2,"66":1,"76":1,"77":1,"78":1,"79":1,"82":2,"83":2,"84":2,"87":2,"95":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"118":2,"119":2,"120":2,"121":2,"123":2,"124":2,"125":2,"126":2,"127":2,"128":2,"129":1,"133":2,"137":1,"139":1,"141":1,"153":1,"155":1,"161":2,"165":9,"166":2,"176":1,"195":1,"196":2,"197":1,"198":1,"199":1,"203":1,"204":1,"206":1,"208":1,"209":1,"212":1,"214":1,"218":1,"219":3,"220":2,"221":1,"222":1,"223":2,"224":3,"227":1,"229":1,"230":1,"231":2,"241":1,"242":1,"243":1,"245":1,"246":1,"247":1,"251":1,"253":1,"264":1},"2":{"19":1,"23":2,"34":2,"35":3,"40":1,"41":1,"66":2,"73":2,"75":2,"76":2,"77":2,"78":2,"79":3,"82":2,"83":2,"84":2,"87":2,"95":1,"100":1,"101":1,"103":5,"104":1,"105":1,"106":1,"107":3,"108":1,"109":1,"110":1,"118":2,"119":2,"120":2,"121":2,"123":2,"124":2,"125":2,"126":2,"127":2,"128":2,"129":1,"133":2,"135":2,"137":1,"139":1,"141":1,"153":1,"155":1,"161":2,"165":9,"166":2,"176":1,"185":1,"219":3,"220":2,"221":1,"222":1,"223":1,"224":4,"227":2,"229":1,"230":1,"231":3,"264":2,"268":1}}],["search",{"2":{"297":1,"298":1}}],["service",{"0":{"236":2},"2":{"231":1,"286":1}}],["server",{"2":{"15":1}}],["sep",{"2":{"222":3}}],["session",{"0":{"165":2,"186":1},"2":{"165":6,"166":5,"186":1}}],["sequence",{"0":{"45":1},"2":{"45":2}}],["send",{"0":{"67":1,"96":1},"2":{"23":2,"66":2,"67":4,"76":1,"78":1,"79":1,"83":1,"84":1,"95":1,"96":1,"104":1,"105":1,"106":1,"107":1,"108":1,"111":1,"118":1,"121":1,"166":1,"268":3,"295":1}}],["set",{"0":{"76":1,"77":1,"82":1,"104":1,"119":1,"230":1},"2":{"19":1,"21":1,"26":1,"66":1,"76":2,"77":2,"81":1,"82":3,"104":2,"118":1,"119":3,"230":2,"262":1,"271":1,"295":2,"296":1,"299":2}}],["self",{"0":{"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"44":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":1,"67":1,"68":1,"69":1,"70":1,"87":1,"91":1,"92":1,"95":1,"96":1,"97":1,"98":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"111":1,"133":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"148":1,"149":1,"150":1,"151":1,"152":1,"165":1,"166":1,"170":1,"171":1,"172":1,"180":1,"181":1,"182":1,"183":1,"249":1},"2":{"19":11,"20":4,"21":3,"22":4,"23":2,"24":2,"25":1,"26":3,"27":2,"28":2,"29":2,"30":2,"31":2,"32":2,"44":8,"46":2,"47":2,"48":2,"49":2,"50":2,"51":2,"52":3,"53":3,"54":3,"55":3,"56":3,"57":3,"66":14,"67":6,"68":3,"69":2,"70":3,"87":3,"91":2,"92":2,"95":5,"96":1,"97":1,"98":1,"103":7,"104":3,"105":3,"106":4,"107":3,"108":2,"109":1,"111":4,"133":6,"135":4,"136":2,"137":2,"138":2,"139":3,"140":3,"141":3,"148":1,"149":2,"150":2,"151":2,"152":2,"165":10,"166":3,"170":5,"171":2,"172":3,"180":2,"181":2,"182":2,"183":3,"222":1,"223":1,"249":2}}],["safe",{"2":{"2":1,"124":1}}],["num为每页显示数量",{"2":{"297":2}}],["num",{"2":{"297":2}}],["npm",{"2":{"297":7,"298":1}}],["nliteyuki",{"2":{"279":1}}],["n\`\`\`",{"2":{"223":2}}],["n\`\`\`python",{"2":{"223":2}}],["n",{"2":{"223":52,"224":2}}],["name>",{"2":{"280":2}}],["name=module",{"2":{"229":3}}],["name=target",{"2":{"222":2}}],["name=class",{"2":{"222":1}}],["name=node",{"2":{"222":2}}],["name=f",{"2":{"137":2}}],["name=",{"2":{"71":1,"72":1,"73":1,"80":1,"81":1,"103":3,"286":1}}],["name",{"0":{"23":1,"66":1,"76":1,"78":1,"87":1,"95":1,"137":1,"139":1,"141":1,"195":1,"203":1,"208":1,"225":1,"231":2,"241":1,"251":1,"253":1,"264":1},"2":{"23":6,"66":11,"76":7,"77":2,"78":5,"82":3,"83":3,"87":3,"95":4,"136":3,"137":5,"138":1,"139":6,"140":2,"141":5,"222":11,"223":7,"224":2,"229":20,"230":9,"231":6,"249":1,"264":1,"268":2,"295":4,"297":8}}],["new",{"2":{"19":1,"123":3,"262":1}}],["nodes",{"2":{"222":2}}],["node",{"2":{"222":42}}],["node等进程",{"2":{"15":1}}],["normal",{"0":{"222":1},"2":{"222":1,"224":1}}],["normal>",{"2":{"162":1}}],["nonlocal",{"2":{"146":1}}],["nonedog",{"2":{"286":1}}],["none",{"0":{"19":1,"23":1,"34":1,"35":1,"44":1,"45":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":1,"70":1,"91":1,"104":1,"105":1,"106":1,"108":1,"114":1,"137":1,"153":1,"165":2,"172":1,"205":1,"223":1,"224":1,"254":1},"2":{"19":1,"23":2,"33":1,"34":1,"35":1,"44":1,"45":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"66":3,"67":1,"69":1,"70":2,"91":1,"95":2,"104":1,"106":1,"108":1,"113":2,"124":1,"125":1,"126":1,"137":1,"144":1,"146":1,"153":1,"165":1,"172":1,"178":2,"183":1,"222":3,"224":1,"229":4,"230":1,"261":1}}],["nonebot插件目录",{"2":{"275":1}}],["nonebot2提供的框架支持",{"2":{"10":1}}],["nonebot",{"2":{"2":1,"10":1,"260":1,"268":3,"275":1,"286":1,"287":4,"290":1}}],["nonebot机器人的配置",{"2":{"1":1}}],["no",{"0":{"127":1,"128":1,"129":1,"195":1,"196":1,"197":1,"198":1,"200":1,"201":1,"203":1,"204":1,"208":1,"209":1,"210":1,"211":1,"212":1,"214":1,"215":1,"216":1,"217":1,"218":1,"225":1,"241":1,"251":1,"252":1,"253":1},"2":{"74":1,"75":1,"127":3,"128":3,"129":3,"222":3,"223":1,"224":2}}],["nohup",{"2":{"22":2,"280":1,"281":1}}],["notimplementederror",{"2":{"148":1}}],["not",{"2":{"21":1,"23":1,"33":1,"66":1,"67":2,"70":4,"76":1,"106":1,"109":3,"111":1,"124":1,"125":1,"126":1,"127":3,"128":3,"139":2,"141":2,"153":2,"172":1,"220":1,"222":8,"229":1,"230":8,"287":2}}],["ntqq的onebot插件",{"2":{"8":1}}],["nickname",{"2":{"1":1}}],["若不存在则返回空",{"2":{"295":1}}],["若不存在则创建于config",{"2":{"295":1}}],["若存在则返回",{"2":{"295":1}}],["若存在则覆盖",{"2":{"295":1}}],["若存在则会覆盖",{"2":{"295":1}}],["若要戳20s后停止",{"2":{"281":1}}],["若要接收外部请求请填写0",{"2":{"1":1}}],["若函数中启动了其他task",{"2":{"280":1}}],["若有面向普通用户部分",{"2":{"276":1}}],["若有子进程订阅则推送给子进程",{"2":{"111":1}}],["若有困难请联系对应开发者而不是liteyuki的开发者",{"2":{"9":1}}],["若为空",{"2":{"66":1}}],["若你不希望提供这些信息",{"2":{"293":1}}],["若你不能访问github",{"2":{"12":1}}],["若你修改了端口号请将20216",{"2":{"13":1}}],["若没有metadata",{"2":{"292":1}}],["若没有",{"2":{"1":1}}],["14s",{"2":{"303":2}}],["1h",{"2":{"303":2}}],["1d",{"2":{"303":2}}],["1145141919810",{"2":{"295":1}}],["11",{"2":{"258":1}}],["19",{"2":{"163":1,"167":1,"168":1,"173":1,"177":1,"186":1,"187":1}}],["1919810",{"2":{"1":1}}],["10",{"2":{"159":1,"295":1}}],["10+",{"2":{"12":1,"15":1}}],["18",{"2":{"154":1}}],["12",{"2":{"131":1,"160":1}}],["127",{"2":{"1":1,"3":1}}],["1",{"2":{"1":1,"2":1,"3":2,"21":1,"22":2,"23":2,"70":1,"82":2,"83":2,"84":1,"111":2,"118":3,"119":2,"120":1,"121":1,"123":1,"147":1,"148":1,"223":6,"224":1,"229":4,"264":2,"286":1,"292":2}}],["03",{"2":{"268":2}}],["0000",{"2":{"268":3}}],["00",{"2":{"268":18}}],["02",{"2":{"233":1,"258":1}}],["04",{"2":{"154":1}}],["04+",{"2":{"15":1}}],["0",{"0":{"22":1,"175":1,"176":1},"2":{"1":5,"3":4,"19":1,"21":1,"22":2,"44":1,"81":1,"82":2,"83":2,"84":1,"111":1,"117":2,"118":2,"119":2,"120":2,"121":1,"170":1,"222":1,"223":7,"281":1,"286":2,"292":2}}],["请注意",{"2":{"291":1}}],["请确保您所编写的html代码能被bot解析",{"2":{"291":1}}],["请确保用户文档是通俗易懂的",{"2":{"276":1}}],["请确保文档内的链接是正确的",{"2":{"276":1}}],["请确保文档是完善的",{"2":{"276":1}}],["请确保注释风格为google",{"2":{"276":1}}],["请确保代码的类型提示是正确的",{"2":{"276":1}}],["请确保代码是可运行的",{"2":{"276":1}}],["请确保你了解markdown语法和基本前端知识",{"2":{"273":1}}],["请遵循以下规范",{"2":{"276":1}}],["请阅读插件主页的说明",{"2":{"298":1}}],["请阅读插件开发文档和api",{"2":{"273":1}}],["请阅读以下内容",{"2":{"273":1}}],["请不要将需要动态加载的内容写入配置文件",{"2":{"122":1}}],["请联系插件作者或在安全模式safe",{"2":{"6":1}}],["请先查阅插件文档",{"2":{"6":1}}],["请正确安装git",{"2":{"6":1}}],["请检查配置文件的command",{"2":{"6":1}}],["请使用path",{"2":{"15":1}}],["请使用",{"2":{"6":1}}],["请在此填写相同的值",{"2":{"3":1}}],["请开启alconna",{"2":{"1":1}}],["请尽快迁移",{"2":{"1":1}}],["空命令头",{"2":{"1":1}}],["指令前缀",{"2":{"1":1}}],["轻雪天气liteyuki",{"0":{"301":1},"1":{"302":1}}],["轻雪文档",{"2":{"296":1}}],["轻雪命令liteyuki",{"0":{"295":1},"1":{"296":1}}],["轻雪会收集以下内容",{"2":{"293":1}}],["轻雪会自动合并这些配置文件",{"2":{"0":1}}],["轻雪原版资源包请查看liteyukibot",{"2":{"291":1}}],["轻雪主进程不涉及聊天部分",{"2":{"287":1}}],["轻雪函数",{"0":{"278":1},"1":{"279":1,"280":1,"281":1,"282":1,"283":1},"2":{"278":1}}],["轻雪框架提供了一个内存共享通信的接口",{"2":{"270":1}}],["轻雪提供了一个通道channel用于跨进程通信",{"2":{"267":1}}],["轻雪运行在主进程",{"2":{"267":1}}],["轻雪抽象消息事件",{"2":{"165":1}}],["轻雪生命周期管理",{"2":{"44":1}}],["轻雪实例",{"2":{"33":1}}],["轻雪的更新功能依赖git",{"2":{"15":1}}],["轻雪使用git进行版本管理",{"2":{"12":1}}],["轻雪不局限于onebot适配器",{"2":{"4":1}}],["轻雪调试",{"2":{"2":1}}],["轻雪插件是轻雪内置的一部分功能",{"2":{"284":1}}],["轻雪插件目录",{"2":{"275":1}}],["轻雪插件目录列表",{"2":{"1":1}}],["轻雪插件列表",{"2":{"1":1}}],["轻雪支持yaml",{"2":{"0":1}}],["y",{"2":{"231":1}}],["your",{"2":{"229":2}}],["yellow>",{"2":{"162":1}}],["y>",{"2":{"20":2}}],["y>liteyuki",{"2":{"20":2}}],["yunzai",{"2":{"8":1}}],["yamlweather",{"2":{"301":1}}],["yamlname",{"2":{"292":1}}],["yamlnonebot",{"2":{"1":1}}],["yaml",{"0":{"124":1},"2":{"0":1,"2":1,"124":4,"127":2,"129":1}}],["yml格式的所有合法内容",{"2":{"295":1}}],["yml文件",{"2":{"292":1}}],["yml中填写一些信息",{"2":{"292":1}}],["yml中设置dev",{"2":{"274":1}}],["yml",{"2":{"0":1,"127":1,"129":1,"292":2,"295":1}}],["yml和config目录",{"2":{"0":1}}],["你在a包中定义了一个index",{"2":{"292":1}}],["你自己制作的资源包也应该遵循这个规则",{"2":{"292":1}}],["你也可以自己制作资源包",{"2":{"291":1}}],["你的插件代码",{"2":{"286":1}}],["你的贡献将会使轻雪变得更好",{"2":{"277":1}}],["你应该使用其他储存方式",{"2":{"122":1}}],["你将无法使用更新功能",{"2":{"15":1}}],["你需要使用onebot标准的实现端来连接到轻雪并将消息上报给轻雪",{"2":{"6":1}}],["你有这个问题说明你不是很了解这个项目",{"2":{"6":1}}],["你可以选择开启auto",{"2":{"293":1}}],["你可以自由使用",{"2":{"293":1}}],["你可以自定义一些信息",{"2":{"292":1}}],["你可以在多个线程中读写共享内存",{"2":{"270":1}}],["你可以通过storage模块实现内存共享通信",{"2":{"270":1}}],["你可以通过channel发送消息给其他进程",{"2":{"267":1}}],["你可以使用python",{"2":{"12":1}}],["你可以使用nonebot2支持的任何适配器或使用轻雪讯息传递插件",{"2":{"4":1}}],["你可在此自定义生成的markdown格式",{"2":{"223":1}}],["你可在config目录下创建多个配置文件",{"2":{"0":1}}],["你可修改配置项后重启轻雪",{"2":{"0":1}}],["你只需要修改superusers及nickname字段即可",{"2":{"0":1}}],["绝大多数情况下",{"2":{"0":1}}],["取决于你个人的喜好",{"2":{"0":1}}],["配置项",{"2":{"301":1}}],["配置项目",{"2":{"123":1}}],["配置了命令别名的命令可以使用别名代替原命令",{"2":{"294":1}}],["配置文件尽量扁平化",{"2":{"122":1}}],["配置值",{"2":{"34":1,"35":1}}],["配置键",{"2":{"34":1,"35":1}}],["配置",{"0":{"0":1},"1":{"1":1,"2":1,"3":1,"4":1},"2":{"19":2,"296":1}}]],"serializationVersion":2}`;export{e as default}; diff --git a/assets/chunks/ContributorBar.B9OqmyVx.js b/assets/chunks/ContributorBar.jTMkL6UJ.js similarity index 88% rename from assets/chunks/ContributorBar.B9OqmyVx.js rename to assets/chunks/ContributorBar.jTMkL6UJ.js index ad3a5383..d83b7848 100644 --- a/assets/chunks/ContributorBar.B9OqmyVx.js +++ b/assets/chunks/ContributorBar.jTMkL6UJ.js @@ -1 +1 @@ -import{g as c}from"./theme.BaW5BF9l.js";import{d as e,o as a,c as n,j as t,t as i,k as p,_ as u}from"./framework.C4_mTacX.js";const _="https://github.com/",o="LiteyukiStudio/LiteyukiBot",b=`${_}${o}`,m={class:"contributor-bar"},l=e({__name:"ContributorBar",setup(h){const r=`https://contrib.rocks/image?repo=${o}`,s=`${b}/graphs/contributors`;return(d,f)=>(a(),n("div",m,[t("h2",null,i(p(c)("thx_contributors")),1),t("a",{href:s},[t("div",{class:"contributor-list"},[t("img",{src:r,alt:"Contributors"})])])]))}}),k=u(l,[["__scopeId","data-v-bc374713"]]);export{k as C}; +import{g as c}from"./theme.CUFI0Yt1.js";import{d as e,o as a,c as n,j as t,t as i,k as p,_ as u}from"./framework.C4_mTacX.js";const _="https://github.com/",o="LiteyukiStudio/LiteyukiBot",b=`${_}${o}`,m={class:"contributor-bar"},l=e({__name:"ContributorBar",setup(h){const r=`https://contrib.rocks/image?repo=${o}`,s=`${b}/graphs/contributors`;return(d,f)=>(a(),n("div",m,[t("h2",null,i(p(c)("thx_contributors")),1),t("a",{href:s},[t("div",{class:"contributor-list"},[t("img",{src:r,alt:"Contributors"})])])]))}}),k=u(l,[["__scopeId","data-v-bc374713"]]);export{k as C}; diff --git a/assets/chunks/VPLocalSearchBox.CC6r1vRh.js b/assets/chunks/VPLocalSearchBox.N_ODFmQP.js similarity index 99% rename from assets/chunks/VPLocalSearchBox.CC6r1vRh.js rename to assets/chunks/VPLocalSearchBox.N_ODFmQP.js index 7bd5c828..0e30b599 100644 --- a/assets/chunks/VPLocalSearchBox.CC6r1vRh.js +++ b/assets/chunks/VPLocalSearchBox.N_ODFmQP.js @@ -1,4 +1,4 @@ -var Ot=Object.defineProperty;var Rt=(a,e,t)=>e in a?Ot(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var Ce=(a,e,t)=>Rt(a,typeof e!="symbol"?e+"":e,t);import{X as et,s as ne,h as ve,ao as tt,ap as Ct,aq as Mt,v as je,ar as At,d as Lt,G as ye,as as st,at as Dt,au as zt,x as Pt,av as Vt,y as Me,R as de,Q as we,aw as jt,ax as $t,Y as Bt,U as Wt,a1 as Kt,o as Q,b as Jt,j as x,a2 as Ut,k as D,a6 as qt,a7 as Gt,a8 as Qt,c as Z,n as nt,e as _e,E as it,F as rt,a as he,t as fe,ay as Ht,p as Yt,l as Zt,az as at,aA as Xt,ad as es,aj as ts,aB as ss,_ as ns}from"./framework.C4_mTacX.js";import{u as is,c as rs}from"./theme.BaW5BF9l.js";const as={en:()=>et(()=>import("./@localSearchIndexen.DnsjWnxN.js"),[]),root:()=>et(()=>import("./@localSearchIndexroot.B8WeOrAr.js"),[])};/*! +var Ot=Object.defineProperty;var Rt=(a,e,t)=>e in a?Ot(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var Ce=(a,e,t)=>Rt(a,typeof e!="symbol"?e+"":e,t);import{X as et,s as ne,h as ve,ao as tt,ap as Ct,aq as Mt,v as je,ar as At,d as Lt,G as ye,as as st,at as Dt,au as zt,x as Pt,av as Vt,y as Me,R as de,Q as we,aw as jt,ax as $t,Y as Bt,U as Wt,a1 as Kt,o as Q,b as Jt,j as x,a2 as Ut,k as D,a6 as qt,a7 as Gt,a8 as Qt,c as Z,n as nt,e as _e,E as it,F as rt,a as he,t as fe,ay as Ht,p as Yt,l as Zt,az as at,aA as Xt,ad as es,aj as ts,aB as ss,_ as ns}from"./framework.C4_mTacX.js";import{u as is,c as rs}from"./theme.CUFI0Yt1.js";const as={en:()=>et(()=>import("./@localSearchIndexen.BcLUld7V.js"),[]),root:()=>et(()=>import("./@localSearchIndexroot.C3h34E_f.js"),[])};/*! * tabbable 6.2.0 * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE */var gt=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Ie=gt.join(","),bt=typeof Element>"u",re=bt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ne=!bt&&Element.prototype.getRootNode?function(a){var e;return a==null||(e=a.getRootNode)===null||e===void 0?void 0:e.call(a)}:function(a){return a==null?void 0:a.ownerDocument},ke=function a(e,t){var s;t===void 0&&(t=!0);var n=e==null||(s=e.getAttribute)===null||s===void 0?void 0:s.call(e,"inert"),r=n===""||n==="true",i=r||t&&e&&a(e.parentNode);return i},os=function(e){var t,s=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return s===""||s==="true"},yt=function(e,t,s){if(ke(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(Ie));return t&&re.call(e,Ie)&&n.unshift(e),n=n.filter(s),n},wt=function a(e,t,s){for(var n=[],r=Array.from(e);r.length;){var i=r.shift();if(!ke(i,!1))if(i.tagName==="SLOT"){var o=i.assignedElements(),c=o.length?o:i.children,l=a(c,!0,s);s.flatten?n.push.apply(n,l):n.push({scopeParent:i,candidates:l})}else{var h=re.call(i,Ie);h&&s.filter(i)&&(t||!e.includes(i))&&n.push(i);var v=i.shadowRoot||typeof s.getShadowRoot=="function"&&s.getShadowRoot(i),f=!ke(v,!1)&&(!s.shadowRootFilter||s.shadowRootFilter(i));if(v&&f){var b=a(v===!0?i.children:v.children,!0,s);s.flatten?n.push.apply(n,b):n.push({scopeParent:i,candidates:b})}else r.unshift.apply(r,i.children)}}return n},_t=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},ie=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||os(e))&&!_t(e)?0:e.tabIndex},cs=function(e,t){var s=ie(e);return s<0&&t&&!_t(e)?0:s},ls=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},xt=function(e){return e.tagName==="INPUT"},us=function(e){return xt(e)&&e.type==="hidden"},ds=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(s){return s.tagName==="SUMMARY"});return t},hs=function(e,t){for(var s=0;ssummary:first-of-type"),i=r?e.parentElement:e;if(re.call(i,"details:not([open]) *"))return!0;if(!s||s==="full"||s==="legacy-full"){if(typeof n=="function"){for(var o=e;e;){var c=e.parentElement,l=Ne(e);if(c&&!c.shadowRoot&&n(c)===!0)return ot(e);e.assignedSlot?e=e.assignedSlot:!c&&l!==e.ownerDocument?e=l.host:e=c}e=o}if(ms(e))return!e.getClientRects().length;if(s!=="legacy-full")return!0}else if(s==="non-zero-area")return ot(e);return!1},bs=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var s=0;s=0)},ws=function a(e){var t=[],s=[];return e.forEach(function(n,r){var i=!!n.scopeParent,o=i?n.scopeParent:n,c=cs(o,i),l=i?a(n.candidates):o;c===0?i?t.push.apply(t,l):t.push(o):s.push({documentOrder:r,tabIndex:c,item:n,isScope:i,content:l})}),s.sort(ls).reduce(function(n,r){return r.isScope?n.push.apply(n,r.content):n.push(r.content),n},[]).concat(t)},_s=function(e,t){t=t||{};var s;return t.getShadowRoot?s=wt([e],t.includeContainer,{filter:$e.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:ys}):s=yt(e,t.includeContainer,$e.bind(null,t)),ws(s)},xs=function(e,t){t=t||{};var s;return t.getShadowRoot?s=wt([e],t.includeContainer,{filter:Fe.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):s=yt(e,t.includeContainer,Fe.bind(null,t)),s},ae=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return re.call(e,Ie)===!1?!1:$e(t,e)},Ss=gt.concat("iframe").join(","),Ae=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return re.call(e,Ss)===!1?!1:Fe(t,e)};/*! diff --git a/assets/chunks/theme.BaW5BF9l.js b/assets/chunks/theme.CUFI0Yt1.js similarity index 99% rename from assets/chunks/theme.BaW5BF9l.js rename to assets/chunks/theme.CUFI0Yt1.js index a9f8d8cd..3479c112 100644 --- a/assets/chunks/theme.BaW5BF9l.js +++ b/assets/chunks/theme.CUFI0Yt1.js @@ -1,5 +1,5 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/VPLocalSearchBox.CC6r1vRh.js","assets/chunks/framework.C4_mTacX.js"])))=>i.map(i=>d[i]); -import{u as Ne,d as m,o as r,c as f,r as p,n as F,a as W,t as C,b as $,w as v,e as b,T as Ae,_ as S,i as It,f as Ct,g as Me,h as T,j as u,k as c,p as x,l as j,m as oe,q as we,s as I,v as J,x as _e,y as te,z as le,A as Ee,B as Nt,C as At,D as se,F as D,E as U,G as Xe,H as me,I as w,J as K,K as Qe,L as ge,M as ee,N as ce,O as Mt,P as be,Q as Le,R as Et,S as Ze,U as ye,V as Bt,W as Ot,X as Ht,Y as et,Z as tt,$ as Dt,a0 as Ft,a1 as xt,a2 as jt,a3 as Rt,a4 as Ut,a5 as zt,a6 as nt,a7 as ot,a8 as Ve}from"./framework.C4_mTacX.js";const Gt={en:{stats:"Stats",online:"Online",offline:"Offline",total:"Total",fetching:"Fetching",stars:"Stars",forks:"Forks",issues:"Issues",prs:"Pull Requests",visitors:"Visitor",size:"Size",plugins:"Plugins",resources:"Resources",pluginStore:"Plugin Store",pluginStoreDesc:"Content from the LightSnow Plugin Store, LightSnow supports NoneBot through the lpnonebot plugin, and references some NoneBot plugins",liteyukiOnly:"Liteyuki Only",search:"Search",resourceStore:"Resources Store",thx_contributors:"Thanks the following contributors!"},zh:{stats:"统计信息",online:"在线",offline:"离线",total:"实例",fetching:"获取中",stars:"星标",forks:"分叉",issues:"工单",prs:"拉取请求",visitors:"访客",size:"大小",plugins:"插件",resources:"主题资源",store:"商店",pluginStore:"插件商店",pluginStoreDesc:"内容来自轻雪插件商店,轻雪通过lpnonebot插件对NoneBot实现支持,引用了部分NoneBot插件",liteyukiOnly:"仅轻雪",search:"搜索",resourceStore:"资源商店",thx_contributors:"感谢以下贡献者!"}};let ve={};function st(t,e){return t=Be(t),Gt[t][e]}function Be(t){return t.includes("-")?t.split("-")[0]:t}function Kt(){const t=Be(Ne().site.value.lang);for(let e in ve)ve[e].value=st(t,e)}function Z(t){const e=Be(Ne().site.value.lang);return ve[t]=st(e,t),ve[t]}const qt=m({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(t){return(e,n)=>(r(),f("span",{class:F(["VPBadge",e.type])},[p(e.$slots,"default",{},()=>[W(C(e.text),1)])],2))}}),Wt={key:0,class:"VPBackdrop"},Jt=m({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(t){return(e,n)=>(r(),$(Ae,{name:"fade"},{default:v(()=>[e.show?(r(),f("div",Wt)):b("",!0)]),_:1}))}}),Yt=S(Jt,[["__scopeId","data-v-8ef4ce84"]]),O=Ne;function Xt(t,e){let n,s=!1;return()=>{n&&clearTimeout(n),s?n=setTimeout(t,e):(t(),(s=!0)&&setTimeout(()=>s=!1,e))}}function Te(t){return/^\//.test(t)?t:`/${t}`}function Oe(t){const{pathname:e,search:n,hash:s,protocol:o}=new URL(t,"http://a.com");if(It(t)||t.startsWith("#")||!o.startsWith("http")||!Ct(e))return t;const{site:a}=O(),i=e.endsWith("/")||e.endsWith(".html")?t:t.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,a.value.cleanUrls?"":".html")}${n}${s}`);return Me(i)}function ue({correspondingLink:t=!1}={}){const{site:e,localeIndex:n,page:s,theme:o,hash:a}=O(),i=T(()=>{var d,h;return{label:(d=e.value.locales[n.value])==null?void 0:d.label,link:((h=e.value.locales[n.value])==null?void 0:h.link)||(n.value==="root"?"/":`/${n.value}/`)}});return{localeLinks:T(()=>Object.entries(e.value.locales).flatMap(([d,h])=>i.value.label===h.label?[]:{text:h.label,link:Qt(h.link||(d==="root"?"/":`/${d}/`),o.value.i18nRouting!==!1&&t,s.value.relativePath.slice(i.value.link.length-1),!e.value.cleanUrls)+a.value})),currentLang:i}}function Qt(t,e,n,s){return e?t.replace(/\/$/,"")+Te(n.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,s?".html":"")):t}const Zt=t=>(x("data-v-61e78ba6"),t=t(),j(),t),en={class:"NotFound"},tn={class:"code"},nn={class:"title"},on=Zt(()=>u("div",{class:"divider"},null,-1)),sn={class:"quote"},an={class:"action"},rn=["href","aria-label"],ln=m({__name:"NotFound",setup(t){const{theme:e}=O(),{currentLang:n}=ue();return(s,o)=>{var a,i,l,d,h;return r(),f("div",en,[u("p",tn,C(((a=c(e).notFound)==null?void 0:a.code)??"404"),1),u("h1",nn,C(((i=c(e).notFound)==null?void 0:i.title)??"PAGE NOT FOUND"),1),on,u("blockquote",sn,C(((l=c(e).notFound)==null?void 0:l.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),u("div",an,[u("a",{class:"link",href:c(Me)(c(n).link),"aria-label":((d=c(e).notFound)==null?void 0:d.linkLabel)??"go to home"},C(((h=c(e).notFound)==null?void 0:h.linkText)??"Take me home"),9,rn)])])}}}),cn=S(ln,[["__scopeId","data-v-61e78ba6"]]);function at(t,e){if(Array.isArray(t))return pe(t);if(t==null)return[];e=Te(e);const n=Object.keys(t).sort((o,a)=>a.split("/").length-o.split("/").length).find(o=>e.startsWith(Te(o))),s=n?t[n]:[];return Array.isArray(s)?pe(s):pe(s.items,s.base)}function un(t){const e=[];let n=0;for(const s in t){const o=t[s];if(o.items){n=e.push(o);continue}e[n]||e.push({items:[]}),e[n].items.push(o)}return e}function dn(t){const e=[];function n(s){for(const o of s)o.text&&o.link&&e.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&n(o.items)}return n(t),e}function Ie(t,e){return Array.isArray(e)?e.some(n=>Ie(t,n)):oe(t,e.link)?!0:e.items?Ie(t,e.items):!1}function pe(t,e){return[...t].map(n=>{const s={...n},o=s.base||e;return o&&s.link&&(s.link=o+s.link),s.items&&(s.items=pe(s.items,o)),s})}function Y(){const{frontmatter:t,page:e,theme:n}=O(),s=we("(min-width: 960px)"),o=I(!1),a=T(()=>{const M=n.value.sidebar,k=e.value.relativePath;return M?at(M,k):[]}),i=I(a.value);J(a,(M,k)=>{JSON.stringify(M)!==JSON.stringify(k)&&(i.value=a.value)});const l=T(()=>t.value.sidebar!==!1&&i.value.length>0&&t.value.layout!=="home"),d=T(()=>h?t.value.aside==null?n.value.aside==="left":t.value.aside==="left":!1),h=T(()=>t.value.layout==="home"?!1:t.value.aside!=null?!!t.value.aside:n.value.aside!==!1),g=T(()=>l.value&&s.value),_=T(()=>l.value?un(i.value):[]);function y(){o.value=!0}function N(){o.value=!1}function V(){o.value?N():y()}return{isOpen:o,sidebar:i,sidebarGroups:_,hasSidebar:l,hasAside:h,leftAside:d,isSidebarEnabled:g,open:y,close:N,toggle:V}}function fn(t,e){let n;_e(()=>{n=t.value?document.activeElement:void 0}),te(()=>{window.addEventListener("keyup",s)}),le(()=>{window.removeEventListener("keyup",s)});function s(o){o.key==="Escape"&&t.value&&(e(),n==null||n.focus())}}function pn(t){const{page:e,hash:n}=O(),s=I(!1),o=T(()=>t.value.collapsed!=null),a=T(()=>!!t.value.link),i=I(!1),l=()=>{i.value=oe(e.value.relativePath,t.value.link)};J([e,t,n],l),te(l);const d=T(()=>i.value?!0:t.value.items?Ie(e.value.relativePath,t.value.items):!1),h=T(()=>!!(t.value.items&&t.value.items.length));_e(()=>{s.value=!!(o.value&&t.value.collapsed)}),Ee(()=>{(i.value||d.value)&&(s.value=!1)});function g(){o.value&&(s.value=!s.value)}return{collapsed:s,collapsible:o,isLink:a,isActiveLink:i,hasActiveLink:d,hasChildren:h,toggle:g}}function vn(){const{hasSidebar:t}=Y(),e=we("(min-width: 960px)"),n=we("(min-width: 1280px)");return{isAsideEnabled:T(()=>!n.value&&!e.value?!1:t.value?n.value:e.value)}}const Ce=[];function rt(t){return typeof t.outline=="object"&&!Array.isArray(t.outline)&&t.outline.label||t.outlineTitle||"On this page"}function He(t){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(n=>n.id&&n.hasChildNodes()).map(n=>{const s=Number(n.tagName[1]);return{element:n,title:hn(n),link:"#"+n.id,level:s}});return _n(e,t)}function hn(t){let e="";for(const n of t.childNodes)if(n.nodeType===1){if(n.classList.contains("VPBadge")||n.classList.contains("header-anchor")||n.classList.contains("ignore-header"))continue;e+=n.textContent}else n.nodeType===3&&(e+=n.textContent);return e.trim()}function _n(t,e){if(e===!1)return[];const n=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[s,o]=typeof n=="number"?[n,n]:n==="deep"?[2,6]:n;t=t.filter(i=>i.level>=s&&i.level<=o),Ce.length=0;for(const{element:i,link:l}of t)Ce.push({element:i,link:l});const a=[];e:for(let i=0;i=0;d--){const h=t[d];if(h.level{requestAnimationFrame(a),window.addEventListener("scroll",s)}),Nt(()=>{i(location.hash)}),le(()=>{window.removeEventListener("scroll",s)});function a(){if(!n.value)return;const l=window.scrollY,d=window.innerHeight,h=document.body.offsetHeight,g=Math.abs(l+d-h)<1,_=Ce.map(({element:N,link:V})=>({link:V,top:gn(N)})).filter(({top:N})=>!Number.isNaN(N)).sort((N,V)=>N.top-V.top);if(!_.length){i(null);return}if(l<1){i(null);return}if(g){i(_[_.length-1].link);return}let y=null;for(const{link:N,top:V}of _){if(V>l+At()+4)break;y=N}i(y)}function i(l){o&&o.classList.remove("active"),l==null?o=null:o=t.value.querySelector(`a[href="${decodeURIComponent(l)}"]`);const d=o;d?(d.classList.add("active"),e.value.style.top=d.offsetTop+39+"px",e.value.style.opacity="1"):(e.value.style.top="33px",e.value.style.opacity="0")}}function gn(t){let e=0;for(;t!==document.body;){if(t===null)return NaN;e+=t.offsetTop,t=t.offsetParent}return e}const bn=["href","title"],yn=m({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(t){function e({target:n}){const s=n.href.split("#")[1],o=document.getElementById(decodeURIComponent(s));o==null||o.focus({preventScroll:!0})}return(n,s)=>{const o=se("VPDocOutlineItem",!0);return r(),f("ul",{class:F(["VPDocOutlineItem",n.root?"root":"nested"])},[(r(!0),f(D,null,U(n.headers,({children:a,link:i,title:l})=>(r(),f("li",null,[u("a",{class:"outline-link",href:i,onClick:e,title:l},C(l),9,bn),a!=null&&a.length?(r(),$(o,{key:0,headers:a},null,8,["headers"])):b("",!0)]))),256))],2)}}}),it=S(yn,[["__scopeId","data-v-75d41a09"]]),kn={class:"content"},$n={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},Sn=m({__name:"VPDocAsideOutline",setup(t){const{frontmatter:e,theme:n}=O(),s=Xe([]);me(()=>{s.value=He(e.value.outline??n.value.outline)});const o=I(),a=I();return mn(o,a),(i,l)=>(r(),f("nav",{"aria-labelledby":"doc-outline-aria-label",class:F(["VPDocAsideOutline",{"has-outline":s.value.length>0}]),ref_key:"container",ref:o},[u("div",kn,[u("div",{class:"outline-marker",ref_key:"marker",ref:a},null,512),u("div",$n,C(c(rt)(c(n))),1),w(it,{headers:s.value,root:!0},null,8,["headers"])])],2))}}),Pn=S(Sn,[["__scopeId","data-v-1a7b7e3f"]]),wn={class:"VPDocAsideCarbonAds"},Ln=m({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(t){const e=()=>null;return(n,s)=>(r(),f("div",wn,[w(c(e),{"carbon-ads":n.carbonAds},null,8,["carbon-ads"])]))}}),Vn=t=>(x("data-v-ba54ca11"),t=t(),j(),t),Tn={class:"VPDocAside"},In=Vn(()=>u("div",{class:"spacer"},null,-1)),Cn=m({__name:"VPDocAside",setup(t){const{theme:e}=O();return(n,s)=>(r(),f("div",Tn,[p(n.$slots,"aside-top",{},void 0,!0),p(n.$slots,"aside-outline-before",{},void 0,!0),w(Pn),p(n.$slots,"aside-outline-after",{},void 0,!0),In,p(n.$slots,"aside-ads-before",{},void 0,!0),c(e).carbonAds?(r(),$(Ln,{key:0,"carbon-ads":c(e).carbonAds},null,8,["carbon-ads"])):b("",!0),p(n.$slots,"aside-ads-after",{},void 0,!0),p(n.$slots,"aside-bottom",{},void 0,!0)]))}}),Nn=S(Cn,[["__scopeId","data-v-ba54ca11"]]);function An(){const{theme:t,page:e}=O();return T(()=>{const{text:n="Edit this page",pattern:s=""}=t.value.editLink||{};let o;return typeof s=="function"?o=s(e.value):o=s.replace(/:path/g,e.value.filePath),{url:o,text:n}})}function Mn(){const{page:t,theme:e,frontmatter:n}=O();return T(()=>{var h,g,_,y,N,V,M,k;const s=at(e.value.sidebar,t.value.relativePath),o=dn(s),a=En(o,R=>R.link.replace(/[?#].*$/,"")),i=a.findIndex(R=>oe(t.value.relativePath,R.link)),l=((h=e.value.docFooter)==null?void 0:h.prev)===!1&&!n.value.prev||n.value.prev===!1,d=((g=e.value.docFooter)==null?void 0:g.next)===!1&&!n.value.next||n.value.next===!1;return{prev:l?void 0:{text:(typeof n.value.prev=="string"?n.value.prev:typeof n.value.prev=="object"?n.value.prev.text:void 0)??((_=a[i-1])==null?void 0:_.docFooterText)??((y=a[i-1])==null?void 0:y.text),link:(typeof n.value.prev=="object"?n.value.prev.link:void 0)??((N=a[i-1])==null?void 0:N.link)},next:d?void 0:{text:(typeof n.value.next=="string"?n.value.next:typeof n.value.next=="object"?n.value.next.text:void 0)??((V=a[i+1])==null?void 0:V.docFooterText)??((M=a[i+1])==null?void 0:M.text),link:(typeof n.value.next=="object"?n.value.next.link:void 0)??((k=a[i+1])==null?void 0:k.link)}}})}function En(t,e){const n=new Set;return t.filter(s=>{const o=e(s);return n.has(o)?!1:n.add(o)})}const q=m({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(t){const e=t,n=T(()=>e.tag??(e.href?"a":"span")),s=T(()=>e.href&&Qe.test(e.href)||e.target==="_blank");return(o,a)=>(r(),$(K(n.value),{class:F(["VPLink",{link:o.href,"vp-external-link-icon":s.value,"no-icon":o.noIcon}]),href:o.href?c(Oe)(o.href):void 0,target:o.target??(s.value?"_blank":void 0),rel:o.rel??(s.value?"noreferrer":void 0)},{default:v(()=>[p(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),Bn={class:"VPLastUpdated"},On=["datetime"],Hn=m({__name:"VPDocFooterLastUpdated",setup(t){const{theme:e,page:n,lang:s}=O(),o=T(()=>new Date(n.value.lastUpdated)),a=T(()=>o.value.toISOString()),i=I("");return te(()=>{_e(()=>{var l,d,h;i.value=new Intl.DateTimeFormat((d=(l=e.value.lastUpdated)==null?void 0:l.formatOptions)!=null&&d.forceLocale?s.value:void 0,((h=e.value.lastUpdated)==null?void 0:h.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(o.value)})}),(l,d)=>{var h;return r(),f("p",Bn,[W(C(((h=c(e).lastUpdated)==null?void 0:h.text)||c(e).lastUpdatedText||"Last updated")+": ",1),u("time",{datetime:a.value},C(i.value),9,On)])}}}),Dn=S(Hn,[["__scopeId","data-v-e2247888"]]),lt=t=>(x("data-v-bb44dcf3"),t=t(),j(),t),Fn={key:0,class:"VPDocFooter"},xn={key:0,class:"edit-info"},jn={key:0,class:"edit-link"},Rn=lt(()=>u("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),Un={key:1,class:"last-updated"},zn={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},Gn=lt(()=>u("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),Kn={class:"pager"},qn=["innerHTML"],Wn=["innerHTML"],Jn={class:"pager"},Yn=["innerHTML"],Xn=["innerHTML"],Qn=m({__name:"VPDocFooter",setup(t){const{theme:e,page:n,frontmatter:s}=O(),o=An(),a=Mn(),i=T(()=>e.value.editLink&&s.value.editLink!==!1),l=T(()=>n.value.lastUpdated),d=T(()=>i.value||l.value||a.value.prev||a.value.next);return(h,g)=>{var _,y,N,V;return d.value?(r(),f("footer",Fn,[p(h.$slots,"doc-footer-before",{},void 0,!0),i.value||l.value?(r(),f("div",xn,[i.value?(r(),f("div",jn,[w(q,{class:"edit-link-button",href:c(o).url,"no-icon":!0},{default:v(()=>[Rn,W(" "+C(c(o).text),1)]),_:1},8,["href"])])):b("",!0),l.value?(r(),f("div",Un,[w(Dn)])):b("",!0)])):b("",!0),(_=c(a).prev)!=null&&_.link||(y=c(a).next)!=null&&y.link?(r(),f("nav",zn,[Gn,u("div",Kn,[(N=c(a).prev)!=null&&N.link?(r(),$(q,{key:0,class:"pager-link prev",href:c(a).prev.link},{default:v(()=>{var M;return[u("span",{class:"desc",innerHTML:((M=c(e).docFooter)==null?void 0:M.prev)||"Previous page"},null,8,qn),u("span",{class:"title",innerHTML:c(a).prev.text},null,8,Wn)]}),_:1},8,["href"])):b("",!0)]),u("div",Jn,[(V=c(a).next)!=null&&V.link?(r(),$(q,{key:0,class:"pager-link next",href:c(a).next.link},{default:v(()=>{var M;return[u("span",{class:"desc",innerHTML:((M=c(e).docFooter)==null?void 0:M.next)||"Next page"},null,8,Yn),u("span",{class:"title",innerHTML:c(a).next.text},null,8,Xn)]}),_:1},8,["href"])):b("",!0)])])):b("",!0)])):b("",!0)}}}),Zn=S(Qn,[["__scopeId","data-v-bb44dcf3"]]),eo=t=>(x("data-v-1b1e6eb6"),t=t(),j(),t),to={class:"container"},no=eo(()=>u("div",{class:"aside-curtain"},null,-1)),oo={class:"aside-container"},so={class:"aside-content"},ao={class:"content"},ro={class:"content-container"},io={class:"main"},lo=m({__name:"VPDoc",setup(t){const{theme:e}=O(),n=ge(),{hasSidebar:s,hasAside:o,leftAside:a}=Y(),i=T(()=>n.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(l,d)=>{const h=se("Content");return r(),f("div",{class:F(["VPDoc",{"has-sidebar":c(s),"has-aside":c(o)}])},[p(l.$slots,"doc-top",{},void 0,!0),u("div",to,[c(o)?(r(),f("div",{key:0,class:F(["aside",{"left-aside":c(a)}])},[no,u("div",oo,[u("div",so,[w(Nn,null,{"aside-top":v(()=>[p(l.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[p(l.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[p(l.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[p(l.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[p(l.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[p(l.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):b("",!0),u("div",ao,[u("div",ro,[p(l.$slots,"doc-before",{},void 0,!0),u("main",io,[w(h,{class:F(["vp-doc",[i.value,c(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),w(Zn,null,{"doc-footer-before":v(()=>[p(l.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),p(l.$slots,"doc-after",{},void 0,!0)])])]),p(l.$slots,"doc-bottom",{},void 0,!0)],2)}}}),co=S(lo,[["__scopeId","data-v-1b1e6eb6"]]),uo=m({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(t){const e=t,n=T(()=>e.href&&Qe.test(e.href)),s=T(()=>e.tag||e.href?"a":"button");return(o,a)=>(r(),$(K(s.value),{class:F(["VPButton",[o.size,o.theme]]),href:o.href?c(Oe)(o.href):void 0,target:e.target??(n.value?"_blank":void 0),rel:e.rel??(n.value?"noreferrer":void 0)},{default:v(()=>[W(C(o.text),1)]),_:1},8,["class","href","target","rel"]))}}),fo=S(uo,[["__scopeId","data-v-0197a461"]]),po=["src","alt"],vo=m({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(t){return(e,n)=>{const s=se("VPImage",!0);return e.image?(r(),f(D,{key:0},[typeof e.image=="string"||"src"in e.image?(r(),f("img",ee({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:c(Me)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,po)):(r(),f(D,{key:1},[w(s,ee({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),w(s,ee({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):b("",!0)}}}),he=S(vo,[["__scopeId","data-v-8fba738a"]]),ho=t=>(x("data-v-5c988386"),t=t(),j(),t),_o={class:"container"},mo={class:"main"},go={key:0,class:"name"},bo=["innerHTML"],yo=["innerHTML"],ko=["innerHTML"],$o={key:0,class:"actions"},So={key:0,class:"image"},Po={class:"image-container"},wo=ho(()=>u("div",{class:"image-bg"},null,-1)),Lo=m({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(t){const e=ce("hero-image-slot-exists");return(n,s)=>(r(),f("div",{class:F(["VPHero",{"has-image":n.image||c(e)}])},[u("div",_o,[u("div",mo,[p(n.$slots,"home-hero-info-before",{},void 0,!0),p(n.$slots,"home-hero-info",{},()=>[n.name?(r(),f("h1",go,[u("span",{innerHTML:n.name,class:"clip"},null,8,bo)])):b("",!0),n.text?(r(),f("p",{key:1,innerHTML:n.text,class:"text"},null,8,yo)):b("",!0),n.tagline?(r(),f("p",{key:2,innerHTML:n.tagline,class:"tagline"},null,8,ko)):b("",!0)],!0),p(n.$slots,"home-hero-info-after",{},void 0,!0),n.actions?(r(),f("div",$o,[(r(!0),f(D,null,U(n.actions,o=>(r(),f("div",{key:o.link,class:"action"},[w(fo,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link,target:o.target,rel:o.rel},null,8,["theme","text","href","target","rel"])]))),128))])):b("",!0),p(n.$slots,"home-hero-actions-after",{},void 0,!0)]),n.image||c(e)?(r(),f("div",So,[u("div",Po,[wo,p(n.$slots,"home-hero-image",{},()=>[n.image?(r(),$(he,{key:0,class:"image-src",image:n.image},null,8,["image"])):b("",!0)],!0)])])):b("",!0)])],2))}}),Vo=S(Lo,[["__scopeId","data-v-5c988386"]]),To=m({__name:"VPHomeHero",setup(t){const{frontmatter:e}=O();return(n,s)=>c(e).hero?(r(),$(Vo,{key:0,class:"VPHomeHero",name:c(e).hero.name,text:c(e).hero.text,tagline:c(e).hero.tagline,image:c(e).hero.image,actions:c(e).hero.actions},{"home-hero-info-before":v(()=>[p(n.$slots,"home-hero-info-before")]),"home-hero-info":v(()=>[p(n.$slots,"home-hero-info")]),"home-hero-info-after":v(()=>[p(n.$slots,"home-hero-info-after")]),"home-hero-actions-after":v(()=>[p(n.$slots,"home-hero-actions-after")]),"home-hero-image":v(()=>[p(n.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):b("",!0)}}),Io=t=>(x("data-v-c7369462"),t=t(),j(),t),Co={class:"box"},No={key:0,class:"icon"},Ao=["innerHTML"],Mo=["innerHTML"],Eo=["innerHTML"],Bo={key:4,class:"link-text"},Oo={class:"link-text-value"},Ho=Io(()=>u("span",{class:"vpi-arrow-right link-text-icon"},null,-1)),Do=m({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(t){return(e,n)=>(r(),$(q,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:v(()=>[u("article",Co,[typeof e.icon=="object"&&e.icon.wrap?(r(),f("div",No,[w(he,{image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])])):typeof e.icon=="object"?(r(),$(he,{key:1,image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])):e.icon?(r(),f("div",{key:2,class:"icon",innerHTML:e.icon},null,8,Ao)):b("",!0),u("h2",{class:"title",innerHTML:e.title},null,8,Mo),e.details?(r(),f("p",{key:3,class:"details",innerHTML:e.details},null,8,Eo)):b("",!0),e.linkText?(r(),f("div",Bo,[u("p",Oo,[W(C(e.linkText)+" ",1),Ho])])):b("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Fo=S(Do,[["__scopeId","data-v-c7369462"]]),xo={key:0,class:"VPFeatures"},jo={class:"container"},Ro={class:"items"},Uo=m({__name:"VPFeatures",props:{features:{}},setup(t){const e=t,n=T(()=>{const s=e.features.length;if(s){if(s===2)return"grid-2";if(s===3)return"grid-3";if(s%3===0)return"grid-6";if(s>3)return"grid-4"}else return});return(s,o)=>s.features?(r(),f("div",xo,[u("div",jo,[u("div",Ro,[(r(!0),f(D,null,U(s.features,a=>(r(),f("div",{key:a.title,class:F(["item",[n.value]])},[w(Fo,{icon:a.icon,title:a.title,details:a.details,link:a.link,"link-text":a.linkText,rel:a.rel,target:a.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):b("",!0)}}),zo=S(Uo,[["__scopeId","data-v-677f1773"]]),Go=m({__name:"VPHomeFeatures",setup(t){const{frontmatter:e}=O();return(n,s)=>c(e).features?(r(),$(zo,{key:0,class:"VPHomeFeatures",features:c(e).features},null,8,["features"])):b("",!0)}}),Ko=m({__name:"VPHomeContent",setup(t){const{width:e}=Mt({initialWidth:0,includeScrollbar:!1});return(n,s)=>(r(),f("div",{class:"vp-doc container",style:be(c(e)?{"--vp-offset":`calc(50% - ${c(e)/2}px)`}:{})},[p(n.$slots,"default",{},void 0,!0)],4))}}),qo=S(Ko,[["__scopeId","data-v-af23e745"]]),Wo={class:"VPHome"},Jo=m({__name:"VPHome",setup(t){const{frontmatter:e}=O();return(n,s)=>{const o=se("Content");return r(),f("div",Wo,[p(n.$slots,"home-hero-before",{},void 0,!0),w(To,null,{"home-hero-info-before":v(()=>[p(n.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[p(n.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[p(n.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[p(n.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[p(n.$slots,"home-hero-image",{},void 0,!0)]),_:3}),p(n.$slots,"home-hero-after",{},void 0,!0),p(n.$slots,"home-features-before",{},void 0,!0),w(Go),p(n.$slots,"home-features-after",{},void 0,!0),c(e).markdownStyles!==!1?(r(),$(qo,{key:0},{default:v(()=>[w(o)]),_:1})):(r(),$(o,{key:1}))])}}}),Yo=S(Jo,[["__scopeId","data-v-1e2364af"]]),Xo={},Qo={class:"VPPage"};function Zo(t,e){const n=se("Content");return r(),f("div",Qo,[p(t.$slots,"page-top"),w(n),p(t.$slots,"page-bottom")])}const es=S(Xo,[["render",Zo]]),ts=m({__name:"VPContent",setup(t){const{page:e,frontmatter:n}=O(),{hasSidebar:s}=Y();return(o,a)=>(r(),f("div",{class:F(["VPContent",{"has-sidebar":c(s),"is-home":c(n).layout==="home"}]),id:"VPContent"},[c(e).isNotFound?p(o.$slots,"not-found",{key:0},()=>[w(cn)],!0):c(n).layout==="page"?(r(),$(es,{key:1},{"page-top":v(()=>[p(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[p(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):c(n).layout==="home"?(r(),$(Yo,{key:2},{"home-hero-before":v(()=>[p(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":v(()=>[p(o.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[p(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[p(o.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[p(o.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[p(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[p(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[p(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[p(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):c(n).layout&&c(n).layout!=="doc"?(r(),$(K(c(n).layout),{key:3})):(r(),$(co,{key:4},{"doc-top":v(()=>[p(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[p(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":v(()=>[p(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[p(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[p(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":v(()=>[p(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":v(()=>[p(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[p(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[p(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[p(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":v(()=>[p(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),ns=S(ts,[["__scopeId","data-v-b02ee7d2"]]),os={class:"container"},ss=["innerHTML"],as=["innerHTML"],rs=m({__name:"VPFooter",setup(t){const{theme:e,frontmatter:n}=O(),{hasSidebar:s}=Y();return(o,a)=>c(e).footer&&c(n).footer!==!1?(r(),f("footer",{key:0,class:F(["VPFooter",{"has-sidebar":c(s)}])},[u("div",os,[c(e).footer.message?(r(),f("p",{key:0,class:"message",innerHTML:c(e).footer.message},null,8,ss)):b("",!0),c(e).footer.copyright?(r(),f("p",{key:1,class:"copyright",innerHTML:c(e).footer.copyright},null,8,as)):b("",!0)])],2)):b("",!0)}}),is=S(rs,[["__scopeId","data-v-d5f9ff66"]]);function ls(){const{theme:t,frontmatter:e}=O(),n=Xe([]),s=T(()=>n.value.length>0);return me(()=>{n.value=He(e.value.outline??t.value.outline)}),{headers:n,hasLocalNav:s}}const cs=t=>(x("data-v-f5705a94"),t=t(),j(),t),us={class:"menu-text"},ds=cs(()=>u("span",{class:"vpi-chevron-right icon"},null,-1)),fs={class:"header"},ps={class:"outline"},vs=m({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(t){const e=t,{theme:n}=O(),s=I(!1),o=I(0),a=I(),i=I();function l(_){var y;(y=a.value)!=null&&y.contains(_.target)||(s.value=!1)}J(s,_=>{if(_){document.addEventListener("click",l);return}document.removeEventListener("click",l)}),Le("Escape",()=>{s.value=!1}),me(()=>{s.value=!1});function d(){s.value=!s.value,o.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function h(_){_.target.classList.contains("outline-link")&&(i.value&&(i.value.style.transition="none"),Et(()=>{s.value=!1}))}function g(){s.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(_,y)=>(r(),f("div",{class:"VPLocalNavOutlineDropdown",style:be({"--vp-vh":o.value+"px"}),ref_key:"main",ref:a},[_.headers.length>0?(r(),f("button",{key:0,onClick:d,class:F({open:s.value})},[u("span",us,C(c(rt)(c(n))),1),ds],2)):(r(),f("button",{key:1,onClick:g},C(c(n).returnToTopLabel||"Return to top"),1)),w(Ae,{name:"flyout"},{default:v(()=>[s.value?(r(),f("div",{key:0,ref_key:"items",ref:i,class:"items",onClick:h},[u("div",fs,[u("a",{class:"top-link",href:"#",onClick:g},C(c(n).returnToTopLabel||"Return to top"),1)]),u("div",ps,[w(it,{headers:_.headers},null,8,["headers"])])],512)):b("",!0)]),_:1})],4))}}),hs=S(vs,[["__scopeId","data-v-f5705a94"]]),_s=t=>(x("data-v-022e6087"),t=t(),j(),t),ms={class:"container"},gs=["aria-expanded"],bs=_s(()=>u("span",{class:"vpi-align-left menu-icon"},null,-1)),ys={class:"menu-text"},ks=m({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(t){const{theme:e,frontmatter:n}=O(),{hasSidebar:s}=Y(),{headers:o}=ls(),{y:a}=Ze(),i=I(0);te(()=>{i.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),me(()=>{o.value=He(n.value.outline??e.value.outline)});const l=T(()=>o.value.length===0),d=T(()=>l.value&&!s.value),h=T(()=>({VPLocalNav:!0,"has-sidebar":s.value,empty:l.value,fixed:d.value}));return(g,_)=>c(n).layout!=="home"&&(!d.value||c(a)>=i.value)?(r(),f("div",{key:0,class:F(h.value)},[u("div",ms,[c(s)?(r(),f("button",{key:0,class:"menu","aria-expanded":g.open,"aria-controls":"VPSidebarNav",onClick:_[0]||(_[0]=y=>g.$emit("open-menu"))},[bs,u("span",ys,C(c(e).sidebarMenuLabel||"Menu"),1)],8,gs)):b("",!0),w(hs,{headers:c(o),navHeight:i.value},null,8,["headers","navHeight"])])],2)):b("",!0)}}),$s=S(ks,[["__scopeId","data-v-022e6087"]]);function Ss(){const t=I(!1);function e(){t.value=!0,window.addEventListener("resize",o)}function n(){t.value=!1,window.removeEventListener("resize",o)}function s(){t.value?n():e()}function o(){window.outerWidth>=768&&n()}const a=ge();return J(()=>a.path,n),{isScreenOpen:t,openScreen:e,closeScreen:n,toggleScreen:s}}const Ps={},ws={class:"VPSwitch",type:"button",role:"switch"},Ls={class:"check"},Vs={key:0,class:"icon"};function Ts(t,e){return r(),f("button",ws,[u("span",Ls,[t.$slots.default?(r(),f("span",Vs,[p(t.$slots,"default",{},void 0,!0)])):b("",!0)])])}const Is=S(Ps,[["render",Ts],["__scopeId","data-v-8727337c"]]),ct=t=>(x("data-v-10656515"),t=t(),j(),t),Cs=ct(()=>u("span",{class:"vpi-sun sun"},null,-1)),Ns=ct(()=>u("span",{class:"vpi-moon moon"},null,-1)),As=m({__name:"VPSwitchAppearance",setup(t){const{isDark:e,theme:n}=O(),s=ce("toggle-appearance",()=>{e.value=!e.value}),o=I("");return Ee(()=>{o.value=e.value?n.value.lightModeSwitchTitle||"Switch to light theme":n.value.darkModeSwitchTitle||"Switch to dark theme"}),(a,i)=>(r(),$(Is,{title:o.value,class:"VPSwitchAppearance","aria-checked":c(e),onClick:c(s)},{default:v(()=>[Cs,Ns]),_:1},8,["title","aria-checked","onClick"]))}}),De=S(As,[["__scopeId","data-v-10656515"]]),Ms={key:0,class:"VPNavBarAppearance"},Es=m({__name:"VPNavBarAppearance",setup(t){const{site:e}=O();return(n,s)=>c(e).appearance&&c(e).appearance!=="force-dark"&&c(e).appearance!=="force-auto"?(r(),f("div",Ms,[w(De)])):b("",!0)}}),Bs=S(Es,[["__scopeId","data-v-0e100a46"]]),Fe=I();let ut=!1,Pe=0;function Os(t){const e=I(!1);if(ye){!ut&&Hs(),Pe++;const n=J(Fe,s=>{var o,a,i;s===t.el.value||(o=t.el.value)!=null&&o.contains(s)?(e.value=!0,(a=t.onFocus)==null||a.call(t)):(e.value=!1,(i=t.onBlur)==null||i.call(t))});le(()=>{n(),Pe--,Pe||Ds()})}return Bt(e)}function Hs(){document.addEventListener("focusin",dt),ut=!0,Fe.value=document.activeElement}function Ds(){document.removeEventListener("focusin",dt)}function dt(){Fe.value=document.activeElement}const Fs={class:"VPMenuLink"},xs=m({__name:"VPMenuLink",props:{item:{}},setup(t){const{page:e}=O();return(n,s)=>(r(),f("div",Fs,[w(q,{class:F({active:c(oe)(c(e).relativePath,n.item.activeMatch||n.item.link,!!n.item.activeMatch)}),href:n.item.link,target:n.item.target,rel:n.item.rel},{default:v(()=>[W(C(n.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),ke=S(xs,[["__scopeId","data-v-90280799"]]),js={class:"VPMenuGroup"},Rs={key:0,class:"title"},Us=m({__name:"VPMenuGroup",props:{text:{},items:{}},setup(t){return(e,n)=>(r(),f("div",js,[e.text?(r(),f("p",Rs,C(e.text),1)):b("",!0),(r(!0),f(D,null,U(e.items,s=>(r(),f(D,null,["link"in s?(r(),$(ke,{key:0,item:s},null,8,["item"])):b("",!0)],64))),256))]))}}),zs=S(Us,[["__scopeId","data-v-521dafbf"]]),Gs={class:"VPMenu"},Ks={key:0,class:"items"},qs=m({__name:"VPMenu",props:{items:{}},setup(t){return(e,n)=>(r(),f("div",Gs,[e.items?(r(),f("div",Ks,[(r(!0),f(D,null,U(e.items,s=>(r(),f(D,{key:JSON.stringify(s)},["link"in s?(r(),$(ke,{key:0,item:s},null,8,["item"])):"component"in s?(r(),$(K(s.component),ee({key:1,ref_for:!0},s.props),null,16)):(r(),$(zs,{key:2,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):b("",!0),p(e.$slots,"default",{},void 0,!0)]))}}),Ws=S(qs,[["__scopeId","data-v-4397d6aa"]]),Js=t=>(x("data-v-4e740509"),t=t(),j(),t),Ys=["aria-expanded","aria-label"],Xs={key:0,class:"text"},Qs=["innerHTML"],Zs=Js(()=>u("span",{class:"vpi-chevron-down text-icon"},null,-1)),ea={key:1,class:"vpi-more-horizontal icon"},ta={class:"menu"},na=m({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(t){const e=I(!1),n=I();Os({el:n,onBlur:s});function s(){e.value=!1}return(o,a)=>(r(),f("div",{class:"VPFlyout",ref_key:"el",ref:n,onMouseenter:a[1]||(a[1]=i=>e.value=!0),onMouseleave:a[2]||(a[2]=i=>e.value=!1)},[u("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":o.label,onClick:a[0]||(a[0]=i=>e.value=!e.value)},[o.button||o.icon?(r(),f("span",Xs,[o.icon?(r(),f("span",{key:0,class:F([o.icon,"option-icon"])},null,2)):b("",!0),o.button?(r(),f("span",{key:1,innerHTML:o.button},null,8,Qs)):b("",!0),Zs])):(r(),f("span",ea))],8,Ys),u("div",ta,[w(Ws,{items:o.items},{default:v(()=>[p(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),xe=S(na,[["__scopeId","data-v-4e740509"]]),oa=["href","aria-label","innerHTML"],sa=m({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(t){const e=t,n=T(()=>typeof e.icon=="object"?e.icon.svg:``);return(s,o)=>(r(),f("a",{class:"VPSocialLink no-icon",href:s.link,"aria-label":s.ariaLabel??(typeof s.icon=="string"?s.icon:""),target:"_blank",rel:"noopener",innerHTML:n.value},null,8,oa))}}),aa=S(sa,[["__scopeId","data-v-9abc2d2a"]]),ra={class:"VPSocialLinks"},ia=m({__name:"VPSocialLinks",props:{links:{}},setup(t){return(e,n)=>(r(),f("div",ra,[(r(!0),f(D,null,U(e.links,({link:s,icon:o,ariaLabel:a})=>(r(),$(aa,{key:s,icon:o,link:s,ariaLabel:a},null,8,["icon","link","ariaLabel"]))),128))]))}}),je=S(ia,[["__scopeId","data-v-b1e9369e"]]),la={key:0,class:"group translations"},ca={class:"trans-title"},ua={key:1,class:"group"},da={class:"item appearance"},fa={class:"label"},pa={class:"appearance-action"},va={key:2,class:"group"},ha={class:"item social-links"},_a=m({__name:"VPNavBarExtra",setup(t){const{site:e,theme:n}=O(),{localeLinks:s,currentLang:o}=ue({correspondingLink:!0}),a=T(()=>s.value.length&&o.value.label||e.value.appearance||n.value.socialLinks);return(i,l)=>a.value?(r(),$(xe,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:v(()=>[c(s).length&&c(o).label?(r(),f("div",la,[u("p",ca,C(c(o).label),1),(r(!0),f(D,null,U(c(s),d=>(r(),$(ke,{key:d.link,item:d},null,8,["item"]))),128))])):b("",!0),c(e).appearance&&c(e).appearance!=="force-dark"&&c(e).appearance!=="force-auto"?(r(),f("div",ua,[u("div",da,[u("p",fa,C(c(n).darkModeSwitchLabel||"Appearance"),1),u("div",pa,[w(De)])])])):b("",!0),c(n).socialLinks?(r(),f("div",va,[u("div",ha,[w(je,{class:"social-links-list",links:c(n).socialLinks},null,8,["links"])])])):b("",!0)]),_:1})):b("",!0)}}),ma=S(_a,[["__scopeId","data-v-02848efe"]]),ga=t=>(x("data-v-2849f847"),t=t(),j(),t),ba=["aria-expanded"],ya=ga(()=>u("span",{class:"container"},[u("span",{class:"top"}),u("span",{class:"middle"}),u("span",{class:"bottom"})],-1)),ka=[ya],$a=m({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(t){return(e,n)=>(r(),f("button",{type:"button",class:F(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:n[0]||(n[0]=s=>e.$emit("click"))},ka,10,ba))}}),Sa=S($a,[["__scopeId","data-v-2849f847"]]),Pa=["innerHTML"],wa=m({__name:"VPNavBarMenuLink",props:{item:{}},setup(t){const{page:e}=O();return(n,s)=>(r(),$(q,{class:F({VPNavBarMenuLink:!0,active:c(oe)(c(e).relativePath,n.item.activeMatch||n.item.link,!!n.item.activeMatch)}),href:n.item.link,noIcon:n.item.noIcon,target:n.item.target,rel:n.item.rel,tabindex:"0"},{default:v(()=>[u("span",{innerHTML:n.item.text},null,8,Pa)]),_:1},8,["class","href","noIcon","target","rel"]))}}),La=S(wa,[["__scopeId","data-v-c1f5da45"]]),Va=m({__name:"VPNavBarMenuGroup",props:{item:{}},setup(t){const e=t,{page:n}=O(),s=a=>"component"in a?!1:"link"in a?oe(n.value.relativePath,a.link,!!e.item.activeMatch):a.items.some(s),o=T(()=>s(e.item));return(a,i)=>(r(),$(xe,{class:F({VPNavBarMenuGroup:!0,active:c(oe)(c(n).relativePath,a.item.activeMatch,!!a.item.activeMatch)||o.value}),button:a.item.text,items:a.item.items},null,8,["class","button","items"]))}}),Ta=t=>(x("data-v-a0b069c0"),t=t(),j(),t),Ia={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Ca=Ta(()=>u("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),Na=m({__name:"VPNavBarMenu",setup(t){const{theme:e}=O();return(n,s)=>c(e).nav?(r(),f("nav",Ia,[Ca,(r(!0),f(D,null,U(c(e).nav,o=>(r(),f(D,{key:JSON.stringify(o)},["link"in o?(r(),$(La,{key:0,item:o},null,8,["item"])):"component"in o?(r(),$(K(o.component),ee({key:1,ref_for:!0},o.props),null,16)):(r(),$(Va,{key:2,item:o},null,8,["item"]))],64))),128))])):b("",!0)}}),Aa=S(Na,[["__scopeId","data-v-a0b069c0"]]);function Ma(t){const{localeIndex:e,theme:n}=O();function s(o){var V,M,k;const a=o.split("."),i=(V=n.value.search)==null?void 0:V.options,l=i&&typeof i=="object",d=l&&((k=(M=i.locales)==null?void 0:M[e.value])==null?void 0:k.translations)||null,h=l&&i.translations||null;let g=d,_=h,y=t;const N=a.pop();for(const R of a){let z=null;const X=y==null?void 0:y[R];X&&(z=y=X);const ne=_==null?void 0:_[R];ne&&(z=_=ne);const Q=g==null?void 0:g[R];Q&&(z=g=Q),X||(y=z),ne||(_=z),Q||(g=z)}return(g==null?void 0:g[N])??(_==null?void 0:_[N])??(y==null?void 0:y[N])??""}return s}const Ea=["aria-label"],Ba={class:"DocSearch-Button-Container"},Oa=u("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1),Ha={class:"DocSearch-Button-Placeholder"},Da=u("span",{class:"DocSearch-Button-Keys"},[u("kbd",{class:"DocSearch-Button-Key"}),u("kbd",{class:"DocSearch-Button-Key"},"K")],-1),Ge=m({__name:"VPNavBarSearchButton",setup(t){const n=Ma({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(s,o)=>(r(),f("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":c(n)("button.buttonAriaLabel")},[u("span",Ba,[Oa,u("span",Ha,C(c(n)("button.buttonText")),1)]),Da],8,Ea))}}),Fa={class:"VPNavBarSearch"},xa={id:"local-search"},ja={key:1,id:"docsearch"},Ra=m({__name:"VPNavBarSearch",setup(t){const e=Ot(()=>Ht(()=>import("./VPLocalSearchBox.CC6r1vRh.js"),__vite__mapDeps([0,1]))),n=()=>null,{theme:s}=O(),o=I(!1),a=I(!1);te(()=>{});function i(){o.value||(o.value=!0,setTimeout(l,16))}function l(){const _=new Event("keydown");_.key="k",_.metaKey=!0,window.dispatchEvent(_),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||l()},16)}function d(_){const y=_.target,N=y.tagName;return y.isContentEditable||N==="INPUT"||N==="SELECT"||N==="TEXTAREA"}const h=I(!1);Le("k",_=>{(_.ctrlKey||_.metaKey)&&(_.preventDefault(),h.value=!0)}),Le("/",_=>{d(_)||(_.preventDefault(),h.value=!0)});const g="local";return(_,y)=>{var N;return r(),f("div",Fa,[c(g)==="local"?(r(),f(D,{key:0},[h.value?(r(),$(c(e),{key:0,onClose:y[0]||(y[0]=V=>h.value=!1)})):b("",!0),u("div",xa,[w(Ge,{onClick:y[1]||(y[1]=V=>h.value=!0)})])],64)):c(g)==="algolia"?(r(),f(D,{key:1},[o.value?(r(),$(c(n),{key:0,algolia:((N=c(s).search)==null?void 0:N.options)??c(s).algolia,onVnodeBeforeMount:y[2]||(y[2]=V=>a.value=!0)},null,8,["algolia"])):b("",!0),a.value?b("",!0):(r(),f("div",ja,[w(Ge,{onClick:i})]))],64)):b("",!0)])}}}),Ua=m({__name:"VPNavBarSocialLinks",setup(t){const{theme:e}=O();return(n,s)=>c(e).socialLinks?(r(),$(je,{key:0,class:"VPNavBarSocialLinks",links:c(e).socialLinks},null,8,["links"])):b("",!0)}}),za=S(Ua,[["__scopeId","data-v-ca530fac"]]),Ga=["href","rel","target"],Ka={key:1},qa={key:2},Wa=m({__name:"VPNavBarTitle",setup(t){const{site:e,theme:n}=O(),{hasSidebar:s}=Y(),{currentLang:o}=ue(),a=T(()=>{var d;return typeof n.value.logoLink=="string"?n.value.logoLink:(d=n.value.logoLink)==null?void 0:d.link}),i=T(()=>{var d;return typeof n.value.logoLink=="string"||(d=n.value.logoLink)==null?void 0:d.rel}),l=T(()=>{var d;return typeof n.value.logoLink=="string"||(d=n.value.logoLink)==null?void 0:d.target});return(d,h)=>(r(),f("div",{class:F(["VPNavBarTitle",{"has-sidebar":c(s)}])},[u("a",{class:"title",href:a.value??c(Oe)(c(o).link),rel:i.value,target:l.value},[p(d.$slots,"nav-bar-title-before",{},void 0,!0),c(n).logo?(r(),$(he,{key:0,class:"logo",image:c(n).logo},null,8,["image"])):b("",!0),c(n).siteTitle?(r(),f("span",Ka,C(c(n).siteTitle),1)):c(n).siteTitle===void 0?(r(),f("span",qa,C(c(e).title),1)):b("",!0),p(d.$slots,"nav-bar-title-after",{},void 0,!0)],8,Ga)],2))}}),Ja=S(Wa,[["__scopeId","data-v-01425599"]]),Ya={class:"items"},Xa={class:"title"},Qa=m({__name:"VPNavBarTranslations",setup(t){const{theme:e}=O(),{localeLinks:n,currentLang:s}=ue({correspondingLink:!0});return(o,a)=>c(n).length&&c(s).label?(r(),$(xe,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:c(e).langMenuLabel||"Change language"},{default:v(()=>[u("div",Ya,[u("p",Xa,C(c(s).label),1),(r(!0),f(D,null,U(c(n),i=>(r(),$(ke,{key:i.link,item:i},null,8,["item"]))),128))])]),_:1},8,["label"])):b("",!0)}}),Za=S(Qa,[["__scopeId","data-v-a0e85ae2"]]),er=t=>(x("data-v-03df6358"),t=t(),j(),t),tr={class:"wrapper"},nr={class:"container"},or={class:"title"},sr={class:"content"},ar={class:"content-body"},rr=er(()=>u("div",{class:"divider"},[u("div",{class:"divider-line"})],-1)),ir=m({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(t){const e=t,{y:n}=Ze(),{hasSidebar:s}=Y(),{frontmatter:o}=O(),a=I({});return Ee(()=>{a.value={"has-sidebar":s.value,home:o.value.layout==="home",top:n.value===0,"screen-open":e.isScreenOpen}}),(i,l)=>(r(),f("div",{class:F(["VPNavBar",a.value])},[u("div",tr,[u("div",nr,[u("div",or,[w(Ja,null,{"nav-bar-title-before":v(()=>[p(i.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[p(i.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),u("div",sr,[u("div",ar,[p(i.$slots,"nav-bar-content-before",{},void 0,!0),w(Ra,{class:"search"}),w(Aa,{class:"menu"}),w(Za,{class:"translations"}),w(Bs,{class:"appearance"}),w(za,{class:"social-links"}),w(ma,{class:"extra"}),p(i.$slots,"nav-bar-content-after",{},void 0,!0),w(Sa,{class:"hamburger",active:i.isScreenOpen,onClick:l[0]||(l[0]=d=>i.$emit("toggle-screen"))},null,8,["active"])])])])]),rr],2))}}),lr=S(ir,[["__scopeId","data-v-03df6358"]]),cr={key:0,class:"VPNavScreenAppearance"},ur={class:"text"},dr=m({__name:"VPNavScreenAppearance",setup(t){const{site:e,theme:n}=O();return(s,o)=>c(e).appearance&&c(e).appearance!=="force-dark"&&c(e).appearance!=="force-auto"?(r(),f("div",cr,[u("p",ur,C(c(n).darkModeSwitchLabel||"Appearance"),1),w(De)])):b("",!0)}}),fr=S(dr,[["__scopeId","data-v-bd6a2777"]]),pr=m({__name:"VPNavScreenMenuLink",props:{item:{}},setup(t){const e=ce("close-screen");return(n,s)=>(r(),$(q,{class:"VPNavScreenMenuLink",href:n.item.link,target:n.item.target,rel:n.item.rel,onClick:c(e),innerHTML:n.item.text},null,8,["href","target","rel","onClick","innerHTML"]))}}),vr=S(pr,[["__scopeId","data-v-b37d669d"]]),hr=m({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(t){const e=ce("close-screen");return(n,s)=>(r(),$(q,{class:"VPNavScreenMenuGroupLink",href:n.item.link,target:n.item.target,rel:n.item.rel,onClick:c(e)},{default:v(()=>[W(C(n.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),ft=S(hr,[["__scopeId","data-v-fa8446d3"]]),_r={class:"VPNavScreenMenuGroupSection"},mr={key:0,class:"title"},gr=m({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(t){return(e,n)=>(r(),f("div",_r,[e.text?(r(),f("p",mr,C(e.text),1)):b("",!0),(r(!0),f(D,null,U(e.items,s=>(r(),$(ft,{key:s.text,item:s},null,8,["item"]))),128))]))}}),br=S(gr,[["__scopeId","data-v-19fc8329"]]),yr=t=>(x("data-v-b87097e2"),t=t(),j(),t),kr=["aria-controls","aria-expanded"],$r=["innerHTML"],Sr=yr(()=>u("span",{class:"vpi-plus button-icon"},null,-1)),Pr=["id"],wr={key:0,class:"item"},Lr={key:1,class:"item"},Vr={key:2,class:"group"},Tr=m({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(t){const e=t,n=I(!1),s=T(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function o(){n.value=!n.value}return(a,i)=>(r(),f("div",{class:F(["VPNavScreenMenuGroup",{open:n.value}])},[u("button",{class:"button","aria-controls":s.value,"aria-expanded":n.value,onClick:o},[u("span",{class:"button-text",innerHTML:a.text},null,8,$r),Sr],8,kr),u("div",{id:s.value,class:"items"},[(r(!0),f(D,null,U(a.items,l=>(r(),f(D,{key:JSON.stringify(l)},["link"in l?(r(),f("div",wr,[w(ft,{item:l},null,8,["item"])])):"component"in l?(r(),f("div",Lr,[(r(),$(K(l.component),ee({ref_for:!0},l.props,{"screen-menu":""}),null,16))])):(r(),f("div",Vr,[w(br,{text:l.text,items:l.items},null,8,["text","items"])]))],64))),128))],8,Pr)],2))}}),Ir=S(Tr,[["__scopeId","data-v-b87097e2"]]),Cr={key:0,class:"VPNavScreenMenu"},Nr=m({__name:"VPNavScreenMenu",setup(t){const{theme:e}=O();return(n,s)=>c(e).nav?(r(),f("nav",Cr,[(r(!0),f(D,null,U(c(e).nav,o=>(r(),f(D,{key:JSON.stringify(o)},["link"in o?(r(),$(vr,{key:0,item:o},null,8,["item"])):"component"in o?(r(),$(K(o.component),ee({key:1,ref_for:!0},o.props,{"screen-menu":""}),null,16)):(r(),$(Ir,{key:2,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):b("",!0)}}),Ar=m({__name:"VPNavScreenSocialLinks",setup(t){const{theme:e}=O();return(n,s)=>c(e).socialLinks?(r(),$(je,{key:0,class:"VPNavScreenSocialLinks",links:c(e).socialLinks},null,8,["links"])):b("",!0)}}),pt=t=>(x("data-v-55a701b1"),t=t(),j(),t),Mr=pt(()=>u("span",{class:"vpi-languages icon lang"},null,-1)),Er=pt(()=>u("span",{class:"vpi-chevron-down icon chevron"},null,-1)),Br={class:"list"},Or=m({__name:"VPNavScreenTranslations",setup(t){const{localeLinks:e,currentLang:n}=ue({correspondingLink:!0}),s=I(!1);function o(){s.value=!s.value}return(a,i)=>c(e).length&&c(n).label?(r(),f("div",{key:0,class:F(["VPNavScreenTranslations",{open:s.value}])},[u("button",{class:"title",onClick:o},[Mr,W(" "+C(c(n).label)+" ",1),Er]),u("ul",Br,[(r(!0),f(D,null,U(c(e),l=>(r(),f("li",{key:l.link,class:"item"},[w(q,{class:"link",href:l.link},{default:v(()=>[W(C(l.text),1)]),_:2},1032,["href"])]))),128))])],2)):b("",!0)}}),Hr=S(Or,[["__scopeId","data-v-55a701b1"]]),Dr={class:"container"},Fr=m({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(t){const e=I(null),n=et(ye?document.body:null);return(s,o)=>(r(),$(Ae,{name:"fade",onEnter:o[0]||(o[0]=a=>n.value=!0),onAfterLeave:o[1]||(o[1]=a=>n.value=!1)},{default:v(()=>[s.open?(r(),f("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[u("div",Dr,[p(s.$slots,"nav-screen-content-before",{},void 0,!0),w(Nr,{class:"menu"}),w(Hr,{class:"translations"}),w(fr,{class:"appearance"}),w(Ar,{class:"social-links"}),p(s.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):b("",!0)]),_:3}))}}),xr=S(Fr,[["__scopeId","data-v-39377809"]]),jr={key:0,class:"VPNav"},Rr=m({__name:"VPNav",setup(t){const{isScreenOpen:e,closeScreen:n,toggleScreen:s}=Ss(),{frontmatter:o}=O(),a=T(()=>o.value.navbar!==!1);return tt("close-screen",n),_e(()=>{ye&&document.documentElement.classList.toggle("hide-nav",!a.value)}),(i,l)=>a.value?(r(),f("header",jr,[w(lr,{"is-screen-open":c(e),onToggleScreen:c(s)},{"nav-bar-title-before":v(()=>[p(i.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[p(i.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[p(i.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[p(i.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),w(xr,{open:c(e)},{"nav-screen-content-before":v(()=>[p(i.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[p(i.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):b("",!0)}}),Ur=S(Rr,[["__scopeId","data-v-10d5e81f"]]),vt=t=>(x("data-v-c4699b33"),t=t(),j(),t),zr=["role","tabindex"],Gr=vt(()=>u("div",{class:"indicator"},null,-1)),Kr=vt(()=>u("span",{class:"vpi-chevron-right caret-icon"},null,-1)),qr=[Kr],Wr={key:1,class:"items"},Jr=m({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(t){const e=t,{collapsed:n,collapsible:s,isLink:o,isActiveLink:a,hasActiveLink:i,hasChildren:l,toggle:d}=pn(T(()=>e.item)),h=T(()=>l.value?"section":"div"),g=T(()=>o.value?"a":"div"),_=T(()=>l.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),y=T(()=>o.value?void 0:"button"),N=T(()=>[[`level-${e.depth}`],{collapsible:s.value},{collapsed:n.value},{"is-link":o.value},{"is-active":a.value},{"has-active":i.value}]);function V(k){"key"in k&&k.key!=="Enter"||!e.item.link&&d()}function M(){e.item.link&&d()}return(k,R)=>{const z=se("VPSidebarItem",!0);return r(),$(K(h.value),{class:F(["VPSidebarItem",N.value])},{default:v(()=>[k.item.text?(r(),f("div",ee({key:0,class:"item",role:y.value},Dt(k.item.items?{click:V,keydown:V}:{},!0),{tabindex:k.item.items&&0}),[Gr,k.item.link?(r(),$(q,{key:0,tag:g.value,class:"link",href:k.item.link,rel:k.item.rel,target:k.item.target},{default:v(()=>[(r(),$(K(_.value),{class:"text",innerHTML:k.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(r(),$(K(_.value),{key:1,class:"text",innerHTML:k.item.text},null,8,["innerHTML"])),k.item.collapsed!=null&&k.item.items&&k.item.items.length?(r(),f("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:M,onKeydown:Ft(M,["enter"]),tabindex:"0"},qr,32)):b("",!0)],16,zr)):b("",!0),k.item.items&&k.item.items.length?(r(),f("div",Wr,[k.depth<5?(r(!0),f(D,{key:0},U(k.item.items,X=>(r(),$(z,{key:X.text,item:X,depth:k.depth+1},null,8,["item","depth"]))),128)):b("",!0)])):b("",!0)]),_:1},8,["class"])}}}),Yr=S(Jr,[["__scopeId","data-v-c4699b33"]]),Xr=m({__name:"VPSidebarGroup",props:{items:{}},setup(t){const e=I(!0);let n=null;return te(()=>{n=setTimeout(()=>{n=null,e.value=!1},300)}),xt(()=>{n!=null&&(clearTimeout(n),n=null)}),(s,o)=>(r(!0),f(D,null,U(s.items,a=>(r(),f("div",{key:a.text,class:F(["group",{"no-transition":e.value}])},[w(Yr,{item:a,depth:0},null,8,["item"])],2))),128))}}),Qr=S(Xr,[["__scopeId","data-v-c3141239"]]),ht=t=>(x("data-v-52f4c170"),t=t(),j(),t),Zr=ht(()=>u("div",{class:"curtain"},null,-1)),ei={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},ti=ht(()=>u("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),ni=m({__name:"VPSidebar",props:{open:{type:Boolean}},setup(t){const{sidebarGroups:e,hasSidebar:n}=Y(),s=t,o=I(null),a=et(ye?document.body:null);J([s,o],()=>{var l;s.open?(a.value=!0,(l=o.value)==null||l.focus()):a.value=!1},{immediate:!0,flush:"post"});const i=I(0);return J(e,()=>{i.value+=1},{deep:!0}),(l,d)=>c(n)?(r(),f("aside",{key:0,class:F(["VPSidebar",{open:l.open}]),ref_key:"navEl",ref:o,onClick:d[0]||(d[0]=jt(()=>{},["stop"]))},[Zr,u("nav",ei,[ti,p(l.$slots,"sidebar-nav-before",{},void 0,!0),(r(),$(Qr,{items:c(e),key:i.value},null,8,["items"])),p(l.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):b("",!0)}}),oi=S(ni,[["__scopeId","data-v-52f4c170"]]),si=m({__name:"VPSkipLink",setup(t){const e=ge(),n=I();J(()=>e.path,()=>n.value.focus());function s({target:o}){const a=document.getElementById(decodeURIComponent(o.hash).slice(1));if(a){const i=()=>{a.removeAttribute("tabindex"),a.removeEventListener("blur",i)};a.setAttribute("tabindex","-1"),a.addEventListener("blur",i),a.focus(),window.scrollTo(0,0)}}return(o,a)=>(r(),f(D,null,[u("span",{ref_key:"backToTop",ref:n,tabindex:"-1"},null,512),u("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:s}," Skip to content ")],64))}}),ai=S(si,[["__scopeId","data-v-4a10e730"]]),ri=m({__name:"Layout",setup(t){const{isOpen:e,open:n,close:s}=Y(),o=ge();J(()=>o.path,s),fn(e,s);const{frontmatter:a}=O(),i=Rt(),l=T(()=>!!i["home-hero-image"]);return tt("hero-image-slot-exists",l),(d,h)=>{const g=se("Content");return c(a).layout!==!1?(r(),f("div",{key:0,class:F(["Layout",c(a).pageClass])},[p(d.$slots,"layout-top",{},void 0,!0),w(ai),w(Yt,{class:"backdrop",show:c(e),onClick:c(s)},null,8,["show","onClick"]),w(Ur,null,{"nav-bar-title-before":v(()=>[p(d.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[p(d.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[p(d.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[p(d.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":v(()=>[p(d.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[p(d.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),w($s,{open:c(e),onOpenMenu:c(n)},null,8,["open","onOpenMenu"]),w(oi,{open:c(e)},{"sidebar-nav-before":v(()=>[p(d.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":v(()=>[p(d.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),w(ns,null,{"page-top":v(()=>[p(d.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[p(d.$slots,"page-bottom",{},void 0,!0)]),"not-found":v(()=>[p(d.$slots,"not-found",{},void 0,!0)]),"home-hero-before":v(()=>[p(d.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":v(()=>[p(d.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[p(d.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[p(d.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[p(d.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[p(d.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[p(d.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[p(d.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[p(d.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":v(()=>[p(d.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[p(d.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[p(d.$slots,"doc-after",{},void 0,!0)]),"doc-top":v(()=>[p(d.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[p(d.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":v(()=>[p(d.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[p(d.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[p(d.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[p(d.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[p(d.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[p(d.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),w(is),p(d.$slots,"layout-bottom",{},void 0,!0)],2)):(r(),$(g,{key:1}))}}}),ii=S(ri,[["__scopeId","data-v-4be82239"]]),_t={Layout:ii,enhanceApp:({app:t})=>{t.component("Badge",qt)}},Re="LiteyukiStudio",Ue="LiteyukiBot",li="https://api.github.com",ci="https://git.liteyuki.icu/api/v1",ui="https://api.liteyuki.icu/online",di="https://api.liteyuki.icu/count",fi="https://api.liteyuki.icu/visit",pi="https://api.liteyuki.icu/visit_count",ie=`https://github.com/${Re}/${Ue}`,Ke="https://starmap.liteyuki.icu";async function vi(){try{const t=`${ci}/repos/${Re}/${Ue}`;console.log(t);const n=await(await fetch(t)).json();return{stars:n.stars_count,forks:n.forks_count,watchers:n.watchers_count,issues:0,prs:0,size:n.size}}catch{return{stars:-1,forks:-1,watchers:-1,issues:-1,prs:-1,size:-1}}}async function hi(){try{const e=await(await fetch(`${li}/repos/${Re}/${Ue}`)).json();return{stars:e.stargazers_count,forks:e.forks_count,watchers:e.watchers_count,issues:e.open_issues_count,prs:e.open_issues_count,size:e.size}}catch{return{stars:-1,forks:-1,watchers:-1,issues:-1,prs:-1,size:-1}}}async function _i(){const t=await hi(),e=await vi();return{stars:t.stars+e.stars,forks:t.forks+e.forks,watchers:t.watchers+e.watchers,issues:t.issues+e.issues,prs:t.prs+e.prs,size:t.size+e.size}}const ae={getTotal:async()=>{try{return(await(await fetch(di)).json()).register}catch{return-1}},getOnline:async()=>{try{return(await(await fetch(ui)).json()).online}catch{return-1}},getGithubStats:_i,getPluginNum:async()=>{try{return(await(await fetch("/plugins.json")).json()).length}catch{return-1}},getResourceNum:async()=>{try{return(await(await fetch("/resources.json")).json()).length}catch{return-1}},getVisitCount:async()=>{try{return(await(await fetch(pi)).json()).count}catch{return-1}}};function mi(){const t="deviceId";let e=localStorage.getItem(t);return e||(e=bi(),localStorage.setItem(t,e)),e}async function gi(){const t=mi();try{await fetch(fi,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({device_id:t}).toString()})}catch(e){console.error("Failed to upload visit record:",e)}}function bi(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=Math.random()*16|0,n=t==="x"?e:e&3|8;return n.toString(16)})}/*! +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/VPLocalSearchBox.N_ODFmQP.js","assets/chunks/framework.C4_mTacX.js"])))=>i.map(i=>d[i]); +import{u as Ne,d as m,o as r,c as f,r as p,n as F,a as W,t as C,b as $,w as v,e as b,T as Ae,_ as S,i as It,f as Ct,g as Me,h as T,j as u,k as c,p as x,l as j,m as oe,q as we,s as I,v as J,x as _e,y as te,z as le,A as Ee,B as Nt,C as At,D as se,F as D,E as U,G as Xe,H as me,I as w,J as K,K as Qe,L as ge,M as ee,N as ce,O as Mt,P as be,Q as Le,R as Et,S as Ze,U as ye,V as Bt,W as Ot,X as Ht,Y as et,Z as tt,$ as Dt,a0 as Ft,a1 as xt,a2 as jt,a3 as Rt,a4 as Ut,a5 as zt,a6 as nt,a7 as ot,a8 as Ve}from"./framework.C4_mTacX.js";const Gt={en:{stats:"Stats",online:"Online",offline:"Offline",total:"Total",fetching:"Fetching",stars:"Stars",forks:"Forks",issues:"Issues",prs:"Pull Requests",visitors:"Visitor",size:"Size",plugins:"Plugins",resources:"Resources",pluginStore:"Plugin Store",pluginStoreDesc:"Content from the LightSnow Plugin Store, LightSnow supports NoneBot through the lpnonebot plugin, and references some NoneBot plugins",liteyukiOnly:"Liteyuki Only",search:"Search",resourceStore:"Resources Store",thx_contributors:"Thanks the following contributors!"},zh:{stats:"统计信息",online:"在线",offline:"离线",total:"实例",fetching:"获取中",stars:"星标",forks:"分叉",issues:"工单",prs:"拉取请求",visitors:"访客",size:"大小",plugins:"插件",resources:"主题资源",store:"商店",pluginStore:"插件商店",pluginStoreDesc:"内容来自轻雪插件商店,轻雪通过lpnonebot插件对NoneBot实现支持,引用了部分NoneBot插件",liteyukiOnly:"仅轻雪",search:"搜索",resourceStore:"资源商店",thx_contributors:"感谢以下贡献者!"}};let ve={};function st(t,e){return t=Be(t),Gt[t][e]}function Be(t){return t.includes("-")?t.split("-")[0]:t}function Kt(){const t=Be(Ne().site.value.lang);for(let e in ve)ve[e].value=st(t,e)}function Z(t){const e=Be(Ne().site.value.lang);return ve[t]=st(e,t),ve[t]}const qt=m({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(t){return(e,n)=>(r(),f("span",{class:F(["VPBadge",e.type])},[p(e.$slots,"default",{},()=>[W(C(e.text),1)])],2))}}),Wt={key:0,class:"VPBackdrop"},Jt=m({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(t){return(e,n)=>(r(),$(Ae,{name:"fade"},{default:v(()=>[e.show?(r(),f("div",Wt)):b("",!0)]),_:1}))}}),Yt=S(Jt,[["__scopeId","data-v-8ef4ce84"]]),O=Ne;function Xt(t,e){let n,s=!1;return()=>{n&&clearTimeout(n),s?n=setTimeout(t,e):(t(),(s=!0)&&setTimeout(()=>s=!1,e))}}function Te(t){return/^\//.test(t)?t:`/${t}`}function Oe(t){const{pathname:e,search:n,hash:s,protocol:o}=new URL(t,"http://a.com");if(It(t)||t.startsWith("#")||!o.startsWith("http")||!Ct(e))return t;const{site:a}=O(),i=e.endsWith("/")||e.endsWith(".html")?t:t.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,a.value.cleanUrls?"":".html")}${n}${s}`);return Me(i)}function ue({correspondingLink:t=!1}={}){const{site:e,localeIndex:n,page:s,theme:o,hash:a}=O(),i=T(()=>{var d,h;return{label:(d=e.value.locales[n.value])==null?void 0:d.label,link:((h=e.value.locales[n.value])==null?void 0:h.link)||(n.value==="root"?"/":`/${n.value}/`)}});return{localeLinks:T(()=>Object.entries(e.value.locales).flatMap(([d,h])=>i.value.label===h.label?[]:{text:h.label,link:Qt(h.link||(d==="root"?"/":`/${d}/`),o.value.i18nRouting!==!1&&t,s.value.relativePath.slice(i.value.link.length-1),!e.value.cleanUrls)+a.value})),currentLang:i}}function Qt(t,e,n,s){return e?t.replace(/\/$/,"")+Te(n.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,s?".html":"")):t}const Zt=t=>(x("data-v-61e78ba6"),t=t(),j(),t),en={class:"NotFound"},tn={class:"code"},nn={class:"title"},on=Zt(()=>u("div",{class:"divider"},null,-1)),sn={class:"quote"},an={class:"action"},rn=["href","aria-label"],ln=m({__name:"NotFound",setup(t){const{theme:e}=O(),{currentLang:n}=ue();return(s,o)=>{var a,i,l,d,h;return r(),f("div",en,[u("p",tn,C(((a=c(e).notFound)==null?void 0:a.code)??"404"),1),u("h1",nn,C(((i=c(e).notFound)==null?void 0:i.title)??"PAGE NOT FOUND"),1),on,u("blockquote",sn,C(((l=c(e).notFound)==null?void 0:l.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),u("div",an,[u("a",{class:"link",href:c(Me)(c(n).link),"aria-label":((d=c(e).notFound)==null?void 0:d.linkLabel)??"go to home"},C(((h=c(e).notFound)==null?void 0:h.linkText)??"Take me home"),9,rn)])])}}}),cn=S(ln,[["__scopeId","data-v-61e78ba6"]]);function at(t,e){if(Array.isArray(t))return pe(t);if(t==null)return[];e=Te(e);const n=Object.keys(t).sort((o,a)=>a.split("/").length-o.split("/").length).find(o=>e.startsWith(Te(o))),s=n?t[n]:[];return Array.isArray(s)?pe(s):pe(s.items,s.base)}function un(t){const e=[];let n=0;for(const s in t){const o=t[s];if(o.items){n=e.push(o);continue}e[n]||e.push({items:[]}),e[n].items.push(o)}return e}function dn(t){const e=[];function n(s){for(const o of s)o.text&&o.link&&e.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&n(o.items)}return n(t),e}function Ie(t,e){return Array.isArray(e)?e.some(n=>Ie(t,n)):oe(t,e.link)?!0:e.items?Ie(t,e.items):!1}function pe(t,e){return[...t].map(n=>{const s={...n},o=s.base||e;return o&&s.link&&(s.link=o+s.link),s.items&&(s.items=pe(s.items,o)),s})}function Y(){const{frontmatter:t,page:e,theme:n}=O(),s=we("(min-width: 960px)"),o=I(!1),a=T(()=>{const M=n.value.sidebar,k=e.value.relativePath;return M?at(M,k):[]}),i=I(a.value);J(a,(M,k)=>{JSON.stringify(M)!==JSON.stringify(k)&&(i.value=a.value)});const l=T(()=>t.value.sidebar!==!1&&i.value.length>0&&t.value.layout!=="home"),d=T(()=>h?t.value.aside==null?n.value.aside==="left":t.value.aside==="left":!1),h=T(()=>t.value.layout==="home"?!1:t.value.aside!=null?!!t.value.aside:n.value.aside!==!1),g=T(()=>l.value&&s.value),_=T(()=>l.value?un(i.value):[]);function y(){o.value=!0}function N(){o.value=!1}function V(){o.value?N():y()}return{isOpen:o,sidebar:i,sidebarGroups:_,hasSidebar:l,hasAside:h,leftAside:d,isSidebarEnabled:g,open:y,close:N,toggle:V}}function fn(t,e){let n;_e(()=>{n=t.value?document.activeElement:void 0}),te(()=>{window.addEventListener("keyup",s)}),le(()=>{window.removeEventListener("keyup",s)});function s(o){o.key==="Escape"&&t.value&&(e(),n==null||n.focus())}}function pn(t){const{page:e,hash:n}=O(),s=I(!1),o=T(()=>t.value.collapsed!=null),a=T(()=>!!t.value.link),i=I(!1),l=()=>{i.value=oe(e.value.relativePath,t.value.link)};J([e,t,n],l),te(l);const d=T(()=>i.value?!0:t.value.items?Ie(e.value.relativePath,t.value.items):!1),h=T(()=>!!(t.value.items&&t.value.items.length));_e(()=>{s.value=!!(o.value&&t.value.collapsed)}),Ee(()=>{(i.value||d.value)&&(s.value=!1)});function g(){o.value&&(s.value=!s.value)}return{collapsed:s,collapsible:o,isLink:a,isActiveLink:i,hasActiveLink:d,hasChildren:h,toggle:g}}function vn(){const{hasSidebar:t}=Y(),e=we("(min-width: 960px)"),n=we("(min-width: 1280px)");return{isAsideEnabled:T(()=>!n.value&&!e.value?!1:t.value?n.value:e.value)}}const Ce=[];function rt(t){return typeof t.outline=="object"&&!Array.isArray(t.outline)&&t.outline.label||t.outlineTitle||"On this page"}function He(t){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(n=>n.id&&n.hasChildNodes()).map(n=>{const s=Number(n.tagName[1]);return{element:n,title:hn(n),link:"#"+n.id,level:s}});return _n(e,t)}function hn(t){let e="";for(const n of t.childNodes)if(n.nodeType===1){if(n.classList.contains("VPBadge")||n.classList.contains("header-anchor")||n.classList.contains("ignore-header"))continue;e+=n.textContent}else n.nodeType===3&&(e+=n.textContent);return e.trim()}function _n(t,e){if(e===!1)return[];const n=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[s,o]=typeof n=="number"?[n,n]:n==="deep"?[2,6]:n;t=t.filter(i=>i.level>=s&&i.level<=o),Ce.length=0;for(const{element:i,link:l}of t)Ce.push({element:i,link:l});const a=[];e:for(let i=0;i=0;d--){const h=t[d];if(h.level{requestAnimationFrame(a),window.addEventListener("scroll",s)}),Nt(()=>{i(location.hash)}),le(()=>{window.removeEventListener("scroll",s)});function a(){if(!n.value)return;const l=window.scrollY,d=window.innerHeight,h=document.body.offsetHeight,g=Math.abs(l+d-h)<1,_=Ce.map(({element:N,link:V})=>({link:V,top:gn(N)})).filter(({top:N})=>!Number.isNaN(N)).sort((N,V)=>N.top-V.top);if(!_.length){i(null);return}if(l<1){i(null);return}if(g){i(_[_.length-1].link);return}let y=null;for(const{link:N,top:V}of _){if(V>l+At()+4)break;y=N}i(y)}function i(l){o&&o.classList.remove("active"),l==null?o=null:o=t.value.querySelector(`a[href="${decodeURIComponent(l)}"]`);const d=o;d?(d.classList.add("active"),e.value.style.top=d.offsetTop+39+"px",e.value.style.opacity="1"):(e.value.style.top="33px",e.value.style.opacity="0")}}function gn(t){let e=0;for(;t!==document.body;){if(t===null)return NaN;e+=t.offsetTop,t=t.offsetParent}return e}const bn=["href","title"],yn=m({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(t){function e({target:n}){const s=n.href.split("#")[1],o=document.getElementById(decodeURIComponent(s));o==null||o.focus({preventScroll:!0})}return(n,s)=>{const o=se("VPDocOutlineItem",!0);return r(),f("ul",{class:F(["VPDocOutlineItem",n.root?"root":"nested"])},[(r(!0),f(D,null,U(n.headers,({children:a,link:i,title:l})=>(r(),f("li",null,[u("a",{class:"outline-link",href:i,onClick:e,title:l},C(l),9,bn),a!=null&&a.length?(r(),$(o,{key:0,headers:a},null,8,["headers"])):b("",!0)]))),256))],2)}}}),it=S(yn,[["__scopeId","data-v-75d41a09"]]),kn={class:"content"},$n={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},Sn=m({__name:"VPDocAsideOutline",setup(t){const{frontmatter:e,theme:n}=O(),s=Xe([]);me(()=>{s.value=He(e.value.outline??n.value.outline)});const o=I(),a=I();return mn(o,a),(i,l)=>(r(),f("nav",{"aria-labelledby":"doc-outline-aria-label",class:F(["VPDocAsideOutline",{"has-outline":s.value.length>0}]),ref_key:"container",ref:o},[u("div",kn,[u("div",{class:"outline-marker",ref_key:"marker",ref:a},null,512),u("div",$n,C(c(rt)(c(n))),1),w(it,{headers:s.value,root:!0},null,8,["headers"])])],2))}}),Pn=S(Sn,[["__scopeId","data-v-1a7b7e3f"]]),wn={class:"VPDocAsideCarbonAds"},Ln=m({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(t){const e=()=>null;return(n,s)=>(r(),f("div",wn,[w(c(e),{"carbon-ads":n.carbonAds},null,8,["carbon-ads"])]))}}),Vn=t=>(x("data-v-ba54ca11"),t=t(),j(),t),Tn={class:"VPDocAside"},In=Vn(()=>u("div",{class:"spacer"},null,-1)),Cn=m({__name:"VPDocAside",setup(t){const{theme:e}=O();return(n,s)=>(r(),f("div",Tn,[p(n.$slots,"aside-top",{},void 0,!0),p(n.$slots,"aside-outline-before",{},void 0,!0),w(Pn),p(n.$slots,"aside-outline-after",{},void 0,!0),In,p(n.$slots,"aside-ads-before",{},void 0,!0),c(e).carbonAds?(r(),$(Ln,{key:0,"carbon-ads":c(e).carbonAds},null,8,["carbon-ads"])):b("",!0),p(n.$slots,"aside-ads-after",{},void 0,!0),p(n.$slots,"aside-bottom",{},void 0,!0)]))}}),Nn=S(Cn,[["__scopeId","data-v-ba54ca11"]]);function An(){const{theme:t,page:e}=O();return T(()=>{const{text:n="Edit this page",pattern:s=""}=t.value.editLink||{};let o;return typeof s=="function"?o=s(e.value):o=s.replace(/:path/g,e.value.filePath),{url:o,text:n}})}function Mn(){const{page:t,theme:e,frontmatter:n}=O();return T(()=>{var h,g,_,y,N,V,M,k;const s=at(e.value.sidebar,t.value.relativePath),o=dn(s),a=En(o,R=>R.link.replace(/[?#].*$/,"")),i=a.findIndex(R=>oe(t.value.relativePath,R.link)),l=((h=e.value.docFooter)==null?void 0:h.prev)===!1&&!n.value.prev||n.value.prev===!1,d=((g=e.value.docFooter)==null?void 0:g.next)===!1&&!n.value.next||n.value.next===!1;return{prev:l?void 0:{text:(typeof n.value.prev=="string"?n.value.prev:typeof n.value.prev=="object"?n.value.prev.text:void 0)??((_=a[i-1])==null?void 0:_.docFooterText)??((y=a[i-1])==null?void 0:y.text),link:(typeof n.value.prev=="object"?n.value.prev.link:void 0)??((N=a[i-1])==null?void 0:N.link)},next:d?void 0:{text:(typeof n.value.next=="string"?n.value.next:typeof n.value.next=="object"?n.value.next.text:void 0)??((V=a[i+1])==null?void 0:V.docFooterText)??((M=a[i+1])==null?void 0:M.text),link:(typeof n.value.next=="object"?n.value.next.link:void 0)??((k=a[i+1])==null?void 0:k.link)}}})}function En(t,e){const n=new Set;return t.filter(s=>{const o=e(s);return n.has(o)?!1:n.add(o)})}const q=m({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(t){const e=t,n=T(()=>e.tag??(e.href?"a":"span")),s=T(()=>e.href&&Qe.test(e.href)||e.target==="_blank");return(o,a)=>(r(),$(K(n.value),{class:F(["VPLink",{link:o.href,"vp-external-link-icon":s.value,"no-icon":o.noIcon}]),href:o.href?c(Oe)(o.href):void 0,target:o.target??(s.value?"_blank":void 0),rel:o.rel??(s.value?"noreferrer":void 0)},{default:v(()=>[p(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),Bn={class:"VPLastUpdated"},On=["datetime"],Hn=m({__name:"VPDocFooterLastUpdated",setup(t){const{theme:e,page:n,lang:s}=O(),o=T(()=>new Date(n.value.lastUpdated)),a=T(()=>o.value.toISOString()),i=I("");return te(()=>{_e(()=>{var l,d,h;i.value=new Intl.DateTimeFormat((d=(l=e.value.lastUpdated)==null?void 0:l.formatOptions)!=null&&d.forceLocale?s.value:void 0,((h=e.value.lastUpdated)==null?void 0:h.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(o.value)})}),(l,d)=>{var h;return r(),f("p",Bn,[W(C(((h=c(e).lastUpdated)==null?void 0:h.text)||c(e).lastUpdatedText||"Last updated")+": ",1),u("time",{datetime:a.value},C(i.value),9,On)])}}}),Dn=S(Hn,[["__scopeId","data-v-e2247888"]]),lt=t=>(x("data-v-bb44dcf3"),t=t(),j(),t),Fn={key:0,class:"VPDocFooter"},xn={key:0,class:"edit-info"},jn={key:0,class:"edit-link"},Rn=lt(()=>u("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),Un={key:1,class:"last-updated"},zn={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},Gn=lt(()=>u("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),Kn={class:"pager"},qn=["innerHTML"],Wn=["innerHTML"],Jn={class:"pager"},Yn=["innerHTML"],Xn=["innerHTML"],Qn=m({__name:"VPDocFooter",setup(t){const{theme:e,page:n,frontmatter:s}=O(),o=An(),a=Mn(),i=T(()=>e.value.editLink&&s.value.editLink!==!1),l=T(()=>n.value.lastUpdated),d=T(()=>i.value||l.value||a.value.prev||a.value.next);return(h,g)=>{var _,y,N,V;return d.value?(r(),f("footer",Fn,[p(h.$slots,"doc-footer-before",{},void 0,!0),i.value||l.value?(r(),f("div",xn,[i.value?(r(),f("div",jn,[w(q,{class:"edit-link-button",href:c(o).url,"no-icon":!0},{default:v(()=>[Rn,W(" "+C(c(o).text),1)]),_:1},8,["href"])])):b("",!0),l.value?(r(),f("div",Un,[w(Dn)])):b("",!0)])):b("",!0),(_=c(a).prev)!=null&&_.link||(y=c(a).next)!=null&&y.link?(r(),f("nav",zn,[Gn,u("div",Kn,[(N=c(a).prev)!=null&&N.link?(r(),$(q,{key:0,class:"pager-link prev",href:c(a).prev.link},{default:v(()=>{var M;return[u("span",{class:"desc",innerHTML:((M=c(e).docFooter)==null?void 0:M.prev)||"Previous page"},null,8,qn),u("span",{class:"title",innerHTML:c(a).prev.text},null,8,Wn)]}),_:1},8,["href"])):b("",!0)]),u("div",Jn,[(V=c(a).next)!=null&&V.link?(r(),$(q,{key:0,class:"pager-link next",href:c(a).next.link},{default:v(()=>{var M;return[u("span",{class:"desc",innerHTML:((M=c(e).docFooter)==null?void 0:M.next)||"Next page"},null,8,Yn),u("span",{class:"title",innerHTML:c(a).next.text},null,8,Xn)]}),_:1},8,["href"])):b("",!0)])])):b("",!0)])):b("",!0)}}}),Zn=S(Qn,[["__scopeId","data-v-bb44dcf3"]]),eo=t=>(x("data-v-1b1e6eb6"),t=t(),j(),t),to={class:"container"},no=eo(()=>u("div",{class:"aside-curtain"},null,-1)),oo={class:"aside-container"},so={class:"aside-content"},ao={class:"content"},ro={class:"content-container"},io={class:"main"},lo=m({__name:"VPDoc",setup(t){const{theme:e}=O(),n=ge(),{hasSidebar:s,hasAside:o,leftAside:a}=Y(),i=T(()=>n.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(l,d)=>{const h=se("Content");return r(),f("div",{class:F(["VPDoc",{"has-sidebar":c(s),"has-aside":c(o)}])},[p(l.$slots,"doc-top",{},void 0,!0),u("div",to,[c(o)?(r(),f("div",{key:0,class:F(["aside",{"left-aside":c(a)}])},[no,u("div",oo,[u("div",so,[w(Nn,null,{"aside-top":v(()=>[p(l.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[p(l.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[p(l.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[p(l.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[p(l.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[p(l.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):b("",!0),u("div",ao,[u("div",ro,[p(l.$slots,"doc-before",{},void 0,!0),u("main",io,[w(h,{class:F(["vp-doc",[i.value,c(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),w(Zn,null,{"doc-footer-before":v(()=>[p(l.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),p(l.$slots,"doc-after",{},void 0,!0)])])]),p(l.$slots,"doc-bottom",{},void 0,!0)],2)}}}),co=S(lo,[["__scopeId","data-v-1b1e6eb6"]]),uo=m({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(t){const e=t,n=T(()=>e.href&&Qe.test(e.href)),s=T(()=>e.tag||e.href?"a":"button");return(o,a)=>(r(),$(K(s.value),{class:F(["VPButton",[o.size,o.theme]]),href:o.href?c(Oe)(o.href):void 0,target:e.target??(n.value?"_blank":void 0),rel:e.rel??(n.value?"noreferrer":void 0)},{default:v(()=>[W(C(o.text),1)]),_:1},8,["class","href","target","rel"]))}}),fo=S(uo,[["__scopeId","data-v-0197a461"]]),po=["src","alt"],vo=m({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(t){return(e,n)=>{const s=se("VPImage",!0);return e.image?(r(),f(D,{key:0},[typeof e.image=="string"||"src"in e.image?(r(),f("img",ee({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:c(Me)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,po)):(r(),f(D,{key:1},[w(s,ee({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),w(s,ee({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):b("",!0)}}}),he=S(vo,[["__scopeId","data-v-8fba738a"]]),ho=t=>(x("data-v-5c988386"),t=t(),j(),t),_o={class:"container"},mo={class:"main"},go={key:0,class:"name"},bo=["innerHTML"],yo=["innerHTML"],ko=["innerHTML"],$o={key:0,class:"actions"},So={key:0,class:"image"},Po={class:"image-container"},wo=ho(()=>u("div",{class:"image-bg"},null,-1)),Lo=m({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(t){const e=ce("hero-image-slot-exists");return(n,s)=>(r(),f("div",{class:F(["VPHero",{"has-image":n.image||c(e)}])},[u("div",_o,[u("div",mo,[p(n.$slots,"home-hero-info-before",{},void 0,!0),p(n.$slots,"home-hero-info",{},()=>[n.name?(r(),f("h1",go,[u("span",{innerHTML:n.name,class:"clip"},null,8,bo)])):b("",!0),n.text?(r(),f("p",{key:1,innerHTML:n.text,class:"text"},null,8,yo)):b("",!0),n.tagline?(r(),f("p",{key:2,innerHTML:n.tagline,class:"tagline"},null,8,ko)):b("",!0)],!0),p(n.$slots,"home-hero-info-after",{},void 0,!0),n.actions?(r(),f("div",$o,[(r(!0),f(D,null,U(n.actions,o=>(r(),f("div",{key:o.link,class:"action"},[w(fo,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link,target:o.target,rel:o.rel},null,8,["theme","text","href","target","rel"])]))),128))])):b("",!0),p(n.$slots,"home-hero-actions-after",{},void 0,!0)]),n.image||c(e)?(r(),f("div",So,[u("div",Po,[wo,p(n.$slots,"home-hero-image",{},()=>[n.image?(r(),$(he,{key:0,class:"image-src",image:n.image},null,8,["image"])):b("",!0)],!0)])])):b("",!0)])],2))}}),Vo=S(Lo,[["__scopeId","data-v-5c988386"]]),To=m({__name:"VPHomeHero",setup(t){const{frontmatter:e}=O();return(n,s)=>c(e).hero?(r(),$(Vo,{key:0,class:"VPHomeHero",name:c(e).hero.name,text:c(e).hero.text,tagline:c(e).hero.tagline,image:c(e).hero.image,actions:c(e).hero.actions},{"home-hero-info-before":v(()=>[p(n.$slots,"home-hero-info-before")]),"home-hero-info":v(()=>[p(n.$slots,"home-hero-info")]),"home-hero-info-after":v(()=>[p(n.$slots,"home-hero-info-after")]),"home-hero-actions-after":v(()=>[p(n.$slots,"home-hero-actions-after")]),"home-hero-image":v(()=>[p(n.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):b("",!0)}}),Io=t=>(x("data-v-c7369462"),t=t(),j(),t),Co={class:"box"},No={key:0,class:"icon"},Ao=["innerHTML"],Mo=["innerHTML"],Eo=["innerHTML"],Bo={key:4,class:"link-text"},Oo={class:"link-text-value"},Ho=Io(()=>u("span",{class:"vpi-arrow-right link-text-icon"},null,-1)),Do=m({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(t){return(e,n)=>(r(),$(q,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:v(()=>[u("article",Co,[typeof e.icon=="object"&&e.icon.wrap?(r(),f("div",No,[w(he,{image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])])):typeof e.icon=="object"?(r(),$(he,{key:1,image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])):e.icon?(r(),f("div",{key:2,class:"icon",innerHTML:e.icon},null,8,Ao)):b("",!0),u("h2",{class:"title",innerHTML:e.title},null,8,Mo),e.details?(r(),f("p",{key:3,class:"details",innerHTML:e.details},null,8,Eo)):b("",!0),e.linkText?(r(),f("div",Bo,[u("p",Oo,[W(C(e.linkText)+" ",1),Ho])])):b("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Fo=S(Do,[["__scopeId","data-v-c7369462"]]),xo={key:0,class:"VPFeatures"},jo={class:"container"},Ro={class:"items"},Uo=m({__name:"VPFeatures",props:{features:{}},setup(t){const e=t,n=T(()=>{const s=e.features.length;if(s){if(s===2)return"grid-2";if(s===3)return"grid-3";if(s%3===0)return"grid-6";if(s>3)return"grid-4"}else return});return(s,o)=>s.features?(r(),f("div",xo,[u("div",jo,[u("div",Ro,[(r(!0),f(D,null,U(s.features,a=>(r(),f("div",{key:a.title,class:F(["item",[n.value]])},[w(Fo,{icon:a.icon,title:a.title,details:a.details,link:a.link,"link-text":a.linkText,rel:a.rel,target:a.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):b("",!0)}}),zo=S(Uo,[["__scopeId","data-v-677f1773"]]),Go=m({__name:"VPHomeFeatures",setup(t){const{frontmatter:e}=O();return(n,s)=>c(e).features?(r(),$(zo,{key:0,class:"VPHomeFeatures",features:c(e).features},null,8,["features"])):b("",!0)}}),Ko=m({__name:"VPHomeContent",setup(t){const{width:e}=Mt({initialWidth:0,includeScrollbar:!1});return(n,s)=>(r(),f("div",{class:"vp-doc container",style:be(c(e)?{"--vp-offset":`calc(50% - ${c(e)/2}px)`}:{})},[p(n.$slots,"default",{},void 0,!0)],4))}}),qo=S(Ko,[["__scopeId","data-v-af23e745"]]),Wo={class:"VPHome"},Jo=m({__name:"VPHome",setup(t){const{frontmatter:e}=O();return(n,s)=>{const o=se("Content");return r(),f("div",Wo,[p(n.$slots,"home-hero-before",{},void 0,!0),w(To,null,{"home-hero-info-before":v(()=>[p(n.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[p(n.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[p(n.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[p(n.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[p(n.$slots,"home-hero-image",{},void 0,!0)]),_:3}),p(n.$slots,"home-hero-after",{},void 0,!0),p(n.$slots,"home-features-before",{},void 0,!0),w(Go),p(n.$slots,"home-features-after",{},void 0,!0),c(e).markdownStyles!==!1?(r(),$(qo,{key:0},{default:v(()=>[w(o)]),_:1})):(r(),$(o,{key:1}))])}}}),Yo=S(Jo,[["__scopeId","data-v-1e2364af"]]),Xo={},Qo={class:"VPPage"};function Zo(t,e){const n=se("Content");return r(),f("div",Qo,[p(t.$slots,"page-top"),w(n),p(t.$slots,"page-bottom")])}const es=S(Xo,[["render",Zo]]),ts=m({__name:"VPContent",setup(t){const{page:e,frontmatter:n}=O(),{hasSidebar:s}=Y();return(o,a)=>(r(),f("div",{class:F(["VPContent",{"has-sidebar":c(s),"is-home":c(n).layout==="home"}]),id:"VPContent"},[c(e).isNotFound?p(o.$slots,"not-found",{key:0},()=>[w(cn)],!0):c(n).layout==="page"?(r(),$(es,{key:1},{"page-top":v(()=>[p(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[p(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):c(n).layout==="home"?(r(),$(Yo,{key:2},{"home-hero-before":v(()=>[p(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":v(()=>[p(o.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[p(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[p(o.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[p(o.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[p(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[p(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[p(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[p(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):c(n).layout&&c(n).layout!=="doc"?(r(),$(K(c(n).layout),{key:3})):(r(),$(co,{key:4},{"doc-top":v(()=>[p(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[p(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":v(()=>[p(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[p(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[p(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":v(()=>[p(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":v(()=>[p(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[p(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[p(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[p(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":v(()=>[p(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),ns=S(ts,[["__scopeId","data-v-b02ee7d2"]]),os={class:"container"},ss=["innerHTML"],as=["innerHTML"],rs=m({__name:"VPFooter",setup(t){const{theme:e,frontmatter:n}=O(),{hasSidebar:s}=Y();return(o,a)=>c(e).footer&&c(n).footer!==!1?(r(),f("footer",{key:0,class:F(["VPFooter",{"has-sidebar":c(s)}])},[u("div",os,[c(e).footer.message?(r(),f("p",{key:0,class:"message",innerHTML:c(e).footer.message},null,8,ss)):b("",!0),c(e).footer.copyright?(r(),f("p",{key:1,class:"copyright",innerHTML:c(e).footer.copyright},null,8,as)):b("",!0)])],2)):b("",!0)}}),is=S(rs,[["__scopeId","data-v-d5f9ff66"]]);function ls(){const{theme:t,frontmatter:e}=O(),n=Xe([]),s=T(()=>n.value.length>0);return me(()=>{n.value=He(e.value.outline??t.value.outline)}),{headers:n,hasLocalNav:s}}const cs=t=>(x("data-v-f5705a94"),t=t(),j(),t),us={class:"menu-text"},ds=cs(()=>u("span",{class:"vpi-chevron-right icon"},null,-1)),fs={class:"header"},ps={class:"outline"},vs=m({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(t){const e=t,{theme:n}=O(),s=I(!1),o=I(0),a=I(),i=I();function l(_){var y;(y=a.value)!=null&&y.contains(_.target)||(s.value=!1)}J(s,_=>{if(_){document.addEventListener("click",l);return}document.removeEventListener("click",l)}),Le("Escape",()=>{s.value=!1}),me(()=>{s.value=!1});function d(){s.value=!s.value,o.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function h(_){_.target.classList.contains("outline-link")&&(i.value&&(i.value.style.transition="none"),Et(()=>{s.value=!1}))}function g(){s.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(_,y)=>(r(),f("div",{class:"VPLocalNavOutlineDropdown",style:be({"--vp-vh":o.value+"px"}),ref_key:"main",ref:a},[_.headers.length>0?(r(),f("button",{key:0,onClick:d,class:F({open:s.value})},[u("span",us,C(c(rt)(c(n))),1),ds],2)):(r(),f("button",{key:1,onClick:g},C(c(n).returnToTopLabel||"Return to top"),1)),w(Ae,{name:"flyout"},{default:v(()=>[s.value?(r(),f("div",{key:0,ref_key:"items",ref:i,class:"items",onClick:h},[u("div",fs,[u("a",{class:"top-link",href:"#",onClick:g},C(c(n).returnToTopLabel||"Return to top"),1)]),u("div",ps,[w(it,{headers:_.headers},null,8,["headers"])])],512)):b("",!0)]),_:1})],4))}}),hs=S(vs,[["__scopeId","data-v-f5705a94"]]),_s=t=>(x("data-v-022e6087"),t=t(),j(),t),ms={class:"container"},gs=["aria-expanded"],bs=_s(()=>u("span",{class:"vpi-align-left menu-icon"},null,-1)),ys={class:"menu-text"},ks=m({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(t){const{theme:e,frontmatter:n}=O(),{hasSidebar:s}=Y(),{headers:o}=ls(),{y:a}=Ze(),i=I(0);te(()=>{i.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),me(()=>{o.value=He(n.value.outline??e.value.outline)});const l=T(()=>o.value.length===0),d=T(()=>l.value&&!s.value),h=T(()=>({VPLocalNav:!0,"has-sidebar":s.value,empty:l.value,fixed:d.value}));return(g,_)=>c(n).layout!=="home"&&(!d.value||c(a)>=i.value)?(r(),f("div",{key:0,class:F(h.value)},[u("div",ms,[c(s)?(r(),f("button",{key:0,class:"menu","aria-expanded":g.open,"aria-controls":"VPSidebarNav",onClick:_[0]||(_[0]=y=>g.$emit("open-menu"))},[bs,u("span",ys,C(c(e).sidebarMenuLabel||"Menu"),1)],8,gs)):b("",!0),w(hs,{headers:c(o),navHeight:i.value},null,8,["headers","navHeight"])])],2)):b("",!0)}}),$s=S(ks,[["__scopeId","data-v-022e6087"]]);function Ss(){const t=I(!1);function e(){t.value=!0,window.addEventListener("resize",o)}function n(){t.value=!1,window.removeEventListener("resize",o)}function s(){t.value?n():e()}function o(){window.outerWidth>=768&&n()}const a=ge();return J(()=>a.path,n),{isScreenOpen:t,openScreen:e,closeScreen:n,toggleScreen:s}}const Ps={},ws={class:"VPSwitch",type:"button",role:"switch"},Ls={class:"check"},Vs={key:0,class:"icon"};function Ts(t,e){return r(),f("button",ws,[u("span",Ls,[t.$slots.default?(r(),f("span",Vs,[p(t.$slots,"default",{},void 0,!0)])):b("",!0)])])}const Is=S(Ps,[["render",Ts],["__scopeId","data-v-8727337c"]]),ct=t=>(x("data-v-10656515"),t=t(),j(),t),Cs=ct(()=>u("span",{class:"vpi-sun sun"},null,-1)),Ns=ct(()=>u("span",{class:"vpi-moon moon"},null,-1)),As=m({__name:"VPSwitchAppearance",setup(t){const{isDark:e,theme:n}=O(),s=ce("toggle-appearance",()=>{e.value=!e.value}),o=I("");return Ee(()=>{o.value=e.value?n.value.lightModeSwitchTitle||"Switch to light theme":n.value.darkModeSwitchTitle||"Switch to dark theme"}),(a,i)=>(r(),$(Is,{title:o.value,class:"VPSwitchAppearance","aria-checked":c(e),onClick:c(s)},{default:v(()=>[Cs,Ns]),_:1},8,["title","aria-checked","onClick"]))}}),De=S(As,[["__scopeId","data-v-10656515"]]),Ms={key:0,class:"VPNavBarAppearance"},Es=m({__name:"VPNavBarAppearance",setup(t){const{site:e}=O();return(n,s)=>c(e).appearance&&c(e).appearance!=="force-dark"&&c(e).appearance!=="force-auto"?(r(),f("div",Ms,[w(De)])):b("",!0)}}),Bs=S(Es,[["__scopeId","data-v-0e100a46"]]),Fe=I();let ut=!1,Pe=0;function Os(t){const e=I(!1);if(ye){!ut&&Hs(),Pe++;const n=J(Fe,s=>{var o,a,i;s===t.el.value||(o=t.el.value)!=null&&o.contains(s)?(e.value=!0,(a=t.onFocus)==null||a.call(t)):(e.value=!1,(i=t.onBlur)==null||i.call(t))});le(()=>{n(),Pe--,Pe||Ds()})}return Bt(e)}function Hs(){document.addEventListener("focusin",dt),ut=!0,Fe.value=document.activeElement}function Ds(){document.removeEventListener("focusin",dt)}function dt(){Fe.value=document.activeElement}const Fs={class:"VPMenuLink"},xs=m({__name:"VPMenuLink",props:{item:{}},setup(t){const{page:e}=O();return(n,s)=>(r(),f("div",Fs,[w(q,{class:F({active:c(oe)(c(e).relativePath,n.item.activeMatch||n.item.link,!!n.item.activeMatch)}),href:n.item.link,target:n.item.target,rel:n.item.rel},{default:v(()=>[W(C(n.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),ke=S(xs,[["__scopeId","data-v-90280799"]]),js={class:"VPMenuGroup"},Rs={key:0,class:"title"},Us=m({__name:"VPMenuGroup",props:{text:{},items:{}},setup(t){return(e,n)=>(r(),f("div",js,[e.text?(r(),f("p",Rs,C(e.text),1)):b("",!0),(r(!0),f(D,null,U(e.items,s=>(r(),f(D,null,["link"in s?(r(),$(ke,{key:0,item:s},null,8,["item"])):b("",!0)],64))),256))]))}}),zs=S(Us,[["__scopeId","data-v-521dafbf"]]),Gs={class:"VPMenu"},Ks={key:0,class:"items"},qs=m({__name:"VPMenu",props:{items:{}},setup(t){return(e,n)=>(r(),f("div",Gs,[e.items?(r(),f("div",Ks,[(r(!0),f(D,null,U(e.items,s=>(r(),f(D,{key:JSON.stringify(s)},["link"in s?(r(),$(ke,{key:0,item:s},null,8,["item"])):"component"in s?(r(),$(K(s.component),ee({key:1,ref_for:!0},s.props),null,16)):(r(),$(zs,{key:2,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):b("",!0),p(e.$slots,"default",{},void 0,!0)]))}}),Ws=S(qs,[["__scopeId","data-v-4397d6aa"]]),Js=t=>(x("data-v-4e740509"),t=t(),j(),t),Ys=["aria-expanded","aria-label"],Xs={key:0,class:"text"},Qs=["innerHTML"],Zs=Js(()=>u("span",{class:"vpi-chevron-down text-icon"},null,-1)),ea={key:1,class:"vpi-more-horizontal icon"},ta={class:"menu"},na=m({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(t){const e=I(!1),n=I();Os({el:n,onBlur:s});function s(){e.value=!1}return(o,a)=>(r(),f("div",{class:"VPFlyout",ref_key:"el",ref:n,onMouseenter:a[1]||(a[1]=i=>e.value=!0),onMouseleave:a[2]||(a[2]=i=>e.value=!1)},[u("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":o.label,onClick:a[0]||(a[0]=i=>e.value=!e.value)},[o.button||o.icon?(r(),f("span",Xs,[o.icon?(r(),f("span",{key:0,class:F([o.icon,"option-icon"])},null,2)):b("",!0),o.button?(r(),f("span",{key:1,innerHTML:o.button},null,8,Qs)):b("",!0),Zs])):(r(),f("span",ea))],8,Ys),u("div",ta,[w(Ws,{items:o.items},{default:v(()=>[p(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),xe=S(na,[["__scopeId","data-v-4e740509"]]),oa=["href","aria-label","innerHTML"],sa=m({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(t){const e=t,n=T(()=>typeof e.icon=="object"?e.icon.svg:``);return(s,o)=>(r(),f("a",{class:"VPSocialLink no-icon",href:s.link,"aria-label":s.ariaLabel??(typeof s.icon=="string"?s.icon:""),target:"_blank",rel:"noopener",innerHTML:n.value},null,8,oa))}}),aa=S(sa,[["__scopeId","data-v-9abc2d2a"]]),ra={class:"VPSocialLinks"},ia=m({__name:"VPSocialLinks",props:{links:{}},setup(t){return(e,n)=>(r(),f("div",ra,[(r(!0),f(D,null,U(e.links,({link:s,icon:o,ariaLabel:a})=>(r(),$(aa,{key:s,icon:o,link:s,ariaLabel:a},null,8,["icon","link","ariaLabel"]))),128))]))}}),je=S(ia,[["__scopeId","data-v-b1e9369e"]]),la={key:0,class:"group translations"},ca={class:"trans-title"},ua={key:1,class:"group"},da={class:"item appearance"},fa={class:"label"},pa={class:"appearance-action"},va={key:2,class:"group"},ha={class:"item social-links"},_a=m({__name:"VPNavBarExtra",setup(t){const{site:e,theme:n}=O(),{localeLinks:s,currentLang:o}=ue({correspondingLink:!0}),a=T(()=>s.value.length&&o.value.label||e.value.appearance||n.value.socialLinks);return(i,l)=>a.value?(r(),$(xe,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:v(()=>[c(s).length&&c(o).label?(r(),f("div",la,[u("p",ca,C(c(o).label),1),(r(!0),f(D,null,U(c(s),d=>(r(),$(ke,{key:d.link,item:d},null,8,["item"]))),128))])):b("",!0),c(e).appearance&&c(e).appearance!=="force-dark"&&c(e).appearance!=="force-auto"?(r(),f("div",ua,[u("div",da,[u("p",fa,C(c(n).darkModeSwitchLabel||"Appearance"),1),u("div",pa,[w(De)])])])):b("",!0),c(n).socialLinks?(r(),f("div",va,[u("div",ha,[w(je,{class:"social-links-list",links:c(n).socialLinks},null,8,["links"])])])):b("",!0)]),_:1})):b("",!0)}}),ma=S(_a,[["__scopeId","data-v-02848efe"]]),ga=t=>(x("data-v-2849f847"),t=t(),j(),t),ba=["aria-expanded"],ya=ga(()=>u("span",{class:"container"},[u("span",{class:"top"}),u("span",{class:"middle"}),u("span",{class:"bottom"})],-1)),ka=[ya],$a=m({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(t){return(e,n)=>(r(),f("button",{type:"button",class:F(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:n[0]||(n[0]=s=>e.$emit("click"))},ka,10,ba))}}),Sa=S($a,[["__scopeId","data-v-2849f847"]]),Pa=["innerHTML"],wa=m({__name:"VPNavBarMenuLink",props:{item:{}},setup(t){const{page:e}=O();return(n,s)=>(r(),$(q,{class:F({VPNavBarMenuLink:!0,active:c(oe)(c(e).relativePath,n.item.activeMatch||n.item.link,!!n.item.activeMatch)}),href:n.item.link,noIcon:n.item.noIcon,target:n.item.target,rel:n.item.rel,tabindex:"0"},{default:v(()=>[u("span",{innerHTML:n.item.text},null,8,Pa)]),_:1},8,["class","href","noIcon","target","rel"]))}}),La=S(wa,[["__scopeId","data-v-c1f5da45"]]),Va=m({__name:"VPNavBarMenuGroup",props:{item:{}},setup(t){const e=t,{page:n}=O(),s=a=>"component"in a?!1:"link"in a?oe(n.value.relativePath,a.link,!!e.item.activeMatch):a.items.some(s),o=T(()=>s(e.item));return(a,i)=>(r(),$(xe,{class:F({VPNavBarMenuGroup:!0,active:c(oe)(c(n).relativePath,a.item.activeMatch,!!a.item.activeMatch)||o.value}),button:a.item.text,items:a.item.items},null,8,["class","button","items"]))}}),Ta=t=>(x("data-v-a0b069c0"),t=t(),j(),t),Ia={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Ca=Ta(()=>u("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),Na=m({__name:"VPNavBarMenu",setup(t){const{theme:e}=O();return(n,s)=>c(e).nav?(r(),f("nav",Ia,[Ca,(r(!0),f(D,null,U(c(e).nav,o=>(r(),f(D,{key:JSON.stringify(o)},["link"in o?(r(),$(La,{key:0,item:o},null,8,["item"])):"component"in o?(r(),$(K(o.component),ee({key:1,ref_for:!0},o.props),null,16)):(r(),$(Va,{key:2,item:o},null,8,["item"]))],64))),128))])):b("",!0)}}),Aa=S(Na,[["__scopeId","data-v-a0b069c0"]]);function Ma(t){const{localeIndex:e,theme:n}=O();function s(o){var V,M,k;const a=o.split("."),i=(V=n.value.search)==null?void 0:V.options,l=i&&typeof i=="object",d=l&&((k=(M=i.locales)==null?void 0:M[e.value])==null?void 0:k.translations)||null,h=l&&i.translations||null;let g=d,_=h,y=t;const N=a.pop();for(const R of a){let z=null;const X=y==null?void 0:y[R];X&&(z=y=X);const ne=_==null?void 0:_[R];ne&&(z=_=ne);const Q=g==null?void 0:g[R];Q&&(z=g=Q),X||(y=z),ne||(_=z),Q||(g=z)}return(g==null?void 0:g[N])??(_==null?void 0:_[N])??(y==null?void 0:y[N])??""}return s}const Ea=["aria-label"],Ba={class:"DocSearch-Button-Container"},Oa=u("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1),Ha={class:"DocSearch-Button-Placeholder"},Da=u("span",{class:"DocSearch-Button-Keys"},[u("kbd",{class:"DocSearch-Button-Key"}),u("kbd",{class:"DocSearch-Button-Key"},"K")],-1),Ge=m({__name:"VPNavBarSearchButton",setup(t){const n=Ma({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(s,o)=>(r(),f("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":c(n)("button.buttonAriaLabel")},[u("span",Ba,[Oa,u("span",Ha,C(c(n)("button.buttonText")),1)]),Da],8,Ea))}}),Fa={class:"VPNavBarSearch"},xa={id:"local-search"},ja={key:1,id:"docsearch"},Ra=m({__name:"VPNavBarSearch",setup(t){const e=Ot(()=>Ht(()=>import("./VPLocalSearchBox.N_ODFmQP.js"),__vite__mapDeps([0,1]))),n=()=>null,{theme:s}=O(),o=I(!1),a=I(!1);te(()=>{});function i(){o.value||(o.value=!0,setTimeout(l,16))}function l(){const _=new Event("keydown");_.key="k",_.metaKey=!0,window.dispatchEvent(_),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||l()},16)}function d(_){const y=_.target,N=y.tagName;return y.isContentEditable||N==="INPUT"||N==="SELECT"||N==="TEXTAREA"}const h=I(!1);Le("k",_=>{(_.ctrlKey||_.metaKey)&&(_.preventDefault(),h.value=!0)}),Le("/",_=>{d(_)||(_.preventDefault(),h.value=!0)});const g="local";return(_,y)=>{var N;return r(),f("div",Fa,[c(g)==="local"?(r(),f(D,{key:0},[h.value?(r(),$(c(e),{key:0,onClose:y[0]||(y[0]=V=>h.value=!1)})):b("",!0),u("div",xa,[w(Ge,{onClick:y[1]||(y[1]=V=>h.value=!0)})])],64)):c(g)==="algolia"?(r(),f(D,{key:1},[o.value?(r(),$(c(n),{key:0,algolia:((N=c(s).search)==null?void 0:N.options)??c(s).algolia,onVnodeBeforeMount:y[2]||(y[2]=V=>a.value=!0)},null,8,["algolia"])):b("",!0),a.value?b("",!0):(r(),f("div",ja,[w(Ge,{onClick:i})]))],64)):b("",!0)])}}}),Ua=m({__name:"VPNavBarSocialLinks",setup(t){const{theme:e}=O();return(n,s)=>c(e).socialLinks?(r(),$(je,{key:0,class:"VPNavBarSocialLinks",links:c(e).socialLinks},null,8,["links"])):b("",!0)}}),za=S(Ua,[["__scopeId","data-v-ca530fac"]]),Ga=["href","rel","target"],Ka={key:1},qa={key:2},Wa=m({__name:"VPNavBarTitle",setup(t){const{site:e,theme:n}=O(),{hasSidebar:s}=Y(),{currentLang:o}=ue(),a=T(()=>{var d;return typeof n.value.logoLink=="string"?n.value.logoLink:(d=n.value.logoLink)==null?void 0:d.link}),i=T(()=>{var d;return typeof n.value.logoLink=="string"||(d=n.value.logoLink)==null?void 0:d.rel}),l=T(()=>{var d;return typeof n.value.logoLink=="string"||(d=n.value.logoLink)==null?void 0:d.target});return(d,h)=>(r(),f("div",{class:F(["VPNavBarTitle",{"has-sidebar":c(s)}])},[u("a",{class:"title",href:a.value??c(Oe)(c(o).link),rel:i.value,target:l.value},[p(d.$slots,"nav-bar-title-before",{},void 0,!0),c(n).logo?(r(),$(he,{key:0,class:"logo",image:c(n).logo},null,8,["image"])):b("",!0),c(n).siteTitle?(r(),f("span",Ka,C(c(n).siteTitle),1)):c(n).siteTitle===void 0?(r(),f("span",qa,C(c(e).title),1)):b("",!0),p(d.$slots,"nav-bar-title-after",{},void 0,!0)],8,Ga)],2))}}),Ja=S(Wa,[["__scopeId","data-v-01425599"]]),Ya={class:"items"},Xa={class:"title"},Qa=m({__name:"VPNavBarTranslations",setup(t){const{theme:e}=O(),{localeLinks:n,currentLang:s}=ue({correspondingLink:!0});return(o,a)=>c(n).length&&c(s).label?(r(),$(xe,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:c(e).langMenuLabel||"Change language"},{default:v(()=>[u("div",Ya,[u("p",Xa,C(c(s).label),1),(r(!0),f(D,null,U(c(n),i=>(r(),$(ke,{key:i.link,item:i},null,8,["item"]))),128))])]),_:1},8,["label"])):b("",!0)}}),Za=S(Qa,[["__scopeId","data-v-a0e85ae2"]]),er=t=>(x("data-v-03df6358"),t=t(),j(),t),tr={class:"wrapper"},nr={class:"container"},or={class:"title"},sr={class:"content"},ar={class:"content-body"},rr=er(()=>u("div",{class:"divider"},[u("div",{class:"divider-line"})],-1)),ir=m({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(t){const e=t,{y:n}=Ze(),{hasSidebar:s}=Y(),{frontmatter:o}=O(),a=I({});return Ee(()=>{a.value={"has-sidebar":s.value,home:o.value.layout==="home",top:n.value===0,"screen-open":e.isScreenOpen}}),(i,l)=>(r(),f("div",{class:F(["VPNavBar",a.value])},[u("div",tr,[u("div",nr,[u("div",or,[w(Ja,null,{"nav-bar-title-before":v(()=>[p(i.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[p(i.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),u("div",sr,[u("div",ar,[p(i.$slots,"nav-bar-content-before",{},void 0,!0),w(Ra,{class:"search"}),w(Aa,{class:"menu"}),w(Za,{class:"translations"}),w(Bs,{class:"appearance"}),w(za,{class:"social-links"}),w(ma,{class:"extra"}),p(i.$slots,"nav-bar-content-after",{},void 0,!0),w(Sa,{class:"hamburger",active:i.isScreenOpen,onClick:l[0]||(l[0]=d=>i.$emit("toggle-screen"))},null,8,["active"])])])])]),rr],2))}}),lr=S(ir,[["__scopeId","data-v-03df6358"]]),cr={key:0,class:"VPNavScreenAppearance"},ur={class:"text"},dr=m({__name:"VPNavScreenAppearance",setup(t){const{site:e,theme:n}=O();return(s,o)=>c(e).appearance&&c(e).appearance!=="force-dark"&&c(e).appearance!=="force-auto"?(r(),f("div",cr,[u("p",ur,C(c(n).darkModeSwitchLabel||"Appearance"),1),w(De)])):b("",!0)}}),fr=S(dr,[["__scopeId","data-v-bd6a2777"]]),pr=m({__name:"VPNavScreenMenuLink",props:{item:{}},setup(t){const e=ce("close-screen");return(n,s)=>(r(),$(q,{class:"VPNavScreenMenuLink",href:n.item.link,target:n.item.target,rel:n.item.rel,onClick:c(e),innerHTML:n.item.text},null,8,["href","target","rel","onClick","innerHTML"]))}}),vr=S(pr,[["__scopeId","data-v-b37d669d"]]),hr=m({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(t){const e=ce("close-screen");return(n,s)=>(r(),$(q,{class:"VPNavScreenMenuGroupLink",href:n.item.link,target:n.item.target,rel:n.item.rel,onClick:c(e)},{default:v(()=>[W(C(n.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),ft=S(hr,[["__scopeId","data-v-fa8446d3"]]),_r={class:"VPNavScreenMenuGroupSection"},mr={key:0,class:"title"},gr=m({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(t){return(e,n)=>(r(),f("div",_r,[e.text?(r(),f("p",mr,C(e.text),1)):b("",!0),(r(!0),f(D,null,U(e.items,s=>(r(),$(ft,{key:s.text,item:s},null,8,["item"]))),128))]))}}),br=S(gr,[["__scopeId","data-v-19fc8329"]]),yr=t=>(x("data-v-b87097e2"),t=t(),j(),t),kr=["aria-controls","aria-expanded"],$r=["innerHTML"],Sr=yr(()=>u("span",{class:"vpi-plus button-icon"},null,-1)),Pr=["id"],wr={key:0,class:"item"},Lr={key:1,class:"item"},Vr={key:2,class:"group"},Tr=m({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(t){const e=t,n=I(!1),s=T(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function o(){n.value=!n.value}return(a,i)=>(r(),f("div",{class:F(["VPNavScreenMenuGroup",{open:n.value}])},[u("button",{class:"button","aria-controls":s.value,"aria-expanded":n.value,onClick:o},[u("span",{class:"button-text",innerHTML:a.text},null,8,$r),Sr],8,kr),u("div",{id:s.value,class:"items"},[(r(!0),f(D,null,U(a.items,l=>(r(),f(D,{key:JSON.stringify(l)},["link"in l?(r(),f("div",wr,[w(ft,{item:l},null,8,["item"])])):"component"in l?(r(),f("div",Lr,[(r(),$(K(l.component),ee({ref_for:!0},l.props,{"screen-menu":""}),null,16))])):(r(),f("div",Vr,[w(br,{text:l.text,items:l.items},null,8,["text","items"])]))],64))),128))],8,Pr)],2))}}),Ir=S(Tr,[["__scopeId","data-v-b87097e2"]]),Cr={key:0,class:"VPNavScreenMenu"},Nr=m({__name:"VPNavScreenMenu",setup(t){const{theme:e}=O();return(n,s)=>c(e).nav?(r(),f("nav",Cr,[(r(!0),f(D,null,U(c(e).nav,o=>(r(),f(D,{key:JSON.stringify(o)},["link"in o?(r(),$(vr,{key:0,item:o},null,8,["item"])):"component"in o?(r(),$(K(o.component),ee({key:1,ref_for:!0},o.props,{"screen-menu":""}),null,16)):(r(),$(Ir,{key:2,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):b("",!0)}}),Ar=m({__name:"VPNavScreenSocialLinks",setup(t){const{theme:e}=O();return(n,s)=>c(e).socialLinks?(r(),$(je,{key:0,class:"VPNavScreenSocialLinks",links:c(e).socialLinks},null,8,["links"])):b("",!0)}}),pt=t=>(x("data-v-55a701b1"),t=t(),j(),t),Mr=pt(()=>u("span",{class:"vpi-languages icon lang"},null,-1)),Er=pt(()=>u("span",{class:"vpi-chevron-down icon chevron"},null,-1)),Br={class:"list"},Or=m({__name:"VPNavScreenTranslations",setup(t){const{localeLinks:e,currentLang:n}=ue({correspondingLink:!0}),s=I(!1);function o(){s.value=!s.value}return(a,i)=>c(e).length&&c(n).label?(r(),f("div",{key:0,class:F(["VPNavScreenTranslations",{open:s.value}])},[u("button",{class:"title",onClick:o},[Mr,W(" "+C(c(n).label)+" ",1),Er]),u("ul",Br,[(r(!0),f(D,null,U(c(e),l=>(r(),f("li",{key:l.link,class:"item"},[w(q,{class:"link",href:l.link},{default:v(()=>[W(C(l.text),1)]),_:2},1032,["href"])]))),128))])],2)):b("",!0)}}),Hr=S(Or,[["__scopeId","data-v-55a701b1"]]),Dr={class:"container"},Fr=m({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(t){const e=I(null),n=et(ye?document.body:null);return(s,o)=>(r(),$(Ae,{name:"fade",onEnter:o[0]||(o[0]=a=>n.value=!0),onAfterLeave:o[1]||(o[1]=a=>n.value=!1)},{default:v(()=>[s.open?(r(),f("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[u("div",Dr,[p(s.$slots,"nav-screen-content-before",{},void 0,!0),w(Nr,{class:"menu"}),w(Hr,{class:"translations"}),w(fr,{class:"appearance"}),w(Ar,{class:"social-links"}),p(s.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):b("",!0)]),_:3}))}}),xr=S(Fr,[["__scopeId","data-v-39377809"]]),jr={key:0,class:"VPNav"},Rr=m({__name:"VPNav",setup(t){const{isScreenOpen:e,closeScreen:n,toggleScreen:s}=Ss(),{frontmatter:o}=O(),a=T(()=>o.value.navbar!==!1);return tt("close-screen",n),_e(()=>{ye&&document.documentElement.classList.toggle("hide-nav",!a.value)}),(i,l)=>a.value?(r(),f("header",jr,[w(lr,{"is-screen-open":c(e),onToggleScreen:c(s)},{"nav-bar-title-before":v(()=>[p(i.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[p(i.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[p(i.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[p(i.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),w(xr,{open:c(e)},{"nav-screen-content-before":v(()=>[p(i.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[p(i.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):b("",!0)}}),Ur=S(Rr,[["__scopeId","data-v-10d5e81f"]]),vt=t=>(x("data-v-c4699b33"),t=t(),j(),t),zr=["role","tabindex"],Gr=vt(()=>u("div",{class:"indicator"},null,-1)),Kr=vt(()=>u("span",{class:"vpi-chevron-right caret-icon"},null,-1)),qr=[Kr],Wr={key:1,class:"items"},Jr=m({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(t){const e=t,{collapsed:n,collapsible:s,isLink:o,isActiveLink:a,hasActiveLink:i,hasChildren:l,toggle:d}=pn(T(()=>e.item)),h=T(()=>l.value?"section":"div"),g=T(()=>o.value?"a":"div"),_=T(()=>l.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),y=T(()=>o.value?void 0:"button"),N=T(()=>[[`level-${e.depth}`],{collapsible:s.value},{collapsed:n.value},{"is-link":o.value},{"is-active":a.value},{"has-active":i.value}]);function V(k){"key"in k&&k.key!=="Enter"||!e.item.link&&d()}function M(){e.item.link&&d()}return(k,R)=>{const z=se("VPSidebarItem",!0);return r(),$(K(h.value),{class:F(["VPSidebarItem",N.value])},{default:v(()=>[k.item.text?(r(),f("div",ee({key:0,class:"item",role:y.value},Dt(k.item.items?{click:V,keydown:V}:{},!0),{tabindex:k.item.items&&0}),[Gr,k.item.link?(r(),$(q,{key:0,tag:g.value,class:"link",href:k.item.link,rel:k.item.rel,target:k.item.target},{default:v(()=>[(r(),$(K(_.value),{class:"text",innerHTML:k.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(r(),$(K(_.value),{key:1,class:"text",innerHTML:k.item.text},null,8,["innerHTML"])),k.item.collapsed!=null&&k.item.items&&k.item.items.length?(r(),f("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:M,onKeydown:Ft(M,["enter"]),tabindex:"0"},qr,32)):b("",!0)],16,zr)):b("",!0),k.item.items&&k.item.items.length?(r(),f("div",Wr,[k.depth<5?(r(!0),f(D,{key:0},U(k.item.items,X=>(r(),$(z,{key:X.text,item:X,depth:k.depth+1},null,8,["item","depth"]))),128)):b("",!0)])):b("",!0)]),_:1},8,["class"])}}}),Yr=S(Jr,[["__scopeId","data-v-c4699b33"]]),Xr=m({__name:"VPSidebarGroup",props:{items:{}},setup(t){const e=I(!0);let n=null;return te(()=>{n=setTimeout(()=>{n=null,e.value=!1},300)}),xt(()=>{n!=null&&(clearTimeout(n),n=null)}),(s,o)=>(r(!0),f(D,null,U(s.items,a=>(r(),f("div",{key:a.text,class:F(["group",{"no-transition":e.value}])},[w(Yr,{item:a,depth:0},null,8,["item"])],2))),128))}}),Qr=S(Xr,[["__scopeId","data-v-c3141239"]]),ht=t=>(x("data-v-52f4c170"),t=t(),j(),t),Zr=ht(()=>u("div",{class:"curtain"},null,-1)),ei={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},ti=ht(()=>u("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),ni=m({__name:"VPSidebar",props:{open:{type:Boolean}},setup(t){const{sidebarGroups:e,hasSidebar:n}=Y(),s=t,o=I(null),a=et(ye?document.body:null);J([s,o],()=>{var l;s.open?(a.value=!0,(l=o.value)==null||l.focus()):a.value=!1},{immediate:!0,flush:"post"});const i=I(0);return J(e,()=>{i.value+=1},{deep:!0}),(l,d)=>c(n)?(r(),f("aside",{key:0,class:F(["VPSidebar",{open:l.open}]),ref_key:"navEl",ref:o,onClick:d[0]||(d[0]=jt(()=>{},["stop"]))},[Zr,u("nav",ei,[ti,p(l.$slots,"sidebar-nav-before",{},void 0,!0),(r(),$(Qr,{items:c(e),key:i.value},null,8,["items"])),p(l.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):b("",!0)}}),oi=S(ni,[["__scopeId","data-v-52f4c170"]]),si=m({__name:"VPSkipLink",setup(t){const e=ge(),n=I();J(()=>e.path,()=>n.value.focus());function s({target:o}){const a=document.getElementById(decodeURIComponent(o.hash).slice(1));if(a){const i=()=>{a.removeAttribute("tabindex"),a.removeEventListener("blur",i)};a.setAttribute("tabindex","-1"),a.addEventListener("blur",i),a.focus(),window.scrollTo(0,0)}}return(o,a)=>(r(),f(D,null,[u("span",{ref_key:"backToTop",ref:n,tabindex:"-1"},null,512),u("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:s}," Skip to content ")],64))}}),ai=S(si,[["__scopeId","data-v-4a10e730"]]),ri=m({__name:"Layout",setup(t){const{isOpen:e,open:n,close:s}=Y(),o=ge();J(()=>o.path,s),fn(e,s);const{frontmatter:a}=O(),i=Rt(),l=T(()=>!!i["home-hero-image"]);return tt("hero-image-slot-exists",l),(d,h)=>{const g=se("Content");return c(a).layout!==!1?(r(),f("div",{key:0,class:F(["Layout",c(a).pageClass])},[p(d.$slots,"layout-top",{},void 0,!0),w(ai),w(Yt,{class:"backdrop",show:c(e),onClick:c(s)},null,8,["show","onClick"]),w(Ur,null,{"nav-bar-title-before":v(()=>[p(d.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[p(d.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[p(d.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[p(d.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":v(()=>[p(d.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[p(d.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),w($s,{open:c(e),onOpenMenu:c(n)},null,8,["open","onOpenMenu"]),w(oi,{open:c(e)},{"sidebar-nav-before":v(()=>[p(d.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":v(()=>[p(d.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),w(ns,null,{"page-top":v(()=>[p(d.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[p(d.$slots,"page-bottom",{},void 0,!0)]),"not-found":v(()=>[p(d.$slots,"not-found",{},void 0,!0)]),"home-hero-before":v(()=>[p(d.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":v(()=>[p(d.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[p(d.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[p(d.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[p(d.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[p(d.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[p(d.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[p(d.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[p(d.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":v(()=>[p(d.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[p(d.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[p(d.$slots,"doc-after",{},void 0,!0)]),"doc-top":v(()=>[p(d.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[p(d.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":v(()=>[p(d.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[p(d.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[p(d.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[p(d.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[p(d.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[p(d.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),w(is),p(d.$slots,"layout-bottom",{},void 0,!0)],2)):(r(),$(g,{key:1}))}}}),ii=S(ri,[["__scopeId","data-v-4be82239"]]),_t={Layout:ii,enhanceApp:({app:t})=>{t.component("Badge",qt)}},Re="LiteyukiStudio",Ue="LiteyukiBot",li="https://api.github.com",ci="https://git.liteyuki.icu/api/v1",ui="https://api.liteyuki.icu/online",di="https://api.liteyuki.icu/count",fi="https://api.liteyuki.icu/visit",pi="https://api.liteyuki.icu/visit_count",ie=`https://github.com/${Re}/${Ue}`,Ke="https://starmap.liteyuki.icu";async function vi(){try{const t=`${ci}/repos/${Re}/${Ue}`;console.log(t);const n=await(await fetch(t)).json();return{stars:n.stars_count,forks:n.forks_count,watchers:n.watchers_count,issues:0,prs:0,size:n.size}}catch{return{stars:-1,forks:-1,watchers:-1,issues:-1,prs:-1,size:-1}}}async function hi(){try{const e=await(await fetch(`${li}/repos/${Re}/${Ue}`)).json();return{stars:e.stargazers_count,forks:e.forks_count,watchers:e.watchers_count,issues:e.open_issues_count,prs:e.open_issues_count,size:e.size}}catch{return{stars:-1,forks:-1,watchers:-1,issues:-1,prs:-1,size:-1}}}async function _i(){const t=await hi(),e=await vi();return{stars:t.stars+e.stars,forks:t.forks+e.forks,watchers:t.watchers+e.watchers,issues:t.issues+e.issues,prs:t.prs+e.prs,size:t.size+e.size}}const ae={getTotal:async()=>{try{return(await(await fetch(di)).json()).register}catch{return-1}},getOnline:async()=>{try{return(await(await fetch(ui)).json()).online}catch{return-1}},getGithubStats:_i,getPluginNum:async()=>{try{return(await(await fetch("/plugins.json")).json()).length}catch{return-1}},getResourceNum:async()=>{try{return(await(await fetch("/resources.json")).json()).length}catch{return-1}},getVisitCount:async()=>{try{return(await(await fetch(pi)).json()).count}catch{return-1}}};function mi(){const t="deviceId";let e=localStorage.getItem(t);return e||(e=bi(),localStorage.setItem(t,e)),e}async function gi(){const t=mi();try{await fetch(fi,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({device_id:t}).toString()})}catch(e){console.error("Failed to upload visit record:",e)}}function bi(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=Math.random()*16|0,n=t==="x"?e:e&3|8;return n.toString(16)})}/*! * vue-router v4.4.3 * (c) 2024 Eduardo San Martin Morote * @license MIT diff --git a/assets/dev_api_bot_index.md.CuMl1rvj.lean.js b/assets/dev_api_bot_index.md.CuMl1rvj.lean.js deleted file mode 100644 index a85272c6..00000000 --- a/assets/dev_api_bot_index.md.CuMl1rvj.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const y=JSON.parse('{"title":"liteyuki.bot","description":"","frontmatter":{"title":"liteyuki.bot","collapsed":true},"headers":[],"relativePath":"dev/api/bot/index.md","filePath":"zh/dev/api/bot/index.md","lastUpdated":null}'),t={name:"dev/api/bot/index.md"},l=n("",86),e=[l];function p(h,k,r,o,d,g){return a(),i("div",null,e)}const c=s(t,[["render",p]]);export{y as __pageData,c as default}; diff --git a/assets/dev_api_bot_index.md.CuMl1rvj.js b/assets/dev_api_bot_index.md.DNY8cUbE.js similarity index 79% rename from assets/dev_api_bot_index.md.CuMl1rvj.js rename to assets/dev_api_bot_index.md.DNY8cUbE.js index c3420dd9..b22f2a30 100644 --- a/assets/dev_api_bot_index.md.CuMl1rvj.js +++ b/assets/dev_api_bot_index.md.DNY8cUbE.js @@ -1,10 +1,5 @@ -import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const y=JSON.parse('{"title":"liteyuki.bot","description":"","frontmatter":{"title":"liteyuki.bot","collapsed":true},"headers":[],"relativePath":"dev/api/bot/index.md","filePath":"zh/dev/api/bot/index.md","lastUpdated":null}'),t={name:"dev/api/bot/index.md"},l=n(`

模块 liteyuki.bot

class LiteyukiBot

func __init__(self, **kwargs) -> None

说明: 初始化轻雪实例

参数:

  • **kwargs: 配置
源代码在GitHub上查看
python
def __init__(self, **kwargs) -> None:
-    """
-        初始化轻雪实例
-        Args:
-            **kwargs: 配置
-        """
-    '常规操作'
+import{_ as s,c as i,o as a,a9 as t}from"./chunks/framework.C4_mTacX.js";const y=JSON.parse('{"title":"liteyuki.bot","description":"","frontmatter":{"title":"liteyuki.bot","collapsed":true},"headers":[],"relativePath":"dev/api/bot/index.md","filePath":"zh/dev/api/bot/index.md","lastUpdated":null}'),n={name:"dev/api/bot/index.md"},e=t(`

模块 liteyuki.bot

class LiteyukiBot

func __init__(self, **kwargs) -> None

说明: 初始化轻雪实例

参数:

  • **kwargs: 配置
源代码在GitHub上查看
python
def __init__(self, **kwargs) -> None:
+    """常规操作"""
     print_logo()
     global _BOT_INSTANCE
     _BOT_INSTANCE = self
@@ -23,9 +18,6 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const y
     self.call_restart_count = 0
     '加载插件加载器'
     load_plugin('liteyuki.plugins.plugin_loader')

func run(self)

说明: 外部启动接口

源代码在GitHub上查看
python
def run(self):
-    """
-        外部启动接口
-        """
     self.process_manager.start_all()
     try:
         asyncio.run(self._run())
@@ -33,9 +25,6 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const y
         logger.opt(colors=True).info('<y>Liteyuki is stopping...</y>')
         self.stop()
     logger.opt(colors=True).info('<y>Liteyuki is stopped...</y>')

async func keep_alive(self)

说明: 保持轻雪运行

源代码在GitHub上查看
python
async def keep_alive(self):
-    """
-        保持轻雪运行
-        """
     logger.info('Liteyuki is keeping alive...')
     try:
         while not self.stop_event.is_set():
@@ -43,11 +32,6 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const y
     except Exception:
         logger.info('Liteyuki is exiting...')
         self.stop()

func restart(self, delay: int = 0)

说明: 重启轻雪本体

参数:

  • delay (int, optional): 延迟重启时间. Defaults to 0.
源代码在GitHub上查看
python
def restart(self, delay: int=0):
-    """
-        重启轻雪本体
-        Args:
-            delay ([\`int\`](https%3A//docs.python.org/3/library/functions.html#int), optional): 延迟重启时间. Defaults to 0.
-        """
     if self.call_restart_count < 1:
         executable = sys.executable
         args = sys.argv
@@ -65,12 +49,6 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const y
         threading.Thread(target=os.system, args=(f"{cmd} {executable} {' '.join(args)}",), daemon=True).start()
         sys.exit(0)
     self.call_restart_count += 1

func restart_process(self, name: Optional[str] = None)

说明: 停止轻雪

参数:

源代码在GitHub上查看
python
def restart_process(self, name: Optional[str]=None):
-    """
-        停止轻雪
-        Args:
-            name ([\`Optional\`](https%3A//docs.python.org/3/library/typing.html#typing.Optional)[[\`str\`](https%3A//docs.python.org/3/library/stdtypes.html#str)]): 进程名. Defaults to None.
-        Returns:
-        """
     if name is not None:
         chan_active = get_channel(f'{name}-active')
         chan_active.send(1)
@@ -78,104 +56,27 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const y
         for process_name in self.process_manager.processes:
             chan_active = get_channel(f'{process_name}-active')
             chan_active.send(1)

func init(self, *args, **kwargs)

说明: 初始化轻雪, 自动调用

参数:

  • *args: 参数
  • **kwargs: 关键字参数
源代码在GitHub上查看
python
def init(self, *args, **kwargs):
-    """
-        初始化轻雪, 自动调用
-        Args:
-            *args: 参数
-            **kwargs: 关键字参数
-        """
     self.init_logger()

func init_logger(self)

说明: 初始化日志

源代码在GitHub上查看
python
def init_logger(self):
-    """
-        初始化日志
-        """
     init_log(config=self.config)

func stop(self)

说明: 停止轻雪

源代码在GitHub上查看
python
def stop(self):
-    """
-        停止轻雪
-        """
     self.process_manager.terminate_all()
     self.stop_event.set()

func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

说明: 注册启动前的函数

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:
-    """
-        注册启动前的函数
-        Args:
-            func ([\`LIFESPAN_FUNC\`](./lifespan#var-lifespan-func)): 生命周期函数
-        Returns:
-            [\`LIFESPAN_FUNC\`](./lifespan#var-lifespan-func): 生命周期函数
-        """
     return self.lifespan.on_before_start(func)

func on_after_start(self, func: LIFESPAN_FUNC)

说明: 注册启动后的函数

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_after_start(self, func: LIFESPAN_FUNC):
-    """
-        注册启动后的函数
-        Args:
-            func ([\`LIFESPAN_FUNC\`](./lifespan#var-lifespan-func)): 生命周期函数
-        Returns:
-            [\`LIFESPAN_FUNC\`](./lifespan#var-lifespan-func): 生命周期函数
-        """
     return self.lifespan.on_after_start(func)

func on_after_shutdown(self, func: LIFESPAN_FUNC)

说明: 注册停止后的函数:未实现

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_after_shutdown(self, func: LIFESPAN_FUNC):
-    """
-        注册停止后的函数:未实现
-        Args:
-            func ([\`LIFESPAN_FUNC\`](./lifespan#var-lifespan-func)): 生命周期函数
-        Returns:
-            [\`LIFESPAN_FUNC\`](./lifespan#var-lifespan-func): 生命周期函数
-        """
     return self.lifespan.on_after_shutdown(func)

func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC)

说明: 注册进程停止前的函数,为子进程停止时调用

参数:

返回: PROCESS_LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC):
-    """
-        注册进程停止前的函数,为子进程停止时调用
-        Args:
-            func ([\`PROCESS_LIFESPAN_FUNC\`](./lifespan#var-process-lifespan-func)): 生命周期函数
-        Returns:
-            [\`PROCESS_LIFESPAN_FUNC\`](./lifespan#var-process-lifespan-func): 生命周期函数
-        """
     return self.lifespan.on_before_process_shutdown(func)

func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC

说明: 注册进程重启前的函数,为子进程重启时调用

参数:

返回: PROCESS_LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC:
-    """
-        注册进程重启前的函数,为子进程重启时调用
-        Args:
-            func ([\`PROCESS_LIFESPAN_FUNC\`](./lifespan#var-process-lifespan-func)): 生命周期函数
-        Returns:
-            [\`PROCESS_LIFESPAN_FUNC\`](./lifespan#var-process-lifespan-func): 生命周期函数
-        """
     return self.lifespan.on_before_process_restart(func)

func on_after_restart(self, func: LIFESPAN_FUNC)

说明: 注册重启后的函数:未实现

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_after_restart(self, func: LIFESPAN_FUNC):
-    """
-        注册重启后的函数:未实现
-        Args:
-            func ([\`LIFESPAN_FUNC\`](./lifespan#var-lifespan-func)): 生命周期函数
-        Returns:
-            [\`LIFESPAN_FUNC\`](./lifespan#var-lifespan-func): 生命周期函数
-        """
     return self.lifespan.on_after_restart(func)

func get_bot() -> LiteyukiBot

说明: 获取轻雪实例

返回: LiteyukiBot: 轻雪实例

源代码在GitHub上查看
python
def get_bot() -> LiteyukiBot:
-    """
-    获取轻雪实例
-    Returns:
-        [\`LiteyukiBot\`](#class-liteyukibot): 轻雪实例
-    """
     if IS_MAIN_PROCESS:
         if _BOT_INSTANCE is None:
             raise RuntimeError('Liteyuki instance not initialized.')
         return _BOT_INSTANCE
     else:
         raise RuntimeError("Can't get bot instance in sub process.")

func get_config(key: str, default: Any = None) -> Any

说明: 获取配置

参数:

  • key (str): 配置键
  • default (Any, optional): 默认值. Defaults to None.

返回: Any: 配置值

源代码在GitHub上查看
python
def get_config(key: str, default: Any=None) -> Any:
-    """
-    获取配置
-    Args:
-        key ([\`str\`](https%3A//docs.python.org/3/library/stdtypes.html#str)): 配置键
-        default ([\`Any\`](https%3A//docs.python.org/3/library/functions.html#any), optional): 默认值. Defaults to None.
-    Returns:
-        [\`Any\`](https%3A//docs.python.org/3/library/functions.html#any): 配置值
-    """
     return get_bot().config.get(key, default)

func get_config_with_compat(key: str, compat_keys: tuple[str], default: Any = None) -> Any

说明: 获取配置,兼容旧版本

参数:

  • key (str): 配置键
  • compat_keys (tuplestr): 兼容键
  • default (Any, optional): 默认值. Defaults to None.

返回: Any: 配置值

源代码在GitHub上查看
python
def get_config_with_compat(key: str, compat_keys: tuple[str], default: Any=None) -> Any:
-    """
-    获取配置,兼容旧版本
-    Args:
-        key ([\`str\`](https%3A//docs.python.org/3/library/stdtypes.html#str)): 配置键
-        compat_keys ([\`tuple\`](https%3A//docs.python.org/3/library/stdtypes.html#tuple)[\`str\`](https%3A//docs.python.org/3/library/stdtypes.html#str)): 兼容键
-        default ([\`Any\`](https%3A//docs.python.org/3/library/functions.html#any), optional): 默认值. Defaults to None.
-
-    Returns:
-        [\`Any\`](https%3A//docs.python.org/3/library/functions.html#any): 配置值
-    """
     if key in get_bot().config:
         return get_bot().config[key]
     for compat_key in compat_keys:
         if compat_key in get_bot().config:
             logger.warning(f'Config key "{compat_key}" will be deprecated, use "{key}" instead.')
             return get_bot().config[compat_key]
-    return default
`,86),e=[l];function p(h,k,r,o,d,g){return a(),i("div",null,e)}const c=s(t,[["render",p]]);export{y as __pageData,c as default}; + return default
`,86),l=[e];function h(p,k,r,o,d,g){return a(),i("div",null,l)}const c=s(n,[["render",h]]);export{y as __pageData,c as default}; diff --git a/assets/dev_api_bot_index.md.DNY8cUbE.lean.js b/assets/dev_api_bot_index.md.DNY8cUbE.lean.js new file mode 100644 index 00000000..31bc8c3d --- /dev/null +++ b/assets/dev_api_bot_index.md.DNY8cUbE.lean.js @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a9 as t}from"./chunks/framework.C4_mTacX.js";const y=JSON.parse('{"title":"liteyuki.bot","description":"","frontmatter":{"title":"liteyuki.bot","collapsed":true},"headers":[],"relativePath":"dev/api/bot/index.md","filePath":"zh/dev/api/bot/index.md","lastUpdated":null}'),n={name:"dev/api/bot/index.md"},e=t("",86),l=[e];function h(p,k,r,o,d,g){return a(),i("div",null,l)}const c=s(n,[["render",h]]);export{y as __pageData,c as default}; diff --git a/assets/dev_api_bot_lifespan.md.DR2MDUz6.js b/assets/dev_api_bot_lifespan.md.DR2MDUz6.js deleted file mode 100644 index 8a7eb474..00000000 --- a/assets/dev_api_bot_lifespan.md.DR2MDUz6.js +++ /dev/null @@ -1,104 +0,0 @@ -import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const u=JSON.parse('{"title":"liteyuki.bot.lifespan","description":"","frontmatter":{"title":"liteyuki.bot.lifespan"},"headers":[],"relativePath":"dev/api/bot/lifespan.md","filePath":"zh/dev/api/bot/lifespan.md","lastUpdated":null}'),t={name:"dev/api/bot/lifespan.md"},e=n(`

模块 liteyuki.bot.lifespan

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午8:24 @Author : snowykami @Email : snowykami@outlook.com @File : lifespan.py @Software: PyCharm

var SYNC_LIFESPAN_FUNC

  • 说明: 同步生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[], Any]

var ASYNC_LIFESPAN_FUNC

  • 说明: 异步生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[], Awaitable[Any]]

var LIFESPAN_FUNC

  • 说明: 生命周期函数

  • 类型: TypeAlias

  • 默认值: SYNC_LIFESPAN_FUNC | ASYNC_LIFESPAN_FUNC

var SYNC_PROCESS_LIFESPAN_FUNC

  • 说明: 同步进程生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[str], Any]

var ASYNC_PROCESS_LIFESPAN_FUNC

  • 说明: 异步进程生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[str], Awaitable[Any]]

var PROCESS_LIFESPAN_FUNC

  • 说明: 进程函数

  • 类型: TypeAlias

  • 默认值: SYNC_PROCESS_LIFESPAN_FUNC | ASYNC_PROCESS_LIFESPAN_FUNC

class Lifespan

func __init__(self) -> None

说明: 轻雪生命周期管理,启动、停止、重启

源代码在GitHub上查看
python
def __init__(self) -> None:
-    """
-        轻雪生命周期管理,启动、停止、重启
-        """
-    self.life_flag: int = 0
-    self._before_start_funcs: list[LIFESPAN_FUNC] = []
-    self._after_start_funcs: list[LIFESPAN_FUNC] = []
-    self._before_process_shutdown_funcs: list[PROCESS_LIFESPAN_FUNC] = []
-    self._after_shutdown_funcs: list[LIFESPAN_FUNC] = []
-    self._before_process_restart_funcs: list[PROCESS_LIFESPAN_FUNC] = []
-    self._after_restart_funcs: list[LIFESPAN_FUNC] = []

@staticmethod

async func run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None

说明: 并发运行异步函数

参数:

源代码在GitHub上查看
python
@staticmethod
-async def run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None:
-    """
-        并发运行异步函数
-        Args:
-            funcs ([\`Sequence\`](https%3A//docs.python.org/3/library/typing.html#typing.Sequence)[[\`ASYNC_LIFESPAN_FUNC\`](#var-lifespan-func) | [\`PROCESS_LIFESPAN_FUNC\`](#var-process-lifespan-func)]): 函数列表
-        Returns:
-        """
-    tasks = [func(*args, **kwargs) if is_coroutine_callable(func) else async_wrapper(func)(*args, **kwargs) for func in funcs]
-    await asyncio.gather(*tasks)

func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

说明: 注册启动时的函数

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:
-    """
-        注册启动时的函数
-        Args:
-            func ([\`LIFESPAN_FUNC\`](#var-lifespan-func)): 生命周期函数
-        Returns:
-            [\`LIFESPAN_FUNC\`](#var-lifespan-func): 生命周期函数
-        """
-    self._before_start_funcs.append(func)
-    return func

func on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

说明: 注册启动时的函数

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:
-    """
-        注册启动时的函数
-        Args:
-            func ([\`LIFESPAN_FUNC\`](#var-lifespan-func)): 生命周期函数
-        Returns:
-            [\`LIFESPAN_FUNC\`](#var-lifespan-func): 生命周期函数
-        """
-    self._after_start_funcs.append(func)
-    return func

func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC

说明: 注册进程停止前的函数

参数:

返回: PROCESS_LIFESPAN_FUNC: 进程生命周期函数

源代码在GitHub上查看
python
def on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC:
-    """
-        注册进程停止前的函数
-        Args:
-            func ([\`PROCESS_LIFESPAN_FUNC\`](#var-process-lifespan-func)): 进程生命周期函数
-        Returns:
-            [\`PROCESS_LIFESPAN_FUNC\`](#var-process-lifespan-func): 进程生命周期函数
-        """
-    self._before_process_shutdown_funcs.append(func)
-    return func

func on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

说明: 注册停止后的函数

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:
-    """
-        注册停止后的函数
-        Args:
-            func ([\`LIFESPAN_FUNC\`](#var-lifespan-func)): 生命周期函数
-        Returns:
-            [\`LIFESPAN_FUNC\`](#var-lifespan-func): 生命周期函数
-        """
-    self._after_shutdown_funcs.append(func)
-    return func

func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC

说明: 注册进程重启前的函数

参数:

返回: PROCESS_LIFESPAN_FUNC: 进程生命周期函数

源代码在GitHub上查看
python
def on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC:
-    """
-        注册进程重启前的函数
-        Args:
-            func ([\`PROCESS_LIFESPAN_FUNC\`](#var-process-lifespan-func)): 进程生命周期函数
-        Returns:
-            [\`PROCESS_LIFESPAN_FUNC\`](#var-process-lifespan-func): 进程生命周期函数
-        """
-    self._before_process_restart_funcs.append(func)
-    return func

func on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

说明: 注册重启后的函数

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:
-    """
-        注册重启后的函数
-        Args:
-            func ([\`LIFESPAN_FUNC\`](#var-lifespan-func)): 生命周期函数
-        Returns:
-            [\`LIFESPAN_FUNC\`](#var-lifespan-func): 生命周期函数
-        """
-    self._after_restart_funcs.append(func)
-    return func

async func before_start(self) -> None

说明: 启动前钩子

源代码在GitHub上查看
python
async def before_start(self) -> None:
-    """
-        启动前钩子
-        """
-    logger.debug('Running before_start functions')
-    await self.run_funcs(self._before_start_funcs)

async func after_start(self) -> None

说明: 启动后钩子

源代码在GitHub上查看
python
async def after_start(self) -> None:
-    """
-        启动后钩子
-        """
-    logger.debug('Running after_start functions')
-    await self.run_funcs(self._after_start_funcs)

async func before_process_shutdown(self, *args, **kwargs) -> None

说明: 停止前钩子

源代码在GitHub上查看
python
async def before_process_shutdown(self, *args, **kwargs) -> None:
-    """
-        停止前钩子
-        """
-    logger.debug('Running before_shutdown functions')
-    await self.run_funcs(self._before_process_shutdown_funcs, *args, **kwargs)

async func after_shutdown(self) -> None

说明: 停止后钩子 未实现

源代码在GitHub上查看
python
async def after_shutdown(self) -> None:
-    """
-        停止后钩子 未实现
-        """
-    logger.debug('Running after_shutdown functions')
-    await self.run_funcs(self._after_shutdown_funcs)

async func before_process_restart(self, *args, **kwargs) -> None

说明: 重启前钩子

源代码在GitHub上查看
python
async def before_process_restart(self, *args, **kwargs) -> None:
-    """
-        重启前钩子
-        """
-    logger.debug('Running before_restart functions')
-    await self.run_funcs(self._before_process_restart_funcs, *args, **kwargs)

async func after_restart(self) -> None

说明: 重启后钩子 未实现

源代码在GitHub上查看
python
async def after_restart(self) -> None:
-    """
-        重启后钩子 未实现
-        """
-    logger.debug('Running after_restart functions')
-    await self.run_funcs(self._after_restart_funcs)
`,79),l=[e];function p(h,k,r,o,c,d){return a(),i("div",null,l)}const E=s(t,[["render",p]]);export{u as __pageData,E as default}; diff --git a/assets/dev_api_bot_lifespan.md.cXpYfBFa.js b/assets/dev_api_bot_lifespan.md.cXpYfBFa.js new file mode 100644 index 00000000..bf54ba56 --- /dev/null +++ b/assets/dev_api_bot_lifespan.md.cXpYfBFa.js @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const E=JSON.parse('{"title":"liteyuki.bot.lifespan","description":"","frontmatter":{"title":"liteyuki.bot.lifespan"},"headers":[],"relativePath":"dev/api/bot/lifespan.md","filePath":"zh/dev/api/bot/lifespan.md","lastUpdated":null}'),t={name:"dev/api/bot/lifespan.md"},e=n('

模块 liteyuki.bot.lifespan

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午8:24 @Author : snowykami @Email : snowykami@outlook.com @File : lifespan.py @Software: PyCharm

var SYNC_LIFESPAN_FUNC

  • 说明: 同步生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[], Any]

var ASYNC_LIFESPAN_FUNC

  • 说明: 异步生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[], Awaitable[Any]]

var LIFESPAN_FUNC

  • 说明: 生命周期函数

  • 类型: TypeAlias

  • 默认值: SYNC_LIFESPAN_FUNC | ASYNC_LIFESPAN_FUNC

var SYNC_PROCESS_LIFESPAN_FUNC

  • 说明: 同步进程生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[str], Any]

var ASYNC_PROCESS_LIFESPAN_FUNC

  • 说明: 异步进程生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[str], Awaitable[Any]]

var PROCESS_LIFESPAN_FUNC

  • 说明: 进程函数

  • 类型: TypeAlias

  • 默认值: SYNC_PROCESS_LIFESPAN_FUNC | ASYNC_PROCESS_LIFESPAN_FUNC

class Lifespan

func __init__(self) -> None

说明: 轻雪生命周期管理,启动、停止、重启

源代码在GitHub上查看
python
def __init__(self) -> None:\n    self.life_flag: int = 0\n    self._before_start_funcs: list[LIFESPAN_FUNC] = []\n    self._after_start_funcs: list[LIFESPAN_FUNC] = []\n    self._before_process_shutdown_funcs: list[PROCESS_LIFESPAN_FUNC] = []\n    self._after_shutdown_funcs: list[LIFESPAN_FUNC] = []\n    self._before_process_restart_funcs: list[PROCESS_LIFESPAN_FUNC] = []\n    self._after_restart_funcs: list[LIFESPAN_FUNC] = []

@staticmethod

async func run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None

说明: 并发运行异步函数

参数:

源代码在GitHub上查看
python
@staticmethod\nasync def run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None:\n    tasks = [func(*args, **kwargs) if is_coroutine_callable(func) else async_wrapper(func)(*args, **kwargs) for func in funcs]\n    await asyncio.gather(*tasks)

func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

说明: 注册启动时的函数

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._before_start_funcs.append(func)\n    return func

func on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

说明: 注册启动时的函数

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._after_start_funcs.append(func)\n    return func

func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC

说明: 注册进程停止前的函数

参数:

返回: PROCESS_LIFESPAN_FUNC: 进程生命周期函数

源代码在GitHub上查看
python
def on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC:\n    self._before_process_shutdown_funcs.append(func)\n    return func

func on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

说明: 注册停止后的函数

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._after_shutdown_funcs.append(func)\n    return func

func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC

说明: 注册进程重启前的函数

参数:

返回: PROCESS_LIFESPAN_FUNC: 进程生命周期函数

源代码在GitHub上查看
python
def on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC:\n    self._before_process_restart_funcs.append(func)\n    return func

func on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

说明: 注册重启后的函数

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._after_restart_funcs.append(func)\n    return func

async func before_start(self) -> None

说明: 启动前钩子

源代码在GitHub上查看
python
async def before_start(self) -> None:\n    logger.debug('Running before_start functions')\n    await self.run_funcs(self._before_start_funcs)

async func after_start(self) -> None

说明: 启动后钩子

源代码在GitHub上查看
python
async def after_start(self) -> None:\n    logger.debug('Running after_start functions')\n    await self.run_funcs(self._after_start_funcs)

async func before_process_shutdown(self, *args, **kwargs) -> None

说明: 停止前钩子

源代码在GitHub上查看
python
async def before_process_shutdown(self, *args, **kwargs) -> None:\n    logger.debug('Running before_shutdown functions')\n    await self.run_funcs(self._before_process_shutdown_funcs, *args, **kwargs)

async func after_shutdown(self) -> None

说明: 停止后钩子 未实现

源代码在GitHub上查看
python
async def after_shutdown(self) -> None:\n    logger.debug('Running after_shutdown functions')\n    await self.run_funcs(self._after_shutdown_funcs)

async func before_process_restart(self, *args, **kwargs) -> None

说明: 重启前钩子

源代码在GitHub上查看
python
async def before_process_restart(self, *args, **kwargs) -> None:\n    logger.debug('Running before_restart functions')\n    await self.run_funcs(self._before_process_restart_funcs, *args, **kwargs)

async func after_restart(self) -> None

说明: 重启后钩子 未实现

源代码在GitHub上查看
python
async def after_restart(self) -> None:\n    logger.debug('Running after_restart functions')\n    await self.run_funcs(self._after_restart_funcs)
',79),l=[e];function h(p,r,k,o,c,d){return a(),i("div",null,l)}const u=s(t,[["render",h]]);export{E as __pageData,u as default}; diff --git a/assets/dev_api_bot_lifespan.md.DR2MDUz6.lean.js b/assets/dev_api_bot_lifespan.md.cXpYfBFa.lean.js similarity index 53% rename from assets/dev_api_bot_lifespan.md.DR2MDUz6.lean.js rename to assets/dev_api_bot_lifespan.md.cXpYfBFa.lean.js index ed88e7d1..739a31d3 100644 --- a/assets/dev_api_bot_lifespan.md.DR2MDUz6.lean.js +++ b/assets/dev_api_bot_lifespan.md.cXpYfBFa.lean.js @@ -1 +1 @@ -import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const u=JSON.parse('{"title":"liteyuki.bot.lifespan","description":"","frontmatter":{"title":"liteyuki.bot.lifespan"},"headers":[],"relativePath":"dev/api/bot/lifespan.md","filePath":"zh/dev/api/bot/lifespan.md","lastUpdated":null}'),t={name:"dev/api/bot/lifespan.md"},e=n("",79),l=[e];function p(h,k,r,o,c,d){return a(),i("div",null,l)}const E=s(t,[["render",p]]);export{u as __pageData,E as default}; +import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const E=JSON.parse('{"title":"liteyuki.bot.lifespan","description":"","frontmatter":{"title":"liteyuki.bot.lifespan"},"headers":[],"relativePath":"dev/api/bot/lifespan.md","filePath":"zh/dev/api/bot/lifespan.md","lastUpdated":null}'),t={name:"dev/api/bot/lifespan.md"},e=n("",79),l=[e];function h(p,r,k,o,c,d){return a(),i("div",null,l)}const u=s(t,[["render",h]]);export{E as __pageData,u as default}; diff --git a/assets/dev_api_comm_channel.md.B5pa646I.js b/assets/dev_api_comm_channel.md.Rby8KuoW.js similarity index 89% rename from assets/dev_api_comm_channel.md.B5pa646I.js rename to assets/dev_api_comm_channel.md.Rby8KuoW.js index f94b347d..9335d11b 100644 --- a/assets/dev_api_comm_channel.md.B5pa646I.js +++ b/assets/dev_api_comm_channel.md.Rby8KuoW.js @@ -1,10 +1,4 @@ -import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const o=JSON.parse('{"title":"liteyuki.comm.channel","description":"","frontmatter":{"title":"liteyuki.comm.channel"},"headers":[],"relativePath":"dev/api/comm/channel.md","filePath":"zh/dev/api/comm/channel.md","lastUpdated":null}'),l={name:"dev/api/comm/channel.md"},e=n(`

模块 liteyuki.comm.channel

本模块定义了一个通用的通道类,用于进程间通信

var SYNC_ON_RECEIVE_FUNC

  • 说明: 同步接收函数

  • 类型: TypeAlias

  • 默认值: Callable[[T], Any]

var ASYNC_ON_RECEIVE_FUNC

  • 说明: 异步接收函数

  • 类型: TypeAlias

  • 默认值: Callable[[T], Coroutine[Any, Any, Any]]

var ON_RECEIVE_FUNC

  • 说明: 接收函数

  • 类型: TypeAlias

  • 默认值: SYNC_ON_RECEIVE_FUNC | ASYNC_ON_RECEIVE_FUNC

var SYNC_FILTER_FUNC

  • 说明: 同步过滤函数

  • 类型: TypeAlias

  • 默认值: Callable[[T], bool]

var ASYNC_FILTER_FUNC

  • 说明: 异步过滤函数

  • 类型: TypeAlias

  • 默认值: Callable[[T], Coroutine[Any, Any, bool]]

var FILTER_FUNC

  • 说明: 过滤函数

  • 类型: TypeAlias

  • 默认值: SYNC_FILTER_FUNC | ASYNC_FILTER_FUNC

class Channel(Generic[T])

func __init__(self, name: str, type_check: Optional[bool] = None)

说明: 初始化通道

参数:

  • name: 通道ID
  • type_check: 是否开启类型检查, 若为空,则传入泛型默认开启,否则默认关闭
源代码在GitHub上查看
python
def __init__(self, name: str, type_check: Optional[bool]=None):
-    """
-        初始化通道
-        Args:
-            name: 通道ID
-            type_check: 是否开启类型检查, 若为空,则传入泛型默认开启,否则默认关闭
-        """
+import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const o=JSON.parse('{"title":"liteyuki.comm.channel","description":"","frontmatter":{"title":"liteyuki.comm.channel"},"headers":[],"relativePath":"dev/api/comm/channel.md","filePath":"zh/dev/api/comm/channel.md","lastUpdated":null}'),e={name:"dev/api/comm/channel.md"},l=n(`

模块 liteyuki.comm.channel

本模块定义了一个通用的通道类,用于进程间通信

var SYNC_ON_RECEIVE_FUNC

  • 说明: 同步接收函数

  • 类型: TypeAlias

  • 默认值: Callable[[T], Any]

var ASYNC_ON_RECEIVE_FUNC

  • 说明: 异步接收函数

  • 类型: TypeAlias

  • 默认值: Callable[[T], Coroutine[Any, Any, Any]]

var ON_RECEIVE_FUNC

  • 说明: 接收函数

  • 类型: TypeAlias

  • 默认值: SYNC_ON_RECEIVE_FUNC | ASYNC_ON_RECEIVE_FUNC

var SYNC_FILTER_FUNC

  • 说明: 同步过滤函数

  • 类型: TypeAlias

  • 默认值: Callable[[T], bool]

var ASYNC_FILTER_FUNC

  • 说明: 异步过滤函数

  • 类型: TypeAlias

  • 默认值: Callable[[T], Coroutine[Any, Any, bool]]

var FILTER_FUNC

  • 说明: 过滤函数

  • 类型: TypeAlias

  • 默认值: SYNC_FILTER_FUNC | ASYNC_FILTER_FUNC

class Channel(Generic[T])

func __init__(self, name: str, type_check: Optional[bool] = None)

说明: 初始化通道

参数:

  • name: 通道ID
  • type_check: 是否开启类型检查, 若为空,则传入泛型默认开启,否则默认关闭
源代码在GitHub上查看
python
def __init__(self, name: str, type_check: Optional[bool]=None):
     self.conn_send, self.conn_recv = Pipe()
     self._conn_send_inner, self._conn_recv_inner = Pipe()
     self._closed = False
@@ -27,11 +21,6 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const o
         logger.debug(f'Channel {name} initialized in main process')
     else:
         logger.debug(f'Channel {name} initialized in sub process, should manually set in main process')

func send(self, data: T)

说明: 发送数据,发送函数为同步函数,没有异步的必要

参数:

  • data (T): 数据
源代码在GitHub上查看
python
def send(self, data: T):
-    """
-        发送数据,发送函数为同步函数,没有异步的必要
-        Args:
-            data (T): 数据
-        """
     if self.type_check:
         _type = self._get_generic_type()
         if _type is not None and (not self._validate_structure(data, _type)):
@@ -39,31 +28,14 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const o
     if self._closed:
         raise RuntimeError('Cannot send to a closed channel_')
     self.conn_send.send(data)

func receive(self) -> T

说明: 同步接收数据,会阻塞线程

返回: T: 数据

源代码在GitHub上查看
python
def receive(self) -> T:
-    """
-        同步接收数据,会阻塞线程
-        Returns:
-            T: 数据
-        """
     if self._closed:
         raise RuntimeError('Cannot receive from a closed channel_')
     while True:
         data = self.conn_recv.recv()
         return data

async func async_receive(self) -> T

说明: 异步接收数据,会挂起等待

返回: T: 数据

源代码在GitHub上查看
python
async def async_receive(self) -> T:
-    """
-        异步接收数据,会挂起等待
-        Returns:
-            T: 数据
-        """
     loop = asyncio.get_running_loop()
     data = await loop.run_in_executor(None, self.receive)
     return data

func on_receive(self, filter_func: Optional[FILTER_FUNC] = None) -> Callable[[Callable[[T], Any]], Callable[[T], Any]]

说明: 接收数据并执行函数

参数:

返回: Callable[[Callable[[T], Any]], Callable[[T], Any]]: 装饰器

源代码在GitHub上查看
python
def on_receive(self, filter_func: Optional[FILTER_FUNC]=None) -> Callable[[Callable[[T], Any]], Callable[[T], Any]]:
-    """
-        接收数据并执行函数
-        Args:
-            filter_func ([\`Optional\`](https%3A//docs.python.org/3/library/typing.html#typing.Optional)[[\`FILTER_FUNC\`](#var-FILTER_FUNC)], optional): 过滤函数. Defaults to None.
-        Returns:
-            Callable[[Callable[[T], Any]], Callable[[T], Any]]: 装饰器
-        """
     if not IS_MAIN_PROCESS:
         raise RuntimeError('on_receive can only be used in main process')
 
@@ -89,12 +61,6 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const o
         _func_id += 1
         return func
     return decorator

var active_channel

  • 说明: 子进程可用的主动和被动通道

  • 类型: Channel

  • 默认值: Channel(name='active_channel')

var passive_channel

  • 说明: 被动通道

  • 类型: Channel

  • 默认值: Channel(name='passive_channel')

var publish_channel

  • 说明: 通道传递通道,主进程创建单例,子进程初始化时实例化

  • 类型: Channel[tuple[str, dict[str, Any]]]

  • 默认值: Channel(name='publish_channel')

var channel_deliver_active_channel

  • 说明: 通道传递通道,主进程创建单例,子进程初始化时实例化

  • 类型: Channel[Channel[Any]]

  • 默认值: NO_DEFAULT

var channel_deliver_passive_channel

  • 说明: 被动通道传递通道

  • 类型: Channel[tuple[str, dict[str, Any]]]

  • 默认值: NO_DEFAULT

func set_channel(name: str, channel: Channel)

说明: 设置通道实例

参数:

  • name (str): 通道名称
  • channel (Channel): 通道实例
源代码在GitHub上查看
python
def set_channel(name: str, channel: 'Channel'):
-    """
-    设置通道实例
-    Args:
-        name ([\`str\`](https%3A//docs.python.org/3/library/stdtypes.html#str)): 通道名称
-        channel ([\`Channel\`](#class-channel-generic-t)): 通道实例
-    """
     if not isinstance(channel, Channel):
         raise TypeError(f'channel_ must be an instance of Channel, {type(channel)} found')
     if IS_MAIN_PROCESS:
@@ -103,31 +69,14 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const o
         _channel[name] = channel
     else:
         channel_deliver_passive_channel.send(('set_channel', {'name': name, 'channel_': channel}))

func set_channels(channels: dict[str, Channel])

说明: 设置通道实例

参数:

源代码在GitHub上查看
python
def set_channels(channels: dict[str, 'Channel']):
-    """
-    设置通道实例
-    Args:
-        channels ([\`dict\`](https%3A//docs.python.org/3/library/stdtypes.html#dict)[[\`str\`](https%3A//docs.python.org/3/library/stdtypes.html#str), [\`Channel\`](#class-channel-generic-t)]): 通道实例
-    """
     for name, channel in channels.items():
         set_channel(name, channel)

func get_channel(name: str) -> Channel

说明: 获取通道实例

参数:

  • name (str): 通道名称

返回: Channel: 通道实例

源代码在GitHub上查看
python
def get_channel(name: str) -> 'Channel':
-    """
-    获取通道实例
-    Args:
-        name ([\`str\`](https%3A//docs.python.org/3/library/stdtypes.html#str)): 通道名称
-    Returns:
-        [\`Channel\`](#class-channel-generic-t): 通道实例
-    """
     if IS_MAIN_PROCESS:
         return _channel[name]
     else:
         recv_chan = Channel[Channel[Any]]('recv_chan')
         channel_deliver_passive_channel.send(('get_channel', {'name': name, 'recv_chan': recv_chan}))
         return recv_chan.receive()

func get_channels() -> dict[str, Channel]

说明: 获取通道实例们

返回: dict[str, Channel]: 通道实例

源代码在GitHub上查看
python
def get_channels() -> dict[str, 'Channel']:
-    """
-    获取通道实例们
-    Returns:
-        [\`dict\`](https%3A//docs.python.org/3/library/stdtypes.html#dict)[[\`str\`](https%3A//docs.python.org/3/library/stdtypes.html#str), [\`Channel\`](#class-channel-generic-t)]: 通道实例
-    """
     if IS_MAIN_PROCESS:
         return _channel
     else:
@@ -142,4 +91,4 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const o
     recv_chan.send(get_channel(name))

@channel_deliver_passive_channel.on_receive(filter_func=lambda data: data[0] == 'get_channels')

func on_get_channels(data: tuple[str, dict[str, Any]])

源代码在GitHub上查看
python
@channel_deliver_passive_channel.on_receive(filter_func=lambda data: data[0] == 'get_channels')
 def on_get_channels(data: tuple[str, dict[str, Any]]):
     recv_chan = data[1]['recv_chan']
-    recv_chan.send(get_channels())
`,82),t=[e];function h(p,k,r,d,c,E){return a(),i("div",null,t)}const y=s(l,[["render",h]]);export{o as __pageData,y as default}; + recv_chan.send(get_channels())
`,82),t=[l];function h(k,p,r,d,c,E){return a(),i("div",null,t)}const y=s(e,[["render",h]]);export{o as __pageData,y as default}; diff --git a/assets/dev_api_comm_channel.md.B5pa646I.lean.js b/assets/dev_api_comm_channel.md.Rby8KuoW.lean.js similarity index 59% rename from assets/dev_api_comm_channel.md.B5pa646I.lean.js rename to assets/dev_api_comm_channel.md.Rby8KuoW.lean.js index 8febbefc..b798d267 100644 --- a/assets/dev_api_comm_channel.md.B5pa646I.lean.js +++ b/assets/dev_api_comm_channel.md.Rby8KuoW.lean.js @@ -1 +1 @@ -import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const o=JSON.parse('{"title":"liteyuki.comm.channel","description":"","frontmatter":{"title":"liteyuki.comm.channel"},"headers":[],"relativePath":"dev/api/comm/channel.md","filePath":"zh/dev/api/comm/channel.md","lastUpdated":null}'),l={name:"dev/api/comm/channel.md"},e=n("",82),t=[e];function h(p,k,r,d,c,E){return a(),i("div",null,t)}const y=s(l,[["render",h]]);export{o as __pageData,y as default}; +import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const o=JSON.parse('{"title":"liteyuki.comm.channel","description":"","frontmatter":{"title":"liteyuki.comm.channel"},"headers":[],"relativePath":"dev/api/comm/channel.md","filePath":"zh/dev/api/comm/channel.md","lastUpdated":null}'),e={name:"dev/api/comm/channel.md"},l=n("",82),t=[l];function h(k,p,r,d,c,E){return a(),i("div",null,t)}const y=s(e,[["render",h]]);export{o as __pageData,y as default}; diff --git a/assets/dev_api_comm_rpc.md.BvyY4W2E.js b/assets/dev_api_comm_rpc.md.CATS97wW.js similarity index 80% rename from assets/dev_api_comm_rpc.md.BvyY4W2E.js rename to assets/dev_api_comm_rpc.md.CATS97wW.js index 3df5afcc..493ad3c9 100644 --- a/assets/dev_api_comm_rpc.md.BvyY4W2E.js +++ b/assets/dev_api_comm_rpc.md.CATS97wW.js @@ -1 +1 @@ -import{_ as s,c as i,o as a,a9 as t}from"./chunks/framework.C4_mTacX.js";const u=JSON.parse('{"title":"liteyuki.comm.rpc","description":"","frontmatter":{"title":"liteyuki.comm.rpc"},"headers":[],"relativePath":"dev/api/comm/rpc.md","filePath":"zh/dev/api/comm/rpc.md","lastUpdated":null}'),n={name:"dev/api/comm/rpc.md"},e=t('

模块 liteyuki.comm.rpc

本模块用于实现RPC(基于IPC)通信

class RPC

func __init__(self, on_calling: ON_CALLING_FUNC) -> None

源代码在GitHub上查看
python
def __init__(self, on_calling: ON_CALLING_FUNC) -> None:\n    self.on_calling = on_calling

func call(self, args: tuple, kwargs: dict) -> Any

说明: 调用

源代码在GitHub上查看
python
def call(self, args: tuple, kwargs: dict) -> Any:\n    """\n        调用\n        """\n    return self.on_calling(args, kwargs)
',8),l=[e];function p(h,c,r,o,k,d){return a(),i("div",null,l)}const m=s(n,[["render",p]]);export{u as __pageData,m as default}; +import{_ as s,c as i,o as a,a9 as t}from"./chunks/framework.C4_mTacX.js";const u=JSON.parse('{"title":"liteyuki.comm.rpc","description":"","frontmatter":{"title":"liteyuki.comm.rpc"},"headers":[],"relativePath":"dev/api/comm/rpc.md","filePath":"zh/dev/api/comm/rpc.md","lastUpdated":null}'),e={name:"dev/api/comm/rpc.md"},n=t('

模块 liteyuki.comm.rpc

本模块用于实现RPC(基于IPC)通信

class RPC

func __init__(self, on_calling: ON_CALLING_FUNC) -> None

源代码在GitHub上查看
python
def __init__(self, on_calling: ON_CALLING_FUNC) -> None:\n    self.on_calling = on_calling

func call(self, args: tuple, kwargs: dict) -> Any

说明: 调用

源代码在GitHub上查看
python
def call(self, args: tuple, kwargs: dict) -> Any:\n    return self.on_calling(args, kwargs)
',8),l=[n];function c(h,p,r,o,k,d){return a(),i("div",null,l)}const m=s(e,[["render",c]]);export{u as __pageData,m as default}; diff --git a/assets/dev_api_comm_rpc.md.BvyY4W2E.lean.js b/assets/dev_api_comm_rpc.md.CATS97wW.lean.js similarity index 57% rename from assets/dev_api_comm_rpc.md.BvyY4W2E.lean.js rename to assets/dev_api_comm_rpc.md.CATS97wW.lean.js index 01edef5d..bac12020 100644 --- a/assets/dev_api_comm_rpc.md.BvyY4W2E.lean.js +++ b/assets/dev_api_comm_rpc.md.CATS97wW.lean.js @@ -1 +1 @@ -import{_ as s,c as i,o as a,a9 as t}from"./chunks/framework.C4_mTacX.js";const u=JSON.parse('{"title":"liteyuki.comm.rpc","description":"","frontmatter":{"title":"liteyuki.comm.rpc"},"headers":[],"relativePath":"dev/api/comm/rpc.md","filePath":"zh/dev/api/comm/rpc.md","lastUpdated":null}'),n={name:"dev/api/comm/rpc.md"},e=t("",8),l=[e];function p(h,c,r,o,k,d){return a(),i("div",null,l)}const m=s(n,[["render",p]]);export{u as __pageData,m as default}; +import{_ as s,c as i,o as a,a9 as t}from"./chunks/framework.C4_mTacX.js";const u=JSON.parse('{"title":"liteyuki.comm.rpc","description":"","frontmatter":{"title":"liteyuki.comm.rpc"},"headers":[],"relativePath":"dev/api/comm/rpc.md","filePath":"zh/dev/api/comm/rpc.md","lastUpdated":null}'),e={name:"dev/api/comm/rpc.md"},n=t("",8),l=[n];function c(h,p,r,o,k,d){return a(),i("div",null,l)}const m=s(e,[["render",c]]);export{u as __pageData,m as default}; diff --git a/assets/dev_api_comm_socks_channel.md.C9HkfsuW.js b/assets/dev_api_comm_socks_channel.md.C9HkfsuW.js deleted file mode 100644 index 8cd7362b..00000000 --- a/assets/dev_api_comm_socks_channel.md.C9HkfsuW.js +++ /dev/null @@ -1,26 +0,0 @@ -import{_ as s,c as a,o as i,a9 as n}from"./chunks/framework.C4_mTacX.js";const g=JSON.parse('{"title":"liteyuki.comm.socks_channel","description":"","frontmatter":{"title":"liteyuki.comm.socks_channel"},"headers":[],"relativePath":"dev/api/comm/socks_channel.md","filePath":"zh/dev/api/comm/socks_channel.md","lastUpdated":null}'),e={name:"dev/api/comm/socks_channel.md"},t=n(`

模块 liteyuki.comm.socks_channel

基于socket的通道

class SocksChannel

func __init__(self, name: str)

说明: 初始化通道

参数:

  • name: 通道ID
源代码在GitHub上查看
python
def __init__(self, name: str):
-    """
-        初始化通道
-        Args:
-            name: 通道ID
-        """
-    self._name = name
-    self._conn_send = None
-    self._conn_recv = None
-    self._closed = False

func send(self, data)

说明: 发送数据

参数:

  • data: 数据
源代码在GitHub上查看
python
def send(self, data):
-    """
-        发送数据
-        Args:
-            data: 数据
-        """
-    pass

func receive(self)

说明: 接收数据

返回: data: 数据

源代码在GitHub上查看
python
def receive(self):
-    """
-        接收数据
-        Returns:
-            data: 数据
-        """
-    pass

func close(self)

说明: 关闭通道

源代码在GitHub上查看
python
def close(self):
-    """
-        关闭通道
-        """
-    pass
`,20),l=[t];function h(p,k,o,c,r,d){return i(),a("div",null,l)}const y=s(e,[["render",h]]);export{g as __pageData,y as default}; diff --git a/assets/dev_api_comm_socks_channel.md.DowR8ySw.js b/assets/dev_api_comm_socks_channel.md.DowR8ySw.js new file mode 100644 index 00000000..96ff0e67 --- /dev/null +++ b/assets/dev_api_comm_socks_channel.md.DowR8ySw.js @@ -0,0 +1 @@ +import{_ as s,c as a,o as i,a9 as e}from"./chunks/framework.C4_mTacX.js";const g=JSON.parse('{"title":"liteyuki.comm.socks_channel","description":"","frontmatter":{"title":"liteyuki.comm.socks_channel"},"headers":[],"relativePath":"dev/api/comm/socks_channel.md","filePath":"zh/dev/api/comm/socks_channel.md","lastUpdated":null}'),t={name:"dev/api/comm/socks_channel.md"},n=e('

模块 liteyuki.comm.socks_channel

基于socket的通道

class SocksChannel

func __init__(self, name: str)

说明: 初始化通道

参数:

  • name: 通道ID
源代码在GitHub上查看
python
def __init__(self, name: str):\n    self._name = name\n    self._conn_send = None\n    self._conn_recv = None\n    self._closed = False

func send(self, data)

说明: 发送数据

参数:

  • data: 数据
源代码在GitHub上查看
python
def send(self, data):\n    pass

func receive(self)

说明: 接收数据

返回: data: 数据

源代码在GitHub上查看
python
def receive(self):\n    pass

func close(self)

说明: 关闭通道

源代码在GitHub上查看
python
def close(self):\n    pass
',20),l=[n];function h(o,c,p,k,r,d){return i(),a("div",null,l)}const m=s(t,[["render",h]]);export{g as __pageData,m as default}; diff --git a/assets/dev_api_comm_socks_channel.md.C9HkfsuW.lean.js b/assets/dev_api_comm_socks_channel.md.DowR8ySw.lean.js similarity index 50% rename from assets/dev_api_comm_socks_channel.md.C9HkfsuW.lean.js rename to assets/dev_api_comm_socks_channel.md.DowR8ySw.lean.js index ae652626..f7ac4d77 100644 --- a/assets/dev_api_comm_socks_channel.md.C9HkfsuW.lean.js +++ b/assets/dev_api_comm_socks_channel.md.DowR8ySw.lean.js @@ -1 +1 @@ -import{_ as s,c as a,o as i,a9 as n}from"./chunks/framework.C4_mTacX.js";const g=JSON.parse('{"title":"liteyuki.comm.socks_channel","description":"","frontmatter":{"title":"liteyuki.comm.socks_channel"},"headers":[],"relativePath":"dev/api/comm/socks_channel.md","filePath":"zh/dev/api/comm/socks_channel.md","lastUpdated":null}'),e={name:"dev/api/comm/socks_channel.md"},t=n("",20),l=[t];function h(p,k,o,c,r,d){return i(),a("div",null,l)}const y=s(e,[["render",h]]);export{g as __pageData,y as default}; +import{_ as s,c as a,o as i,a9 as e}from"./chunks/framework.C4_mTacX.js";const g=JSON.parse('{"title":"liteyuki.comm.socks_channel","description":"","frontmatter":{"title":"liteyuki.comm.socks_channel"},"headers":[],"relativePath":"dev/api/comm/socks_channel.md","filePath":"zh/dev/api/comm/socks_channel.md","lastUpdated":null}'),t={name:"dev/api/comm/socks_channel.md"},n=e("",20),l=[n];function h(o,c,p,k,r,d){return i(),a("div",null,l)}const m=s(t,[["render",h]]);export{g as __pageData,m as default}; diff --git a/assets/dev_api_comm_storage.md.azZ6WC8l.js b/assets/dev_api_comm_storage.md.BTq8RCp9.js similarity index 89% rename from assets/dev_api_comm_storage.md.azZ6WC8l.js rename to assets/dev_api_comm_storage.md.BTq8RCp9.js index 491e3def..bd3e1a50 100644 --- a/assets/dev_api_comm_storage.md.azZ6WC8l.js +++ b/assets/dev_api_comm_storage.md.BTq8RCp9.js @@ -1,32 +1,16 @@ -import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const c=JSON.parse('{"title":"liteyuki.comm.storage","description":"","frontmatter":{"title":"liteyuki.comm.storage"},"headers":[],"relativePath":"dev/api/comm/storage.md","filePath":"zh/dev/api/comm/storage.md","lastUpdated":null}'),t={name:"dev/api/comm/storage.md"},e=n(`

模块 liteyuki.comm.storage

共享内存模块。类似于redis,但是更加轻量级并且线程安全

var _on_main_subscriber_receive_funcs

  • 说明: 主进程订阅者接收函数

  • 类型: dict[str, list[ASYNC_ON_RECEIVE_FUNC]]

  • 默认值: {}

var _on_sub_subscriber_receive_funcs

  • 说明: 子进程订阅者接收函数

  • 类型: dict[str, list[ASYNC_ON_RECEIVE_FUNC]]

  • 默认值: {}

class KeyValueStore

func __init__(self)

源代码在GitHub上查看
python
def __init__(self):
+import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const y=JSON.parse('{"title":"liteyuki.comm.storage","description":"","frontmatter":{"title":"liteyuki.comm.storage"},"headers":[],"relativePath":"dev/api/comm/storage.md","filePath":"zh/dev/api/comm/storage.md","lastUpdated":null}'),t={name:"dev/api/comm/storage.md"},e=n(`

模块 liteyuki.comm.storage

共享内存模块。类似于redis,但是更加轻量级并且线程安全

var _on_main_subscriber_receive_funcs

  • 说明: 主进程订阅者接收函数

  • 类型: dict[str, list[ASYNC_ON_RECEIVE_FUNC]]

  • 默认值: {}

var _on_sub_subscriber_receive_funcs

  • 说明: 子进程订阅者接收函数

  • 类型: dict[str, list[ASYNC_ON_RECEIVE_FUNC]]

  • 默认值: {}

class KeyValueStore

func __init__(self)

源代码在GitHub上查看
python
def __init__(self):
     self._store = {}
     self.active_chan = Channel[tuple[str, Optional[dict[str, Any]]]](name='shared_memory-active')
     self.passive_chan = Channel[tuple[str, Optional[dict[str, Any]]]](name='shared_memory-passive')
     self.publish_channel = Channel[tuple[str, Any]](name='shared_memory-publish')
     self.is_main_receive_loop_running = False
     self.is_sub_receive_loop_running = False

func set(self, key: str, value: Any) -> None

说明: 设置键值对

参数:

  • key: 键
  • value: 值
源代码在GitHub上查看
python
def set(self, key: str, value: Any) -> None:
-    """
-        设置键值对
-        Args:
-            key: 键
-            value: 值
-
-        """
     if IS_MAIN_PROCESS:
         lock = _get_lock(key)
         with lock:
             self._store[key] = value
     else:
         self.passive_chan.send(('set', {'key': key, 'value': value}))

func get(self, key: str, default: Optional[Any] = None) -> Optional[Any]

说明: 获取键值对

参数:

  • key: 键
  • default: 默认值

返回: Any: 值

源代码在GitHub上查看
python
def get(self, key: str, default: Optional[Any]=None) -> Optional[Any]:
-    """
-        获取键值对
-        Args:
-            key: 键
-            default: 默认值
-
-        Returns:
-            Any: 值
-        """
     if IS_MAIN_PROCESS:
         lock = _get_lock(key)
         with lock:
@@ -35,14 +19,6 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const c
         recv_chan = Channel[Optional[Any]]('recv_chan')
         self.passive_chan.send(('get', {'key': key, 'default': default, 'recv_chan': recv_chan}))
         return recv_chan.receive()

func delete(self, key: str, ignore_key_error: bool = True) -> None

说明: 删除键值对

参数:

  • key: 键
  • ignore_key_error: 是否忽略键不存在的错误
源代码在GitHub上查看
python
def delete(self, key: str, ignore_key_error: bool=True) -> None:
-    """
-        删除键值对
-        Args:
-            key: 键
-            ignore_key_error: 是否忽略键不存在的错误
-
-        Returns:
-        """
     if IS_MAIN_PROCESS:
         lock = _get_lock(key)
         with lock:
@@ -55,34 +31,13 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const c
                         raise e
     else:
         self.passive_chan.send(('delete', {'key': key}))

func get_all(self) -> dict[str, Any]

说明: 获取所有键值对

返回: dict[str, Any]: 键值对

源代码在GitHub上查看
python
def get_all(self) -> dict[str, Any]:
-    """
-        获取所有键值对
-        Returns:
-            dict[str, Any]: 键值对
-        """
     if IS_MAIN_PROCESS:
         return self._store
     else:
         recv_chan = Channel[dict[str, Any]]('recv_chan')
         self.passive_chan.send(('get_all', {'recv_chan': recv_chan}))
         return recv_chan.receive()

func publish(self, channel_: str, data: Any) -> None

说明: 发布消息

参数:

  • channel_: 频道
  • data: 数据
源代码在GitHub上查看
python
def publish(self, channel_: str, data: Any) -> None:
-    """
-        发布消息
-        Args:
-            channel_: 频道
-            data: 数据
-
-        Returns:
-        """
     self.active_chan.send(('publish', {'channel': channel_, 'data': data}))

func on_subscriber_receive(self, channel_: str) -> Callable[[ON_RECEIVE_FUNC], ON_RECEIVE_FUNC]

说明: 订阅者接收消息时的回调

参数:

  • channel_: 频道

返回: 装饰器

源代码在GitHub上查看
python
def on_subscriber_receive(self, channel_: str) -> Callable[[ON_RECEIVE_FUNC], ON_RECEIVE_FUNC]:
-    """
-        订阅者接收消息时的回调
-        Args:
-            channel_: 频道
-
-        Returns:
-            装饰器
-        """
     if not IS_MAIN_PROCESS:
         raise RuntimeError('Cannot subscribe in sub process.')
 
@@ -104,16 +59,7 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const c
         return wrapper
     return decorator

@staticmethod

async func run_subscriber_receive_funcs(channel_: str, data: Any)

说明: 运行订阅者接收函数

参数:

  • channel_: 频道
  • data: 数据
源代码在GitHub上查看
python
@staticmethod
 async def run_subscriber_receive_funcs(channel_: str, data: Any):
-    """
-        运行订阅者接收函数
-        Args:
-            channel_: 频道
-            data: 数据
-        """
     [asyncio.create_task(func(data)) for func in _on_main_subscriber_receive_funcs[channel_]]

async func start_receive_loop(self)

说明: 启动发布订阅接收器循环,在主进程中运行,若有子进程订阅则推送给子进程

源代码在GitHub上查看
python
async def start_receive_loop(self):
-    """
-        启动发布订阅接收器循环,在主进程中运行,若有子进程订阅则推送给子进程
-        """
     if not IS_MAIN_PROCESS:
         raise RuntimeError('Cannot start receive loop in sub process.')
     while True:
@@ -141,4 +87,4 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const c
     shared_memory.delete(key)

@shared_memory.passive_chan.on_receive(lambda d: d[0] == 'get_all')

func on_get_all(data: tuple[str, dict[str, Any]])

源代码在GitHub上查看
python
@shared_memory.passive_chan.on_receive(lambda d: d[0] == 'get_all')
 def on_get_all(data: tuple[str, dict[str, Any]]):
     recv_chan = data[1]['recv_chan']
-    recv_chan.send(shared_memory.get_all())
`,71),l=[e];function h(k,p,r,d,E,g){return a(),i("div",null,l)}const o=s(t,[["render",h]]);export{c as __pageData,o as default}; + recv_chan.send(shared_memory.get_all())
`,71),l=[e];function h(k,p,r,d,E,g){return a(),i("div",null,l)}const c=s(t,[["render",h]]);export{y as __pageData,c as default}; diff --git a/assets/dev_api_comm_storage.md.azZ6WC8l.lean.js b/assets/dev_api_comm_storage.md.BTq8RCp9.lean.js similarity index 67% rename from assets/dev_api_comm_storage.md.azZ6WC8l.lean.js rename to assets/dev_api_comm_storage.md.BTq8RCp9.lean.js index 588ee572..ab9c9915 100644 --- a/assets/dev_api_comm_storage.md.azZ6WC8l.lean.js +++ b/assets/dev_api_comm_storage.md.BTq8RCp9.lean.js @@ -1 +1 @@ -import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const c=JSON.parse('{"title":"liteyuki.comm.storage","description":"","frontmatter":{"title":"liteyuki.comm.storage"},"headers":[],"relativePath":"dev/api/comm/storage.md","filePath":"zh/dev/api/comm/storage.md","lastUpdated":null}'),t={name:"dev/api/comm/storage.md"},e=n("",71),l=[e];function h(k,p,r,d,E,g){return a(),i("div",null,l)}const o=s(t,[["render",h]]);export{c as __pageData,o as default}; +import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const y=JSON.parse('{"title":"liteyuki.comm.storage","description":"","frontmatter":{"title":"liteyuki.comm.storage"},"headers":[],"relativePath":"dev/api/comm/storage.md","filePath":"zh/dev/api/comm/storage.md","lastUpdated":null}'),t={name:"dev/api/comm/storage.md"},e=n("",71),l=[e];function h(k,p,r,d,E,g){return a(),i("div",null,l)}const c=s(t,[["render",h]]);export{y as __pageData,c as default}; diff --git a/assets/dev_api_config.md.Dvcq1UWB.js b/assets/dev_api_config.md.DBrWZGxB.js similarity index 87% rename from assets/dev_api_config.md.Dvcq1UWB.js rename to assets/dev_api_config.md.DBrWZGxB.js index 7e3be38a..004c7079 100644 --- a/assets/dev_api_config.md.Dvcq1UWB.js +++ b/assets/dev_api_config.md.DBrWZGxB.js @@ -1,43 +1,19 @@ -import{_ as i,c as a,o as n,a9 as s,j as t}from"./chunks/framework.C4_mTacX.js";const f=JSON.parse('{"title":"liteyuki.config","description":"","frontmatter":{"title":"liteyuki.config"},"headers":[],"relativePath":"dev/api/config.md","filePath":"zh/dev/api/config.md","lastUpdated":null}'),l={name:"dev/api/config.md"},h=s('

模块 liteyuki.config

该模块用于常用配置文件的加载 多配置文件编写原则:

  1. 尽量不要冲突: 一个键不要多次出现
  2. 分工明确: 每个配置文件给一个或一类服务提供配置
  3. 扁平化编写: 配置文件尽量扁平化,不要出现过多的嵌套
  4. 注意冲突时的优先级: 项目目录下的配置文件优先级高于config目录下的配置文件
  5. 请不要将需要动态加载的内容写入配置文件,你应该使用其他储存方式

func flat_config(config: dict[str, Any]) -> dict[str, Any]

说明: 扁平化配置文件

',5),k=t("p",{"a.b.c:":"",1:""},"{a:{b:{c:1}}} ->",-1),p=s(`

参数:

  • config: 配置项目

返回: 扁平化后的配置文件,但也包含原有的键值对

源代码在GitHub上查看
python
def flat_config(config: dict[str, Any]) -> dict[str, Any]:
-    """
-    扁平化配置文件
-
-    {a:{b:{c:1}}} -> {"a.b.c": 1}
-    Args:
-        config: 配置项目
-
-    Returns:
-        扁平化后的配置文件,但也包含原有的键值对
-    """
+import{_ as s,c as a,o as n,a9 as i,j as t}from"./chunks/framework.C4_mTacX.js";const f=JSON.parse('{"title":"liteyuki.config","description":"","frontmatter":{"title":"liteyuki.config"},"headers":[],"relativePath":"dev/api/config.md","filePath":"zh/dev/api/config.md","lastUpdated":null}'),h={name:"dev/api/config.md"},l=i('

模块 liteyuki.config

该模块用于常用配置文件的加载 多配置文件编写原则:

  1. 尽量不要冲突: 一个键不要多次出现
  2. 分工明确: 每个配置文件给一个或一类服务提供配置
  3. 扁平化编写: 配置文件尽量扁平化,不要出现过多的嵌套
  4. 注意冲突时的优先级: 项目目录下的配置文件优先级高于config目录下的配置文件
  5. 请不要将需要动态加载的内容写入配置文件,你应该使用其他储存方式

func flat_config(config: dict[str, Any]) -> dict[str, Any]

说明: 扁平化配置文件

',5),k=t("p",{"a.b.c:":"",1:""},"{a:{b:{c:1}}} ->",-1),p=i(`

参数:

  • config: 配置项目

返回: 扁平化后的配置文件,但也包含原有的键值对

源代码在GitHub上查看
python
def flat_config(config: dict[str, Any]) -> dict[str, Any]:
     new_config = copy.deepcopy(config)
     for key, value in config.items():
         if isinstance(value, dict):
             for k, v in flat_config(value).items():
                 new_config[f'{key}.{k}'] = v
     return new_config

func load_from_yaml(file_: str) -> dict[str, Any]

说明: Load config from yaml file

源代码在GitHub上查看
python
def load_from_yaml(file_: str) -> dict[str, Any]:
-    """
-    Load config from yaml file
-
-    """
     logger.debug(f'Loading YAML config from {file_}')
     config = yaml.safe_load(open(file_, 'r', encoding='utf-8'))
     return flat_config(config if config is not None else {})

func load_from_json(file_: str) -> dict[str, Any]

说明: Load config from json file

源代码在GitHub上查看
python
def load_from_json(file_: str) -> dict[str, Any]:
-    """
-    Load config from json file
-    """
     logger.debug(f'Loading JSON config from {file_}')
     config = json.load(open(file_, 'r', encoding='utf-8'))
     return flat_config(config if config is not None else {})

func load_from_toml(file_: str) -> dict[str, Any]

说明: Load config from toml file

源代码在GitHub上查看
python
def load_from_toml(file_: str) -> dict[str, Any]:
-    """
-    Load config from toml file
-    """
     logger.debug(f'Loading TOML config from {file_}')
     config = toml.load(open(file_, 'r', encoding='utf-8'))
     return flat_config(config if config is not None else {})

func load_from_files(*files: str, *, no_warning: bool = False) -> dict[str, Any]

说明: 从指定文件加载配置项,会自动识别文件格式 默认执行扁平化选项

源代码在GitHub上查看
python
def load_from_files(*files: str, no_warning: bool=False) -> dict[str, Any]:
-    """
-    从指定文件加载配置项,会自动识别文件格式
-    默认执行扁平化选项
-    """
     config = {}
     for file in files:
         if os.path.exists(file):
@@ -52,11 +28,6 @@ import{_ as i,c as a,o as n,a9 as s,j as t}from"./chunks/framework.C4_mTacX.js";
         elif not no_warning:
             logger.warning(f'Config file not found: {file}')
     return config

func load_configs_from_dirs(*directories: str, *, no_waring: bool = False) -> dict[str, Any]

说明: 从目录下加载配置文件,不递归 按照读取文件的优先级反向覆盖 默认执行扁平化选项

源代码在GitHub上查看
python
def load_configs_from_dirs(*directories: str, no_waring: bool=False) -> dict[str, Any]:
-    """
-    从目录下加载配置文件,不递归
-    按照读取文件的优先级反向覆盖
-    默认执行扁平化选项
-    """
     config = {}
     for directory in directories:
         if not os.path.exists(directory):
@@ -67,11 +38,6 @@ import{_ as i,c as a,o as n,a9 as s,j as t}from"./chunks/framework.C4_mTacX.js";
             if file.endswith(_SUPPORTED_CONFIG_FORMATS):
                 config.update(load_from_files(os.path.join(directory, file), no_warning=no_waring))
     return config

func load_config_in_default(no_waring: bool = False) -> dict[str, Any]

说明: 从一个标准的轻雪项目加载配置文件 项目目录下的config.*和config目录下的所有配置文件 项目目录下的配置文件优先

源代码在GitHub上查看
python
def load_config_in_default(no_waring: bool=False) -> dict[str, Any]:
-    """
-    从一个标准的轻雪项目加载配置文件
-    项目目录下的config.*和config目录下的所有配置文件
-    项目目录下的配置文件优先
-    """
     config = load_configs_from_dirs('config', no_waring=no_waring)
     config.update(load_from_files('config.yaml', 'config.toml', 'config.json', 'config.yml', no_warning=no_waring))
-    return config
`,22),e=[h,k,p];function r(d,g,E,o,y,F){return n(),a("div",null,e)}const u=i(l,[["render",r]]);export{f as __pageData,u as default}; + return config
`,22),e=[l,k,p];function r(d,E,g,o,y,c){return n(),a("div",null,e)}const u=s(h,[["render",r]]);export{f as __pageData,u as default}; diff --git a/assets/dev_api_config.md.DBrWZGxB.lean.js b/assets/dev_api_config.md.DBrWZGxB.lean.js new file mode 100644 index 00000000..d0ca2b1a --- /dev/null +++ b/assets/dev_api_config.md.DBrWZGxB.lean.js @@ -0,0 +1 @@ +import{_ as s,c as a,o as n,a9 as i,j as t}from"./chunks/framework.C4_mTacX.js";const f=JSON.parse('{"title":"liteyuki.config","description":"","frontmatter":{"title":"liteyuki.config"},"headers":[],"relativePath":"dev/api/config.md","filePath":"zh/dev/api/config.md","lastUpdated":null}'),h={name:"dev/api/config.md"},l=i("",5),k=t("p",{"a.b.c:":"",1:""},"{a:{b:{c:1}}} ->",-1),p=i("",22),e=[l,k,p];function r(d,E,g,o,y,c){return n(),a("div",null,e)}const u=s(h,[["render",r]]);export{f as __pageData,u as default}; diff --git a/assets/dev_api_config.md.Dvcq1UWB.lean.js b/assets/dev_api_config.md.Dvcq1UWB.lean.js deleted file mode 100644 index 0b1fff78..00000000 --- a/assets/dev_api_config.md.Dvcq1UWB.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as i,c as a,o as n,a9 as s,j as t}from"./chunks/framework.C4_mTacX.js";const f=JSON.parse('{"title":"liteyuki.config","description":"","frontmatter":{"title":"liteyuki.config"},"headers":[],"relativePath":"dev/api/config.md","filePath":"zh/dev/api/config.md","lastUpdated":null}'),l={name:"dev/api/config.md"},h=s("",5),k=t("p",{"a.b.c:":"",1:""},"{a:{b:{c:1}}} ->",-1),p=s("",22),e=[h,k,p];function r(d,g,E,o,y,F){return n(),a("div",null,e)}const u=i(l,[["render",r]]);export{f as __pageData,u as default}; diff --git a/assets/dev_api_core_manager.md.CYk6oifO.js b/assets/dev_api_core_manager.md.CEfbZ5pK.js similarity index 89% rename from assets/dev_api_core_manager.md.CYk6oifO.js rename to assets/dev_api_core_manager.md.CEfbZ5pK.js index 98a86320..29b4d464 100644 --- a/assets/dev_api_core_manager.md.CYk6oifO.js +++ b/assets/dev_api_core_manager.md.CEfbZ5pK.js @@ -1,4 +1,4 @@ -import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const y=JSON.parse('{"title":"liteyuki.core.manager","description":"","frontmatter":{"title":"liteyuki.core.manager"},"headers":[],"relativePath":"dev/api/core/manager.md","filePath":"zh/dev/api/core/manager.md","lastUpdated":null}'),e={name:"dev/api/core/manager.md"},t=n(`

模块 liteyuki.core.manager

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/27 上午11:12 @Author : snowykami @Email : snowykami@outlook.com @File : manager.py @Software: PyCharm

class ChannelDeliver

func __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]])

源代码在GitHub上查看
python
def __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]]):
+import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const c=JSON.parse('{"title":"liteyuki.core.manager","description":"","frontmatter":{"title":"liteyuki.core.manager"},"headers":[],"relativePath":"dev/api/core/manager.md","filePath":"zh/dev/api/core/manager.md","lastUpdated":null}'),e={name:"dev/api/core/manager.md"},t=n(`

模块 liteyuki.core.manager

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/27 上午11:12 @Author : snowykami @Email : snowykami@outlook.com @File : manager.py @Software: PyCharm

class ChannelDeliver

func __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]])

源代码在GitHub上查看
python
def __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]]):
     self.active = active
     self.passive = passive
     self.channel_deliver_active = channel_deliver_active
@@ -7,20 +7,9 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const y
     self.lifespan = lifespan
     self.targets: dict[str, tuple[Callable, tuple, dict]] = {}
     self.processes: dict[str, Process] = {}

func start_all(self)

说明: 对外启动方法,启动所有进程,创建asyncio task

源代码在GitHub上查看
python
def start_all(self):
-    """
-        对外启动方法,启动所有进程,创建asyncio task
-        """
     for name in self.targets:
         logger.debug(f'Starting process {name}')
         threading.Thread(target=self._run_process, args=(name,), daemon=True).start()

func add_target(self, name: str, target: TARGET_FUNC, args: tuple = (), kwargs = None)

说明: 添加进程

参数:

  • name: 进程名,用于获取和唯一标识
  • target: 进程函数
  • args: 进程函数参数
  • kwargs: 进程函数关键字参数,通常会默认传入chan_active和chan_passive
源代码在GitHub上查看
python
def add_target(self, name: str, target: TARGET_FUNC, args: tuple=(), kwargs=None):
-    """
-        添加进程
-        Args:
-            name: 进程名,用于获取和唯一标识
-            target: 进程函数
-            args: 进程函数参数
-            kwargs: 进程函数关键字参数,通常会默认传入chan_active和chan_passive
-        """
     if kwargs is None:
         kwargs = {}
     chan_active: Channel = Channel(name=f'{name}-active')
@@ -29,14 +18,6 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const y
     self.targets[name] = (_delivery_channel_wrapper, (target, channel_deliver, shared_memory, *args), kwargs)

func join_all(self)

源代码在GitHub上查看
python
def join_all(self):
     for name, process in self.targets:
         process.join()

func terminate(self, name: str)

说明: 终止进程并从进程字典中删除

参数:

  • name:
源代码在GitHub上查看
python
def terminate(self, name: str):
-    """
-        终止进程并从进程字典中删除
-        Args:
-            name:
-
-        Returns:
-
-        """
     if name not in self.processes:
         logger.warning(f'Process {name} not found.')
         return
@@ -48,14 +29,6 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const y
     logger.success(f'Process {name} terminated.')

func terminate_all(self)

源代码在GitHub上查看
python
def terminate_all(self):
     for name in self.targets:
         self.terminate(name)

func is_process_alive(self, name: str) -> bool

说明: 检查进程是否存活

参数:

  • name:
源代码在GitHub上查看
python
def is_process_alive(self, name: str) -> bool:
-    """
-        检查进程是否存活
-        Args:
-            name:
-
-        Returns:
-
-        """
     if name not in self.targets:
         logger.warning(f'Process {name} not found.')
-    return self.processes[name].is_alive()
`,31),l=[t];function h(k,p,r,d,g,E){return a(),i("div",null,l)}const o=s(e,[["render",h]]);export{y as __pageData,o as default}; + return self.processes[name].is_alive()
`,31),l=[t];function h(k,p,r,d,E,g){return a(),i("div",null,l)}const o=s(e,[["render",h]]);export{c as __pageData,o as default}; diff --git a/assets/dev_api_core_manager.md.CYk6oifO.lean.js b/assets/dev_api_core_manager.md.CEfbZ5pK.lean.js similarity index 59% rename from assets/dev_api_core_manager.md.CYk6oifO.lean.js rename to assets/dev_api_core_manager.md.CEfbZ5pK.lean.js index 58923524..34e7b79e 100644 --- a/assets/dev_api_core_manager.md.CYk6oifO.lean.js +++ b/assets/dev_api_core_manager.md.CEfbZ5pK.lean.js @@ -1 +1 @@ -import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const y=JSON.parse('{"title":"liteyuki.core.manager","description":"","frontmatter":{"title":"liteyuki.core.manager"},"headers":[],"relativePath":"dev/api/core/manager.md","filePath":"zh/dev/api/core/manager.md","lastUpdated":null}'),e={name:"dev/api/core/manager.md"},t=n("",31),l=[t];function h(k,p,r,d,g,E){return a(),i("div",null,l)}const o=s(e,[["render",h]]);export{y as __pageData,o as default}; +import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const c=JSON.parse('{"title":"liteyuki.core.manager","description":"","frontmatter":{"title":"liteyuki.core.manager"},"headers":[],"relativePath":"dev/api/core/manager.md","filePath":"zh/dev/api/core/manager.md","lastUpdated":null}'),e={name:"dev/api/core/manager.md"},t=n("",31),l=[t];function h(k,p,r,d,E,g){return a(),i("div",null,l)}const o=s(e,[["render",h]]);export{c as __pageData,o as default}; diff --git a/assets/dev_api_dev_observer.md.r5tZ34Ke.js b/assets/dev_api_dev_observer.md.1UR7dS3y.js similarity index 91% rename from assets/dev_api_dev_observer.md.r5tZ34Ke.js rename to assets/dev_api_dev_observer.md.1UR7dS3y.js index 4d22693b..3308cfbe 100644 --- a/assets/dev_api_dev_observer.md.r5tZ34Ke.js +++ b/assets/dev_api_dev_observer.md.1UR7dS3y.js @@ -1,7 +1,4 @@ -import{_ as s,c as i,o as a,a9 as e}from"./chunks/framework.C4_mTacX.js";const g=JSON.parse('{"title":"liteyuki.dev.observer","description":"","frontmatter":{"title":"liteyuki.dev.observer"},"headers":[],"relativePath":"dev/api/dev/observer.md","filePath":"zh/dev/api/dev/observer.md","lastUpdated":null}'),n={name:"dev/api/dev/observer.md"},t=e(`

模块 liteyuki.dev.observer

此模块用于注册观察者函数,使用watchdog监控文件变化并重启bot 启用该模块需要在配置文件中设置dev_mode为True

var CALLBACK_FUNC

  • 说明: 位置1为FileSystemEvent

  • 类型: TypeAlias

  • 默认值: Callable[[FileSystemEvent], None]

var FILTER_FUNC

  • 说明: 位置1为FileSystemEvent

  • 类型: TypeAlias

  • 默认值: Callable[[FileSystemEvent], bool]

func debounce(wait)

说明: 防抖函数

源代码在GitHub上查看
python
def debounce(wait):
-    """
-    防抖函数
-    """
+import{_ as s,c as i,o as e,a9 as a}from"./chunks/framework.C4_mTacX.js";const g=JSON.parse('{"title":"liteyuki.dev.observer","description":"","frontmatter":{"title":"liteyuki.dev.observer"},"headers":[],"relativePath":"dev/api/dev/observer.md","filePath":"zh/dev/api/dev/observer.md","lastUpdated":null}'),n={name:"dev/api/dev/observer.md"},t=a(`

模块 liteyuki.dev.observer

此模块用于注册观察者函数,使用watchdog监控文件变化并重启bot 启用该模块需要在配置文件中设置dev_mode为True

var CALLBACK_FUNC

  • 说明: 位置1为FileSystemEvent

  • 类型: TypeAlias

  • 默认值: Callable[[FileSystemEvent], None]

var FILTER_FUNC

  • 说明: 位置1为FileSystemEvent

  • 类型: TypeAlias

  • 默认值: Callable[[FileSystemEvent], bool]

func debounce(wait)

说明: 防抖函数

源代码在GitHub上查看
python
def debounce(wait):
 
     def decorator(func):
 
@@ -20,15 +17,6 @@ import{_ as s,c as i,o as a,a9 as e}from"./chunks/framework.C4_mTacX.js";const g
     self.on_modified(event)

func on_moved(self, event)

源代码在GitHub上查看
python
def on_moved(self, event):
     self.on_modified(event)

func on_any_event(self, event)

源代码在GitHub上查看
python
def on_any_event(self, event):
     self.on_modified(event)

func on_file_system_event(directories: tuple[str], recursive: bool = True, event_filter: FILTER_FUNC = None) -> Callable[[CALLBACK_FUNC], CALLBACK_FUNC]

说明: 注册文件系统变化监听器

参数:

  • directories: 监听目录们
  • recursive: 是否递归监听子目录
  • event_filter: 事件过滤器, 返回True则执行回调函数

返回: 装饰器,装饰一个函数在接收到数据后执行

源代码在GitHub上查看
python
def on_file_system_event(directories: tuple[str], recursive: bool=True, event_filter: FILTER_FUNC=None) -> Callable[[CALLBACK_FUNC], CALLBACK_FUNC]:
-    """
-    注册文件系统变化监听器
-    Args:
-        directories: 监听目录们
-        recursive: 是否递归监听子目录
-        event_filter: 事件过滤器, 返回True则执行回调函数
-    Returns:
-        装饰器,装饰一个函数在接收到数据后执行
-    """
 
     def decorator(func: CALLBACK_FUNC) -> CALLBACK_FUNC:
 
@@ -41,4 +29,4 @@ import{_ as s,c as i,o as a,a9 as e}from"./chunks/framework.C4_mTacX.js";const g
         for directory in directories:
             observer.schedule(code_modified_handler, directory, recursive=recursive)
         return func
-    return decorator
`,27),l=[t];function h(p,k,r,d,o,c){return a(),i("div",null,l)}const y=s(n,[["render",h]]);export{g as __pageData,y as default}; + return decorator
`,27),l=[t];function h(p,k,r,d,o,c){return e(),i("div",null,l)}const y=s(n,[["render",h]]);export{g as __pageData,y as default}; diff --git a/assets/dev_api_dev_observer.md.r5tZ34Ke.lean.js b/assets/dev_api_dev_observer.md.1UR7dS3y.lean.js similarity index 59% rename from assets/dev_api_dev_observer.md.r5tZ34Ke.lean.js rename to assets/dev_api_dev_observer.md.1UR7dS3y.lean.js index c682e50a..8cf7077d 100644 --- a/assets/dev_api_dev_observer.md.r5tZ34Ke.lean.js +++ b/assets/dev_api_dev_observer.md.1UR7dS3y.lean.js @@ -1 +1 @@ -import{_ as s,c as i,o as a,a9 as e}from"./chunks/framework.C4_mTacX.js";const g=JSON.parse('{"title":"liteyuki.dev.observer","description":"","frontmatter":{"title":"liteyuki.dev.observer"},"headers":[],"relativePath":"dev/api/dev/observer.md","filePath":"zh/dev/api/dev/observer.md","lastUpdated":null}'),n={name:"dev/api/dev/observer.md"},t=e("",27),l=[t];function h(p,k,r,d,o,c){return a(),i("div",null,l)}const y=s(n,[["render",h]]);export{g as __pageData,y as default}; +import{_ as s,c as i,o as e,a9 as a}from"./chunks/framework.C4_mTacX.js";const g=JSON.parse('{"title":"liteyuki.dev.observer","description":"","frontmatter":{"title":"liteyuki.dev.observer"},"headers":[],"relativePath":"dev/api/dev/observer.md","filePath":"zh/dev/api/dev/observer.md","lastUpdated":null}'),n={name:"dev/api/dev/observer.md"},t=a("",27),l=[t];function h(p,k,r,d,o,c){return e(),i("div",null,l)}const y=s(n,[["render",h]]);export{g as __pageData,y as default}; diff --git a/assets/dev_api_dev_plugin.md.B0UWZ865.js b/assets/dev_api_dev_plugin.md.C_CkUgwx.js similarity index 82% rename from assets/dev_api_dev_plugin.md.B0UWZ865.js rename to assets/dev_api_dev_plugin.md.C_CkUgwx.js index 2d3e7347..cf83d865 100644 --- a/assets/dev_api_dev_plugin.md.B0UWZ865.js +++ b/assets/dev_api_dev_plugin.md.C_CkUgwx.js @@ -1,12 +1,7 @@ -import{_ as i,c as s,o as a,a9 as t}from"./chunks/framework.C4_mTacX.js";const E=JSON.parse('{"title":"liteyuki.dev.plugin","description":"","frontmatter":{"title":"liteyuki.dev.plugin"},"headers":[],"relativePath":"dev/api/dev/plugin.md","filePath":"zh/dev/api/dev/plugin.md","lastUpdated":null}'),n={name:"dev/api/dev/plugin.md"},l=t(`

模块 liteyuki.dev.plugin

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/18 上午5:04 @Author : snowykami @Email : snowykami@outlook.com @File : plugin.py @Software: PyCharm

func run_plugins(*module_path: str | Path)

说明: 运行插件,无需手动初始化bot

参数:

  • module_path: 插件路径,参考liteyuki.load_plugin的函数签名
源代码在GitHub上查看
python
def run_plugins(*module_path: str | Path):
-    """
-    运行插件,无需手动初始化bot
-    Args:
-        module_path: 插件路径,参考\`liteyuki.load_plugin\`的函数签名
-    """
+import{_ as i,c as s,o as a,a9 as t}from"./chunks/framework.C4_mTacX.js";const E=JSON.parse('{"title":"liteyuki.dev.plugin","description":"","frontmatter":{"title":"liteyuki.dev.plugin"},"headers":[],"relativePath":"dev/api/dev/plugin.md","filePath":"zh/dev/api/dev/plugin.md","lastUpdated":null}'),n={name:"dev/api/dev/plugin.md"},e=t(`

模块 liteyuki.dev.plugin

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/18 上午5:04 @Author : snowykami @Email : snowykami@outlook.com @File : plugin.py @Software: PyCharm

func run_plugins(*module_path: str | Path)

说明: 运行插件,无需手动初始化bot

参数:

  • module_path: 插件路径,参考liteyuki.load_plugin的函数签名
源代码在GitHub上查看
python
def run_plugins(*module_path: str | Path):
     cfg = load_config_in_default()
     plugins = cfg.get('liteyuki.plugins', [])
     plugins.extend(module_path)
     cfg['liteyuki.plugins'] = plugins
     bot = LiteyukiBot(**cfg)
-    bot.run()
`,8),e=[l];function p(h,k,r,d,o,u){return a(),s("div",null,e)}const c=i(n,[["render",p]]);export{E as __pageData,c as default}; + bot.run()
`,8),l=[e];function p(h,k,r,d,o,u){return a(),s("div",null,l)}const c=i(n,[["render",p]]);export{E as __pageData,c as default}; diff --git a/assets/dev_api_dev_plugin.md.B0UWZ865.lean.js b/assets/dev_api_dev_plugin.md.C_CkUgwx.lean.js similarity index 72% rename from assets/dev_api_dev_plugin.md.B0UWZ865.lean.js rename to assets/dev_api_dev_plugin.md.C_CkUgwx.lean.js index 242d64b3..880bce45 100644 --- a/assets/dev_api_dev_plugin.md.B0UWZ865.lean.js +++ b/assets/dev_api_dev_plugin.md.C_CkUgwx.lean.js @@ -1 +1 @@ -import{_ as i,c as s,o as a,a9 as t}from"./chunks/framework.C4_mTacX.js";const E=JSON.parse('{"title":"liteyuki.dev.plugin","description":"","frontmatter":{"title":"liteyuki.dev.plugin"},"headers":[],"relativePath":"dev/api/dev/plugin.md","filePath":"zh/dev/api/dev/plugin.md","lastUpdated":null}'),n={name:"dev/api/dev/plugin.md"},l=t("",8),e=[l];function p(h,k,r,d,o,u){return a(),s("div",null,e)}const c=i(n,[["render",p]]);export{E as __pageData,c as default}; +import{_ as i,c as s,o as a,a9 as t}from"./chunks/framework.C4_mTacX.js";const E=JSON.parse('{"title":"liteyuki.dev.plugin","description":"","frontmatter":{"title":"liteyuki.dev.plugin"},"headers":[],"relativePath":"dev/api/dev/plugin.md","filePath":"zh/dev/api/dev/plugin.md","lastUpdated":null}'),n={name:"dev/api/dev/plugin.md"},e=t("",8),l=[e];function p(h,k,r,d,o,u){return a(),s("div",null,l)}const c=i(n,[["render",p]]);export{E as __pageData,c as default}; diff --git a/assets/dev_api_log.md.DEgtvOME.js b/assets/dev_api_log.md.CJtELCL9.js similarity index 96% rename from assets/dev_api_log.md.DEgtvOME.js rename to assets/dev_api_log.md.CJtELCL9.js index d5356a9a..233a1838 100644 --- a/assets/dev_api_log.md.DEgtvOME.js +++ b/assets/dev_api_log.md.CJtELCL9.js @@ -3,11 +3,6 @@ import{_ as s,c as i,o as a,a9 as h}from"./chunks/framework.C4_mTacX.js";const y return debug_format else: return default_format

func init_log(config: dict)

说明: 在语言加载完成后执行

源代码在GitHub上查看
python
def init_log(config: dict):
-    """
-    在语言加载完成后执行
-    Returns:
-
-    """
     logger.remove()
     logger.add(sys.stdout, level=0, diagnose=False, format=get_format(config.get('log_level', 'INFO')))
     show_icon = config.get('log_icon', True)
diff --git a/assets/dev_api_log.md.DEgtvOME.lean.js b/assets/dev_api_log.md.CJtELCL9.lean.js
similarity index 100%
rename from assets/dev_api_log.md.DEgtvOME.lean.js
rename to assets/dev_api_log.md.CJtELCL9.lean.js
diff --git a/assets/dev_api_message_event.md.CCba4fQM.lean.js b/assets/dev_api_message_event.md.CCba4fQM.lean.js
deleted file mode 100644
index 481ff391..00000000
--- a/assets/dev_api_message_event.md.CCba4fQM.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const o=JSON.parse('{"title":"liteyuki.message.event","description":"","frontmatter":{"title":"liteyuki.message.event"},"headers":[],"relativePath":"dev/api/message/event.md","filePath":"zh/dev/api/message/event.md","lastUpdated":null}'),e={name:"dev/api/message/event.md"},t=n("",12),h=[t];function l(k,p,r,d,E,g){return a(),i("div",null,h)}const F=s(e,[["render",l]]);export{o as __pageData,F as default};
diff --git a/assets/dev_api_message_event.md.CCba4fQM.js b/assets/dev_api_message_event.md.z4kIykti.js
similarity index 82%
rename from assets/dev_api_message_event.md.CCba4fQM.js
rename to assets/dev_api_message_event.md.z4kIykti.js
index 98e6bef9..bd335c17 100644
--- a/assets/dev_api_message_event.md.CCba4fQM.js
+++ b/assets/dev_api_message_event.md.z4kIykti.js
@@ -1,19 +1,4 @@
-import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const o=JSON.parse('{"title":"liteyuki.message.event","description":"","frontmatter":{"title":"liteyuki.message.event"},"headers":[],"relativePath":"dev/api/message/event.md","filePath":"zh/dev/api/message/event.md","lastUpdated":null}'),e={name:"dev/api/message/event.md"},t=n(`

模块 liteyuki.message.event

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:47 @Author : snowykami @Email : snowykami@outlook.com @File : event.py @Software: PyCharm

class MessageEvent

func __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel[MessageEvent]] = None, data: Optional[dict[str, Any]] = None)

说明: 轻雪抽象消息事件

源代码在GitHub上查看
python
def __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel['MessageEvent']]=None, data: Optional[dict[str, Any]]=None):
-    """
-        轻雪抽象消息事件
-        Args:
-
-            bot_id: 机器人ID
-            message: 消息,消息段数组[{type: str, data: dict[str, Any]}]
-            raw_message: 原始消息(通常为纯文本的格式)
-            message_type: 消息类型(private, group, other)
-
-            session_id: 会话ID(私聊通常为用户ID,群聊通常为群ID)
-            session_type: 会话类型(private, group)
-            receive_channel: 接收频道(用于回复消息)
-
-            data: 附加数据
-        """
+import{_ as s,c as i,o as a,a9 as e}from"./chunks/framework.C4_mTacX.js";const o=JSON.parse('{"title":"liteyuki.message.event","description":"","frontmatter":{"title":"liteyuki.message.event"},"headers":[],"relativePath":"dev/api/message/event.md","filePath":"zh/dev/api/message/event.md","lastUpdated":null}'),t={name:"dev/api/message/event.md"},n=e(`

模块 liteyuki.message.event

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:47 @Author : snowykami @Email : snowykami@outlook.com @File : event.py @Software: PyCharm

class MessageEvent

func __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel[MessageEvent]] = None, data: Optional[dict[str, Any]] = None)

说明: 轻雪抽象消息事件

源代码在GitHub上查看
python
def __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel['MessageEvent']]=None, data: Optional[dict[str, Any]]=None):
     if data is None:
         data = {}
     self.message_type = message_type
@@ -25,12 +10,6 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const o
     self.session_type = session_type
     self.user_id = user_id
     self.receive_channel = receive_channel

func reply(self, message: str | dict[str, Any])

说明: 回复消息

参数:

  • message:
源代码在GitHub上查看
python
def reply(self, message: str | dict[str, Any]):
-    """
-        回复消息
-        Args:
-            message:
-        Returns:
-        """
     reply_event = MessageEvent(message_type=self.session_type, message=message, raw_message='', data={'message': message}, bot_id=self.bot_id, session_id=self.session_id, user_id=self.user_id, session_type=self.session_type, receive_channel=None)
     if self.receive_channel:
-        self.receive_channel.send(reply_event)
`,12),h=[t];function l(k,p,r,d,E,g){return a(),i("div",null,h)}const F=s(e,[["render",l]]);export{o as __pageData,F as default}; + self.receive_channel.send(reply_event)
`,12),h=[n];function l(k,p,r,d,E,g){return a(),i("div",null,h)}const F=s(t,[["render",l]]);export{o as __pageData,F as default}; diff --git a/assets/dev_api_message_event.md.z4kIykti.lean.js b/assets/dev_api_message_event.md.z4kIykti.lean.js new file mode 100644 index 00000000..553fe0b4 --- /dev/null +++ b/assets/dev_api_message_event.md.z4kIykti.lean.js @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a9 as e}from"./chunks/framework.C4_mTacX.js";const o=JSON.parse('{"title":"liteyuki.message.event","description":"","frontmatter":{"title":"liteyuki.message.event"},"headers":[],"relativePath":"dev/api/message/event.md","filePath":"zh/dev/api/message/event.md","lastUpdated":null}'),t={name:"dev/api/message/event.md"},n=e("",12),h=[n];function l(k,p,r,d,E,g){return a(),i("div",null,h)}const F=s(t,[["render",l]]);export{o as __pageData,F as default}; diff --git a/assets/dev_api_message_matcher.md.RkLnG-L_.js b/assets/dev_api_message_matcher.md.Dl6noJmI.js similarity index 78% rename from assets/dev_api_message_matcher.md.RkLnG-L_.js rename to assets/dev_api_message_matcher.md.Dl6noJmI.js index 3fa1a130..3b4a68df 100644 --- a/assets/dev_api_message_matcher.md.RkLnG-L_.js +++ b/assets/dev_api_message_matcher.md.Dl6noJmI.js @@ -1,35 +1,17 @@ -import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const y=JSON.parse('{"title":"liteyuki.message.matcher","description":"","frontmatter":{"title":"liteyuki.message.matcher"},"headers":[],"relativePath":"dev/api/message/matcher.md","filePath":"zh/dev/api/message/matcher.md","lastUpdated":null}'),e={name:"dev/api/message/matcher.md"},t=n(`

模块 liteyuki.message.matcher

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:51 @Author : snowykami @Email : snowykami@outlook.com @File : matcher.py @Software: PyCharm

class Matcher

func __init__(self, rule: Rule, priority: int, block: bool)

说明: 匹配器

参数:

  • rule: 规则
  • priority: 优先级 >= 0
  • block: 是否阻断后续优先级更低的匹配器
源代码在GitHub上查看
python
def __init__(self, rule: Rule, priority: int, block: bool):
-    """
-        匹配器
-        Args:
-            rule: 规则
-            priority: 优先级 >= 0
-            block: 是否阻断后续优先级更低的匹配器
-        """
+import{_ as s,c as i,o as a,a9 as e}from"./chunks/framework.C4_mTacX.js";const y=JSON.parse('{"title":"liteyuki.message.matcher","description":"","frontmatter":{"title":"liteyuki.message.matcher"},"headers":[],"relativePath":"dev/api/message/matcher.md","filePath":"zh/dev/api/message/matcher.md","lastUpdated":null}'),t={name:"dev/api/message/matcher.md"},n=e(`

模块 liteyuki.message.matcher

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:51 @Author : snowykami @Email : snowykami@outlook.com @File : matcher.py @Software: PyCharm

class Matcher

func __init__(self, rule: Rule, priority: int, block: bool)

说明: 匹配器

参数:

  • rule: 规则
  • priority: 优先级 >= 0
  • block: 是否阻断后续优先级更低的匹配器
源代码在GitHub上查看
python
def __init__(self, rule: Rule, priority: int, block: bool):
     self.rule = rule
     self.priority = priority
     self.block = block
     self.handlers: list[EventHandler] = []

func handle(self) -> Callable[[EventHandler], EventHandler]

说明: 添加处理函数,装饰器

返回: 装饰器 handler

源代码在GitHub上查看
python
def handle(self) -> Callable[[EventHandler], EventHandler]:
-    """
-        添加处理函数,装饰器
-        Returns:
-            装饰器 handler
-        """
 
     def decorator(handler: EventHandler) -> EventHandler:
         self.handlers.append(handler)
         return handler
     return decorator

async func run(self, event: MessageEvent) -> None

说明: 运行处理函数

参数:

  • event:
源代码在GitHub上查看
python
async def run(self, event: MessageEvent) -> None:
-    """
-        运行处理函数
-        Args:
-            event:
-        Returns:
-        """
     if not await self.rule(event):
         return
     for handler in self.handlers:
         try:
             await handler(event)
         except Exception:
-            traceback.print_exc()
`,18),l=[t];function h(p,k,r,o,d,c){return a(),i("div",null,l)}const E=s(e,[["render",h]]);export{y as __pageData,E as default}; + traceback.print_exc()
`,18),l=[n];function h(r,p,k,o,d,c){return a(),i("div",null,l)}const E=s(t,[["render",h]]);export{y as __pageData,E as default}; diff --git a/assets/dev_api_message_matcher.md.Dl6noJmI.lean.js b/assets/dev_api_message_matcher.md.Dl6noJmI.lean.js new file mode 100644 index 00000000..71363c80 --- /dev/null +++ b/assets/dev_api_message_matcher.md.Dl6noJmI.lean.js @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a9 as e}from"./chunks/framework.C4_mTacX.js";const y=JSON.parse('{"title":"liteyuki.message.matcher","description":"","frontmatter":{"title":"liteyuki.message.matcher"},"headers":[],"relativePath":"dev/api/message/matcher.md","filePath":"zh/dev/api/message/matcher.md","lastUpdated":null}'),t={name:"dev/api/message/matcher.md"},n=e("",18),l=[n];function h(r,p,k,o,d,c){return a(),i("div",null,l)}const E=s(t,[["render",h]]);export{y as __pageData,E as default}; diff --git a/assets/dev_api_message_matcher.md.RkLnG-L_.lean.js b/assets/dev_api_message_matcher.md.RkLnG-L_.lean.js deleted file mode 100644 index 250e3e0b..00000000 --- a/assets/dev_api_message_matcher.md.RkLnG-L_.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const y=JSON.parse('{"title":"liteyuki.message.matcher","description":"","frontmatter":{"title":"liteyuki.message.matcher"},"headers":[],"relativePath":"dev/api/message/matcher.md","filePath":"zh/dev/api/message/matcher.md","lastUpdated":null}'),e={name:"dev/api/message/matcher.md"},t=n("",18),l=[t];function h(p,k,r,o,d,c){return a(),i("div",null,l)}const E=s(e,[["render",h]]);export{y as __pageData,E as default}; diff --git a/assets/dev_api_mkdoc.md.BHVTt-3m.js b/assets/dev_api_mkdoc.md.KHhZ0jbQ.js similarity index 95% rename from assets/dev_api_mkdoc.md.BHVTt-3m.js rename to assets/dev_api_mkdoc.md.KHhZ0jbQ.js index eaa16822..c2e3b67d 100644 --- a/assets/dev_api_mkdoc.md.BHVTt-3m.js +++ b/assets/dev_api_mkdoc.md.KHhZ0jbQ.js @@ -1,16 +1,5 @@ import{_ as s,c as i,o as a,a9 as t}from"./chunks/framework.C4_mTacX.js";const y=JSON.parse('{"title":"liteyuki.mkdoc","description":"","frontmatter":{"title":"liteyuki.mkdoc"},"headers":[],"relativePath":"dev/api/mkdoc.md","filePath":"zh/dev/api/mkdoc.md","lastUpdated":null}'),n={name:"dev/api/mkdoc.md"},h=t(`

模块 liteyuki.mkdoc

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 上午6:23 @Author : snowykami @Email : snowykami@outlook.com @File : mkdoc.py @Software: PyCharm

class DefType(Enum)

attr FUNCTION = 'function'

attr METHOD = 'method'

attr STATIC_METHOD = 'staticmethod'

attr CLASS_METHOD = 'classmethod'

attr PROPERTY = 'property'

class FunctionInfo(BaseModel)

attr name: str = NO_DEFAULT

attr args: list[tuple[str, str]] = NO_DEFAULT

attr return_type: str = NO_DEFAULT

attr docstring: str = NO_DEFAULT

attr source_code: str = ''

attr type: DefType = NO_DEFAULT

attr is_async: bool = NO_DEFAULT

class AttributeInfo(BaseModel)

attr name: str = NO_DEFAULT

attr type: str = NO_DEFAULT

attr value: Any = None

attr docstring: str = ''

class ClassInfo(BaseModel)

attr name: str = NO_DEFAULT

attr docstring: str = NO_DEFAULT

attr methods: list[FunctionInfo] = NO_DEFAULT

attr attributes: list[AttributeInfo] = NO_DEFAULT

attr inherit: list[str] = NO_DEFAULT

class ModuleInfo(BaseModel)

attr module_path: str = NO_DEFAULT

attr functions: list[FunctionInfo] = NO_DEFAULT

attr classes: list[ClassInfo] = NO_DEFAULT

attr attributes: list[AttributeInfo] = NO_DEFAULT

attr docstring: str = NO_DEFAULT

func get_relative_path(base_path: str, target_path: str) -> str

说明: 获取相对路径

参数:

  • base_path: 基础路径
  • target_path: 目标路径
源代码在GitHub上查看
python
def get_relative_path(base_path: str, target_path: str) -> str:
-    """
-    获取相对路径
-    Args:
-        base_path: 基础路径
-        target_path: 目标路径
-    """
     return os.path.relpath(target_path, base_path)

func write_to_files(file_data: dict[str, str])

说明: 输出文件

参数:

  • file_data: 文件数据 相对路径
源代码在GitHub上查看
python
def write_to_files(file_data: dict[str, str]):
-    """
-    输出文件
-    Args:
-        file_data: 文件数据 相对路径
-    """
     for rp, data in file_data.items():
         if not os.path.exists(os.path.dirname(rp)):
             os.makedirs(os.path.dirname(rp))
@@ -22,14 +11,6 @@ import{_ as s,c as i,o as a,a9 as t}from"./chunks/framework.C4_mTacX.js";const y
             if file.endswith(('.py', '.pyi')):
                 file_list.append(os.path.join(root, file))
     return file_list

func get_module_info_normal(file_path: str, ignore_private: bool = True) -> ModuleInfo

说明: 获取函数和类

参数:

  • file_path: Python 文件路径
  • ignore_private: 忽略私有函数和类

返回: 模块信息

源代码在GitHub上查看
python
def get_module_info_normal(file_path: str, ignore_private: bool=True) -> ModuleInfo:
-    """
-    获取函数和类
-    Args:
-        file_path: Python 文件路径
-        ignore_private: 忽略私有函数和类
-    Returns:
-        模块信息
-    """
     with open(file_path, 'r', encoding='utf-8') as file:
         file_content = file.read()
         tree = ast.parse(file_content)
@@ -75,16 +56,6 @@ import{_ as s,c as i,o as a,a9 as t}from"./chunks/framework.C4_mTacX.js";const y
                             attr_type = ast.unparse(node.value.annotation)
                         module_info.attributes.append(AttributeInfo(name=target.id, type=attr_type, value=ast.unparse(node.value) if node.value else None))
     return module_info

func generate_markdown(module_info: ModuleInfo, front_matter = None, lang: str = 'zh-CN') -> str

说明: 生成模块的Markdown 你可在此自定义生成的Markdown格式

参数:

  • module_info: 模块信息
  • front_matter: 自定义选项title, index, icon, category
  • lang: 语言

返回: Markdown 字符串

源代码在GitHub上查看
python
def generate_markdown(module_info: ModuleInfo, front_matter=None, lang: str='zh-CN') -> str:
-    """
-    生成模块的Markdown
-    你可在此自定义生成的Markdown格式
-    Args:
-        module_info: 模块信息
-        front_matter: 自定义选项title, index, icon, category
-        lang: 语言
-    Returns:
-        Markdown 字符串
-    """
     content = ''
     front_matter = '---\\n' + '\\n'.join([f'{k}: {v}' for k, v in front_matter.items()]) + '\\n---\\n\\n'
     content += front_matter
@@ -126,15 +97,6 @@ import{_ as s,c as i,o as a,a9 as t}from"./chunks/framework.C4_mTacX.js";const y
         attr.docstring = attr.docstring.replace('\\n', '\\n\\n')
         content += f'{attr.docstring}\\n\\n'
     return content

func generate_docs(module_folder: str, output_dir: str, with_top: bool = False, lang: str = 'zh-CN', ignored_paths = None)

说明: 生成文档

参数:

  • module_folder: 模块文件夹
  • output_dir: 输出文件夹
  • with_top: 是否包含顶层文件夹 False时例如docs/api/module_a, docs/api/module_b, True时例如docs/api/module/module_a.md, docs/api/module/module_b.md
  • ignored_paths: 忽略的路径
  • lang: 语言
源代码在GitHub上查看
python
def generate_docs(module_folder: str, output_dir: str, with_top: bool=False, lang: str='zh-CN', ignored_paths=None):
-    """
-    生成文档
-    Args:
-        module_folder: 模块文件夹
-        output_dir: 输出文件夹
-        with_top: 是否包含顶层文件夹 False时例如docs/api/module_a, docs/api/module_b, True时例如docs/api/module/module_a.md, docs/api/module/module_b.md
-        ignored_paths: 忽略的路径
-        lang: 语言
-    """
     if ignored_paths is None:
         ignored_paths = []
     file_data: dict[str, str] = {}
diff --git a/assets/dev_api_mkdoc.md.BHVTt-3m.lean.js b/assets/dev_api_mkdoc.md.KHhZ0jbQ.lean.js
similarity index 100%
rename from assets/dev_api_mkdoc.md.BHVTt-3m.lean.js
rename to assets/dev_api_mkdoc.md.KHhZ0jbQ.lean.js
diff --git a/assets/dev_api_plugin_index.md.BEvzlWex.js b/assets/dev_api_plugin_index.md.BEvzlWex.js
deleted file mode 100644
index 04c7ca80..00000000
--- a/assets/dev_api_plugin_index.md.BEvzlWex.js
+++ /dev/null
@@ -1,7 +0,0 @@
-import{_ as i,c as s,o as t,a9 as a}from"./chunks/framework.C4_mTacX.js";const k=JSON.parse('{"title":"liteyuki.plugin","description":"","frontmatter":{"title":"liteyuki.plugin","collapsed":true},"headers":[],"relativePath":"dev/api/plugin/index.md","filePath":"zh/dev/api/plugin/index.md","lastUpdated":null}'),n={name:"dev/api/plugin/index.md"},e=a(`

模块 liteyuki.plugin

func get_loaded_plugins() -> dict[str, Plugin]

说明: 获取已加载的插件

返回: dict[str, Plugin]: 插件字典

源代码在GitHub上查看
python
def get_loaded_plugins() -> dict[str, Plugin]:
-    """
-    获取已加载的插件
-    Returns:
-        dict[str, Plugin]: 插件字典
-    """
-    return _plugins
`,5),l=[e];function p(d,r,o,h,u,g){return t(),s("div",null,l)}const _=i(n,[["render",p]]);export{k as __pageData,_ as default}; diff --git a/assets/dev_api_plugin_index.md.BEvzlWex.lean.js b/assets/dev_api_plugin_index.md.BEvzlWex.lean.js deleted file mode 100644 index fd6e05a3..00000000 --- a/assets/dev_api_plugin_index.md.BEvzlWex.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as i,c as s,o as t,a9 as a}from"./chunks/framework.C4_mTacX.js";const k=JSON.parse('{"title":"liteyuki.plugin","description":"","frontmatter":{"title":"liteyuki.plugin","collapsed":true},"headers":[],"relativePath":"dev/api/plugin/index.md","filePath":"zh/dev/api/plugin/index.md","lastUpdated":null}'),n={name:"dev/api/plugin/index.md"},e=a("",5),l=[e];function p(d,r,o,h,u,g){return t(),s("div",null,l)}const _=i(n,[["render",p]]);export{k as __pageData,_ as default}; diff --git a/assets/dev_api_plugin_index.md.CcmFWY5K.js b/assets/dev_api_plugin_index.md.CcmFWY5K.js new file mode 100644 index 00000000..f8702e10 --- /dev/null +++ b/assets/dev_api_plugin_index.md.CcmFWY5K.js @@ -0,0 +1 @@ +import{_ as i,c as t,o as e,a9 as s}from"./chunks/framework.C4_mTacX.js";const _=JSON.parse('{"title":"liteyuki.plugin","description":"","frontmatter":{"title":"liteyuki.plugin","collapsed":true},"headers":[],"relativePath":"dev/api/plugin/index.md","filePath":"zh/dev/api/plugin/index.md","lastUpdated":null}'),a={name:"dev/api/plugin/index.md"},n=s('

模块 liteyuki.plugin

func get_loaded_plugins() -> dict[str, Plugin]

说明: 获取已加载的插件

返回: dict[str, Plugin]: 插件字典

源代码在GitHub上查看
python
def get_loaded_plugins() -> dict[str, Plugin]:\n    return _plugins
',5),l=[n];function d(p,o,r,u,g,h){return e(),t("div",null,l)}const k=i(a,[["render",d]]);export{_ as __pageData,k as default}; diff --git a/assets/dev_api_plugin_index.md.CcmFWY5K.lean.js b/assets/dev_api_plugin_index.md.CcmFWY5K.lean.js new file mode 100644 index 00000000..4e99daa4 --- /dev/null +++ b/assets/dev_api_plugin_index.md.CcmFWY5K.lean.js @@ -0,0 +1 @@ +import{_ as i,c as t,o as e,a9 as s}from"./chunks/framework.C4_mTacX.js";const _=JSON.parse('{"title":"liteyuki.plugin","description":"","frontmatter":{"title":"liteyuki.plugin","collapsed":true},"headers":[],"relativePath":"dev/api/plugin/index.md","filePath":"zh/dev/api/plugin/index.md","lastUpdated":null}'),a={name:"dev/api/plugin/index.md"},n=s("",5),l=[n];function d(p,o,r,u,g,h){return e(),t("div",null,l)}const k=i(a,[["render",d]]);export{_ as __pageData,k as default}; diff --git a/assets/dev_api_plugin_load.md.E8CzQJo7.js b/assets/dev_api_plugin_load.md.CssacMr6.js similarity index 92% rename from assets/dev_api_plugin_load.md.E8CzQJo7.js rename to assets/dev_api_plugin_load.md.CssacMr6.js index e7d1e5e5..59088955 100644 --- a/assets/dev_api_plugin_load.md.E8CzQJo7.js +++ b/assets/dev_api_plugin_load.md.CssacMr6.js @@ -1,10 +1,4 @@ -import{_ as h,D as l,c as t,j as i,a as s,I as k,w as p,a9 as a,o as e}from"./chunks/framework.C4_mTacX.js";const B=JSON.parse('{"title":"liteyuki.plugin.load","description":"","frontmatter":{"title":"liteyuki.plugin.load"},"headers":[],"relativePath":"dev/api/plugin/load.md","filePath":"zh/dev/api/plugin/load.md","lastUpdated":null}'),E={name:"dev/api/plugin/load.md"},d=a(`

模块 liteyuki.plugin.load

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午11:59 @Author : snowykami @Email : snowykami@outlook.com @File : load.py @Software: PyCharm

func load_plugin(module_path: str | Path) -> Optional[Plugin]

说明: 加载单个插件,可以是本地插件或是通过 pip 安装的插件。

参数:

  • module_path: 插件名称 path.to.your.plugin
  • 或插件路径 pathlib.Path(path/to/your/plugin):
源代码在GitHub上查看
python
def load_plugin(module_path: str | Path) -> Optional[Plugin]:
-    """加载单个插件,可以是本地插件或是通过 \`pip\` 安装的插件。
-
-    参数:
-        module_path: 插件名称 \`path.to.your.plugin\`
-        或插件路径 \`pathlib.Path(path/to/your/plugin)\`
-    """
+import{_ as h,D as l,c as k,j as i,a as s,I as t,w as p,a9 as a,o as e}from"./chunks/framework.C4_mTacX.js";const B=JSON.parse('{"title":"liteyuki.plugin.load","description":"","frontmatter":{"title":"liteyuki.plugin.load"},"headers":[],"relativePath":"dev/api/plugin/load.md","filePath":"zh/dev/api/plugin/load.md","lastUpdated":null}'),E={name:"dev/api/plugin/load.md"},d=a(`

模块 liteyuki.plugin.load

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午11:59 @Author : snowykami @Email : snowykami@outlook.com @File : load.py @Software: PyCharm

func load_plugin(module_path: str | Path) -> Optional[Plugin]

说明: 加载单个插件,可以是本地插件或是通过 pip 安装的插件。

参数:

  • module_path: 插件名称 path.to.your.plugin
  • 或插件路径 pathlib.Path(path/to/your/plugin):
源代码在GitHub上查看
python
def load_plugin(module_path: str | Path) -> Optional[Plugin]:
     module_path = path_to_module_name(Path(module_path)) if isinstance(module_path, Path) else module_path
     try:
         module = import_module(module_path)
@@ -29,12 +23,6 @@ import{_ as h,D as l,c as t,j as i,a as s,I as k,w as p,a9 as a,o as e}from"./ch
         logger.opt(colors=True).success(f'Failed to load liteyuki plugin "<r>{module_path}</r>"')
         traceback.print_exc()
         return None

func load_plugins(*plugin_dir: str, *, ignore_warning: bool = True) -> set[Plugin]

说明: 导入文件夹下多个插件

参数:

  • plugin_dir: 文件夹路径
  • ignore_warning: 是否忽略警告,通常是目录不存在或目录为空
源代码在GitHub上查看
python
def load_plugins(*plugin_dir: str, ignore_warning: bool=True) -> set[Plugin]:
-    """导入文件夹下多个插件
-
-    参数:
-        plugin_dir: 文件夹路径
-        ignore_warning: 是否忽略警告,通常是目录不存在或目录为空
-    """
     plugins = set()
     for dir_path in plugin_dir:
         if not os.path.exists(dir_path):
@@ -61,15 +49,6 @@ import{_ as h,D as l,c as t,j as i,a as s,I as k,w as p,a9 as a,o as e}from"./ch
                 if _plugins.get(module_name):
                     plugins.add(_plugins[module_name])
     return plugins

func format_display_name(display_name: str, plugin_type: PluginType) -> str

说明: 设置插件名称颜色,根据不同类型插件设置颜色

参数:

  • display_name: 插件名称
  • plugin_type: 插件类型
`,17),r=i("strong",null,"返回",-1),g=a(`
源代码在GitHub上查看
python
def format_display_name(display_name: str, plugin_type: PluginType) -> str:
-    """
-    设置插件名称颜色,根据不同类型插件设置颜色
-    Args:
-        display_name: 插件名称
-        plugin_type: 插件类型
-
-    Returns:
-        str: 设置后的插件名称 <y>name</y>
-    """
     color = 'y'
     match plugin_type:
         case PluginType.APPLICATION:
@@ -80,4 +59,4 @@ import{_ as h,D as l,c as t,j as i,a as s,I as k,w as p,a9 as a,o as e}from"./ch
             color = 'e'
         case PluginType.SERVICE:
             color = 'c'
-    return f'<{color}>{display_name} [{plugin_type.name}]</{color}>'
`,1);function y(F,o,u,_,C,c){const n=l("y");return e(),t("div",null,[d,i("p",null,[r,s(": str: 设置后的插件名称 "),k(n,null,{default:p(()=>[s("name")]),_:1})]),g])}const A=h(E,[["render",y]]);export{B as __pageData,A as default}; + return f'<{color}>{display_name} [{plugin_type.name}]</{color}>'
`,1);function y(F,o,u,_,C,c){const n=l("y");return e(),k("div",null,[d,i("p",null,[r,s(": str: 设置后的插件名称 "),t(n,null,{default:p(()=>[s("name")]),_:1})]),g])}const A=h(E,[["render",y]]);export{B as __pageData,A as default}; diff --git a/assets/dev_api_plugin_load.md.E8CzQJo7.lean.js b/assets/dev_api_plugin_load.md.CssacMr6.lean.js similarity index 70% rename from assets/dev_api_plugin_load.md.E8CzQJo7.lean.js rename to assets/dev_api_plugin_load.md.CssacMr6.lean.js index c7db0661..10d1c557 100644 --- a/assets/dev_api_plugin_load.md.E8CzQJo7.lean.js +++ b/assets/dev_api_plugin_load.md.CssacMr6.lean.js @@ -1 +1 @@ -import{_ as h,D as l,c as t,j as i,a as s,I as k,w as p,a9 as a,o as e}from"./chunks/framework.C4_mTacX.js";const B=JSON.parse('{"title":"liteyuki.plugin.load","description":"","frontmatter":{"title":"liteyuki.plugin.load"},"headers":[],"relativePath":"dev/api/plugin/load.md","filePath":"zh/dev/api/plugin/load.md","lastUpdated":null}'),E={name:"dev/api/plugin/load.md"},d=a("",17),r=i("strong",null,"返回",-1),g=a("",1);function y(F,o,u,_,C,c){const n=l("y");return e(),t("div",null,[d,i("p",null,[r,s(": str: 设置后的插件名称 "),k(n,null,{default:p(()=>[s("name")]),_:1})]),g])}const A=h(E,[["render",y]]);export{B as __pageData,A as default}; +import{_ as h,D as l,c as k,j as i,a as s,I as t,w as p,a9 as a,o as e}from"./chunks/framework.C4_mTacX.js";const B=JSON.parse('{"title":"liteyuki.plugin.load","description":"","frontmatter":{"title":"liteyuki.plugin.load"},"headers":[],"relativePath":"dev/api/plugin/load.md","filePath":"zh/dev/api/plugin/load.md","lastUpdated":null}'),E={name:"dev/api/plugin/load.md"},d=a("",17),r=i("strong",null,"返回",-1),g=a("",1);function y(F,o,u,_,C,c){const n=l("y");return e(),k("div",null,[d,i("p",null,[r,s(": str: 设置后的插件名称 "),t(n,null,{default:p(()=>[s("name")]),_:1})]),g])}const A=h(E,[["render",y]]);export{B as __pageData,A as default}; diff --git a/assets/dev_api_plugins_plugin_loader_index.md.CY6QBGMz.js b/assets/dev_api_plugins_plugin_loader_index.md.CY6QBGMz.js deleted file mode 100644 index 364d2ff0..00000000 --- a/assets/dev_api_plugins_plugin_loader_index.md.CY6QBGMz.js +++ /dev/null @@ -1,8 +0,0 @@ -import{_ as i,c as s,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const _=JSON.parse('{"title":"liteyuki.plugins.plugin_loader","description":"","frontmatter":{"title":"liteyuki.plugins.plugin_loader","collapsed":true},"headers":[],"relativePath":"dev/api/plugins/plugin_loader/index.md","filePath":"zh/dev/api/plugins/plugin_loader/index.md","lastUpdated":null}'),l={name:"dev/api/plugins/plugin_loader/index.md"},t=n(`

模块 liteyuki.plugins.plugin_loader

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/11 下午10:02 @Author : snowykami @Email : snowykami@outlook.com @File : init.py.py @Software: PyCharm

func default_plugins_loader()

说明: 默认插件加载器,应在初始化时调用

源代码在GitHub上查看
python
def default_plugins_loader():
-    """
-    默认插件加载器,应在初始化时调用
-    """
-    for plugin in get_config('liteyuki.plugins', []):
-        load_plugin(plugin)
-    for plugin_dir in get_config('liteyuki.plugin_dirs', ['src/liteyuki_plugins']):
-        load_plugins(plugin_dir)
`,6),e=[t];function p(r,h,o,d,k,u){return a(),s("div",null,e)}const c=i(l,[["render",p]]);export{_ as __pageData,c as default}; diff --git a/assets/dev_api_plugins_plugin_loader_index.md.VShWijpV.js b/assets/dev_api_plugins_plugin_loader_index.md.VShWijpV.js new file mode 100644 index 00000000..bb8adc76 --- /dev/null +++ b/assets/dev_api_plugins_plugin_loader_index.md.VShWijpV.js @@ -0,0 +1 @@ +import{_ as i,c as s,o as a,a9 as l}from"./chunks/framework.C4_mTacX.js";const _=JSON.parse('{"title":"liteyuki.plugins.plugin_loader","description":"","frontmatter":{"title":"liteyuki.plugins.plugin_loader","collapsed":true},"headers":[],"relativePath":"dev/api/plugins/plugin_loader/index.md","filePath":"zh/dev/api/plugins/plugin_loader/index.md","lastUpdated":null}'),n={name:"dev/api/plugins/plugin_loader/index.md"},e=l('

模块 liteyuki.plugins.plugin_loader

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/11 下午10:02 @Author : snowykami @Email : snowykami@outlook.com @File : init.py.py @Software: PyCharm

func default_plugins_loader()

说明: 默认插件加载器,应在初始化时调用

源代码在GitHub上查看
python
def default_plugins_loader():\n    for plugin in get_config('liteyuki.plugins', []):\n        load_plugin(plugin)\n    for plugin_dir in get_config('liteyuki.plugin_dirs', ['src/liteyuki_plugins']):\n        load_plugins(plugin_dir)
',6),t=[e];function p(r,o,d,h,k,u){return a(),s("div",null,t)}const c=i(n,[["render",p]]);export{_ as __pageData,c as default}; diff --git a/assets/dev_api_plugins_plugin_loader_index.md.CY6QBGMz.lean.js b/assets/dev_api_plugins_plugin_loader_index.md.VShWijpV.lean.js similarity index 53% rename from assets/dev_api_plugins_plugin_loader_index.md.CY6QBGMz.lean.js rename to assets/dev_api_plugins_plugin_loader_index.md.VShWijpV.lean.js index 9fdc870d..6f06207a 100644 --- a/assets/dev_api_plugins_plugin_loader_index.md.CY6QBGMz.lean.js +++ b/assets/dev_api_plugins_plugin_loader_index.md.VShWijpV.lean.js @@ -1 +1 @@ -import{_ as i,c as s,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const _=JSON.parse('{"title":"liteyuki.plugins.plugin_loader","description":"","frontmatter":{"title":"liteyuki.plugins.plugin_loader","collapsed":true},"headers":[],"relativePath":"dev/api/plugins/plugin_loader/index.md","filePath":"zh/dev/api/plugins/plugin_loader/index.md","lastUpdated":null}'),l={name:"dev/api/plugins/plugin_loader/index.md"},t=n("",6),e=[t];function p(r,h,o,d,k,u){return a(),s("div",null,e)}const c=i(l,[["render",p]]);export{_ as __pageData,c as default}; +import{_ as i,c as s,o as a,a9 as l}from"./chunks/framework.C4_mTacX.js";const _=JSON.parse('{"title":"liteyuki.plugins.plugin_loader","description":"","frontmatter":{"title":"liteyuki.plugins.plugin_loader","collapsed":true},"headers":[],"relativePath":"dev/api/plugins/plugin_loader/index.md","filePath":"zh/dev/api/plugins/plugin_loader/index.md","lastUpdated":null}'),n={name:"dev/api/plugins/plugin_loader/index.md"},e=l("",6),t=[e];function p(r,o,d,h,k,u){return a(),s("div",null,t)}const c=i(n,[["render",p]]);export{_ as __pageData,c as default}; diff --git a/assets/dev_api_utils.md.B-jOjsY8.js b/assets/dev_api_utils.md.BCCrA2Tn.js similarity index 81% rename from assets/dev_api_utils.md.B-jOjsY8.js rename to assets/dev_api_utils.md.BCCrA2Tn.js index f27313e5..8455d445 100644 --- a/assets/dev_api_utils.md.B-jOjsY8.js +++ b/assets/dev_api_utils.md.BCCrA2Tn.js @@ -1,25 +1,10 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const g=JSON.parse('{"title":"liteyuki.utils","description":"","frontmatter":{"title":"liteyuki.utils"},"headers":[],"relativePath":"dev/api/utils.md","filePath":"zh/dev/api/utils.md","lastUpdated":null}'),t={name:"dev/api/utils.md"},l=n(`

模块 liteyuki.utils

一些常用的工具类,部分来源于 nonebot 并遵循其许可进行修改

func is_coroutine_callable(call: Callable[..., Any]) -> bool

说明: 判断是否为协程可调用对象

参数:

  • call: 可调用对象

返回: bool: 是否为协程可调用对象

源代码在GitHub上查看
python
def is_coroutine_callable(call: Callable[..., Any]) -> bool:
-    """
-    判断是否为协程可调用对象
-    Args:
-        call: 可调用对象
-    Returns:
-        bool: 是否为协程可调用对象
-    """
     if inspect.isroutine(call):
         return inspect.iscoroutinefunction(call)
     if inspect.isclass(call):
         return False
     func_ = getattr(call, '__call__', None)
     return inspect.iscoroutinefunction(func_)

func run_coroutine(*coro: Coroutine)

说明: 运行协程

参数:

  • coro:
源代码在GitHub上查看
python
def run_coroutine(*coro: Coroutine):
-    """
-    运行协程
-    Args:
-        coro:
-
-    Returns:
-
-    """
     try:
         loop = asyncio.get_running_loop()
         if loop.is_running():
@@ -35,36 +20,14 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const g
         loop.close()
     except Exception as e:
         logger.error(f'Exception occurred: {e}')

func run_coroutine_in_thread(*coro: Coroutine)

说明: 在新线程中运行协程

参数:

  • coro:
源代码在GitHub上查看
python
def run_coroutine_in_thread(*coro: Coroutine):
-    """
-    在新线程中运行协程
-    Args:
-        coro:
-
-    Returns:
-
-    """
     threading.Thread(target=run_coroutine, args=coro, daemon=True).start()

func path_to_module_name(path: Path) -> str

说明: 转换路径为模块名

参数:

  • path: 路径a/b/c/d -> a.b.c.d

返回: str: 模块名

源代码在GitHub上查看
python
def path_to_module_name(path: Path) -> str:
-    """
-    转换路径为模块名
-    Args:
-        path: 路径a/b/c/d -> a.b.c.d
-    Returns:
-        str: 模块名
-    """
     rel_path = path.resolve().relative_to(Path.cwd().resolve())
     if rel_path.stem == '__init__':
         return '.'.join(rel_path.parts[:-1])
     else:
         return '.'.join(rel_path.parts[:-1] + (rel_path.stem,))

func async_wrapper(func: Callable[..., Any]) -> Callable[..., Coroutine]

说明: 异步包装器

参数:

  • func: Sync Callable

返回: Coroutine: Asynchronous Callable

源代码在GitHub上查看
python
def async_wrapper(func: Callable[..., Any]) -> Callable[..., Coroutine]:
-    """
-    异步包装器
-    Args:
-        func: Sync Callable
-    Returns:
-        Coroutine: Asynchronous Callable
-    """
 
     async def wrapper(*args, **kwargs):
         return func(*args, **kwargs)
     wrapper.__signature__ = inspect.signature(func)
-    return wrapper
`,30),p=[l];function h(e,k,r,o,d,c){return a(),i("div",null,p)}const u=s(t,[["render",h]]);export{g as __pageData,u as default}; + return wrapper
`,30),h=[l];function e(p,k,r,o,d,E){return a(),i("div",null,h)}const u=s(t,[["render",e]]);export{g as __pageData,u as default}; diff --git a/assets/dev_api_utils.md.B-jOjsY8.lean.js b/assets/dev_api_utils.md.BCCrA2Tn.lean.js similarity index 58% rename from assets/dev_api_utils.md.B-jOjsY8.lean.js rename to assets/dev_api_utils.md.BCCrA2Tn.lean.js index dc52d25e..70d833c7 100644 --- a/assets/dev_api_utils.md.B-jOjsY8.lean.js +++ b/assets/dev_api_utils.md.BCCrA2Tn.lean.js @@ -1 +1 @@ -import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const g=JSON.parse('{"title":"liteyuki.utils","description":"","frontmatter":{"title":"liteyuki.utils"},"headers":[],"relativePath":"dev/api/utils.md","filePath":"zh/dev/api/utils.md","lastUpdated":null}'),t={name:"dev/api/utils.md"},l=n("",30),p=[l];function h(e,k,r,o,d,c){return a(),i("div",null,p)}const u=s(t,[["render",h]]);export{g as __pageData,u as default}; +import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const g=JSON.parse('{"title":"liteyuki.utils","description":"","frontmatter":{"title":"liteyuki.utils"},"headers":[],"relativePath":"dev/api/utils.md","filePath":"zh/dev/api/utils.md","lastUpdated":null}'),t={name:"dev/api/utils.md"},l=n("",30),h=[l];function e(p,k,r,o,d,E){return a(),i("div",null,h)}const u=s(t,[["render",e]]);export{g as __pageData,u as default}; diff --git a/assets/dev_guide.md.Bk5y8hUs.js b/assets/dev_guide.md.Dy0vCFVc.js similarity index 97% rename from assets/dev_guide.md.Bk5y8hUs.js rename to assets/dev_guide.md.Dy0vCFVc.js index 7ba85841..93f26b71 100644 --- a/assets/dev_guide.md.Bk5y8hUs.js +++ b/assets/dev_guide.md.Dy0vCFVc.js @@ -1 +1 @@ -import{C as e}from"./chunks/ContributorBar.B9OqmyVx.js";import{c as o,I as i,a9 as l,o as t}from"./chunks/framework.C4_mTacX.js";import"./chunks/theme.BaW5BF9l.js";const a=l('

开发指南

如何开发

插件开发无需阅读本文档,请阅读插件开发文档API 引用

如需往轻雪仓库提交代码,请阅读以下内容:

  1. 首先fork一份轻雪仓库到你的个人/组织账户下。
  2. 在你的仓库中进行开发。
  3. 在你的仓库中创建一个新的分支,将你的代码提交到这个分支。
  4. 在你的仓库中创建一个Pull Request,将你的分支合并到轻雪仓库的main分支。

参与开发默认你已经了解Python语言和轻雪框架的基本使用方法,如果是文档相关的开发,请确保你了解Markdown语法和基本前端知识。 出现冲突请与仓库维护者联系。

建议

  • 开发过程中可以使用mypy, flake8, black等工具进行代码检查和格式化。
  • 启用开发者模式,可以在config.yml中设置dev_mode: true,这样可以在控制台看到更多的调试信息。

项目结构

  • main.py: 机器人入口文件
  • liteyuki: 框架目录(liteyukibot)
  • src: 机器人源码目录
    • liteyuki_plugins: 轻雪插件目录
    • nonebot_plugins: Nonebot插件目录
    • resources: 内置资源包目录
    • utils: 工具目录
  • tests: 单元测试目录
  • docs: 文档目录
    • en: 英文文档
    • zh: 中文文档
  • docker: Docker相关内容目录

其中,liteyuki框架是包含在LiteyukiBot应用中的,所以此项目既是LiteyukiBot应用仓库,同时也是liteyuki框架的仓库

src目录下为应用程序部分,业务逻辑请在此目录下进行开发,liteyuki_pluginsnonebot_plugins目录下为插件目录,插件开发请在此目录下进行开发。

规范化

  • 代码请遵循PEP8Google Python Style Guide
  • 提交到轻雪仓库的代码,请遵循以下规范:
    • 请确保代码是可运行的,没有危害的。
    • 请确保代码的类型提示是正确的。
    • 请确保注释风格为Google DocstringLiteyuki Docstring(推荐)以保证Litedoc能够正确解析并生成文档。
    • 字符串请使用双引号",尽量避免使用单引号',但在嵌套字符串时可以使用单引号。
    • 若有面向普通用户部分,请确保文档是完善的(每种语言都有对应的文档)。
  • commit message请遵循以下规范:
    • 应在每次完成一个功能或修复一个bug后提交代码,不要将多个功能或多个bug的代码混在一起提交。
    • 我们使用gitmoji来标记commit的类型,如:sparkles:表示引入新功能,:bug:表示修复bug等,具体请参考gitmoji
    • commit message的格式为<emoji> [type:] <message>,如:sparkles: feat: 给event添加新字段, 其中type字段为commit类型且可选,message字段为简短的描述,总结来说就是你干了什么。
    • 不限制commit message的语言,有条件可以使用中英双语。
  • 文档请遵循Markdown语法,并且支持vitepress相关内容:
    • 修订文档时,每个语言的文档都要修订。
    • 请确保文档内的链接是正确的,不要出现无法访问的死链接。
    • 请确保用户文档是通俗易懂的,开发文档是详细的。

最后

  • 本项目是一个非盈利的开源项目,我们欢迎任何人参与开发,你的贡献将会使轻雪变得更好。
',16),g=JSON.parse('{"title":"开发指南","description":"","frontmatter":{"title":"开发指南","order":0},"headers":[],"relativePath":"dev/guide.md","filePath":"zh/dev/guide.md","lastUpdated":1725389024000}'),r={name:"dev/guide.md"},m=Object.assign(r,{setup(d){return(c,u)=>(t(),o("div",null,[a,i(e)]))}});export{g as __pageData,m as default}; +import{C as e}from"./chunks/ContributorBar.jTMkL6UJ.js";import{c as o,I as i,a9 as l,o as t}from"./chunks/framework.C4_mTacX.js";import"./chunks/theme.CUFI0Yt1.js";const a=l('

开发指南

如何开发

插件开发无需阅读本文档,请阅读插件开发文档API 引用

如需往轻雪仓库提交代码,请阅读以下内容:

  1. 首先fork一份轻雪仓库到你的个人/组织账户下。
  2. 在你的仓库中进行开发。
  3. 在你的仓库中创建一个新的分支,将你的代码提交到这个分支。
  4. 在你的仓库中创建一个Pull Request,将你的分支合并到轻雪仓库的main分支。

参与开发默认你已经了解Python语言和轻雪框架的基本使用方法,如果是文档相关的开发,请确保你了解Markdown语法和基本前端知识。 出现冲突请与仓库维护者联系。

建议

  • 开发过程中可以使用mypy, flake8, black等工具进行代码检查和格式化。
  • 启用开发者模式,可以在config.yml中设置dev_mode: true,这样可以在控制台看到更多的调试信息。

项目结构

  • main.py: 机器人入口文件
  • liteyuki: 框架目录(liteyukibot)
  • src: 机器人源码目录
    • liteyuki_plugins: 轻雪插件目录
    • nonebot_plugins: Nonebot插件目录
    • resources: 内置资源包目录
    • utils: 工具目录
  • tests: 单元测试目录
  • docs: 文档目录
    • en: 英文文档
    • zh: 中文文档
  • docker: Docker相关内容目录

其中,liteyuki框架是包含在LiteyukiBot应用中的,所以此项目既是LiteyukiBot应用仓库,同时也是liteyuki框架的仓库

src目录下为应用程序部分,业务逻辑请在此目录下进行开发,liteyuki_pluginsnonebot_plugins目录下为插件目录,插件开发请在此目录下进行开发。

规范化

  • 代码请遵循PEP8Google Python Style Guide
  • 提交到轻雪仓库的代码,请遵循以下规范:
    • 请确保代码是可运行的,没有危害的。
    • 请确保代码的类型提示是正确的。
    • 请确保注释风格为Google DocstringLiteyuki Docstring(推荐)以保证Litedoc能够正确解析并生成文档。
    • 字符串请使用双引号",尽量避免使用单引号',但在嵌套字符串时可以使用单引号。
    • 若有面向普通用户部分,请确保文档是完善的(每种语言都有对应的文档)。
  • commit message请遵循以下规范:
    • 应在每次完成一个功能或修复一个bug后提交代码,不要将多个功能或多个bug的代码混在一起提交。
    • 我们使用gitmoji来标记commit的类型,如:sparkles:表示引入新功能,:bug:表示修复bug等,具体请参考gitmoji
    • commit message的格式为<emoji> [type:] <message>,如:sparkles: feat: 给event添加新字段, 其中type字段为commit类型且可选,message字段为简短的描述,总结来说就是你干了什么。
    • 不限制commit message的语言,有条件可以使用中英双语。
  • 文档请遵循Markdown语法,并且支持vitepress相关内容:
    • 修订文档时,每个语言的文档都要修订。
    • 请确保文档内的链接是正确的,不要出现无法访问的死链接。
    • 请确保用户文档是通俗易懂的,开发文档是详细的。

最后

  • 本项目是一个非盈利的开源项目,我们欢迎任何人参与开发,你的贡献将会使轻雪变得更好。
',16),g=JSON.parse('{"title":"开发指南","description":"","frontmatter":{"title":"开发指南","order":0},"headers":[],"relativePath":"dev/guide.md","filePath":"zh/dev/guide.md","lastUpdated":1725389024000}'),r={name:"dev/guide.md"},m=Object.assign(r,{setup(d){return(c,u)=>(t(),o("div",null,[a,i(e)]))}});export{g as __pageData,m as default}; diff --git a/assets/dev_guide.md.Bk5y8hUs.lean.js b/assets/dev_guide.md.Dy0vCFVc.lean.js similarity index 75% rename from assets/dev_guide.md.Bk5y8hUs.lean.js rename to assets/dev_guide.md.Dy0vCFVc.lean.js index 2abee798..1bf390ea 100644 --- a/assets/dev_guide.md.Bk5y8hUs.lean.js +++ b/assets/dev_guide.md.Dy0vCFVc.lean.js @@ -1 +1 @@ -import{C as e}from"./chunks/ContributorBar.B9OqmyVx.js";import{c as o,I as i,a9 as l,o as t}from"./chunks/framework.C4_mTacX.js";import"./chunks/theme.BaW5BF9l.js";const a=l("",16),g=JSON.parse('{"title":"开发指南","description":"","frontmatter":{"title":"开发指南","order":0},"headers":[],"relativePath":"dev/guide.md","filePath":"zh/dev/guide.md","lastUpdated":1725389024000}'),r={name:"dev/guide.md"},m=Object.assign(r,{setup(d){return(c,u)=>(t(),o("div",null,[a,i(e)]))}});export{g as __pageData,m as default}; +import{C as e}from"./chunks/ContributorBar.jTMkL6UJ.js";import{c as o,I as i,a9 as l,o as t}from"./chunks/framework.C4_mTacX.js";import"./chunks/theme.CUFI0Yt1.js";const a=l("",16),g=JSON.parse('{"title":"开发指南","description":"","frontmatter":{"title":"开发指南","order":0},"headers":[],"relativePath":"dev/guide.md","filePath":"zh/dev/guide.md","lastUpdated":1725389024000}'),r={name:"dev/guide.md"},m=Object.assign(r,{setup(d){return(c,u)=>(t(),o("div",null,[a,i(e)]))}});export{g as __pageData,m as default}; diff --git a/assets/en_dev_api_bot_index.md.DL6mnrEN.lean.js b/assets/en_dev_api_bot_index.md.DL6mnrEN.lean.js deleted file mode 100644 index 0dd485b9..00000000 --- a/assets/en_dev_api_bot_index.md.DL6mnrEN.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const E=JSON.parse('{"title":"liteyuki.bot","description":"","frontmatter":{"title":"liteyuki.bot","collapsed":true},"headers":[],"relativePath":"en/dev/api/bot/index.md","filePath":"en/dev/api/bot/index.md","lastUpdated":null}'),t={name:"en/dev/api/bot/index.md"},e=n("",86),l=[e];function p(h,k,r,o,d,g){return a(),i("div",null,l)}const y=s(t,[["render",p]]);export{E as __pageData,y as default}; diff --git a/assets/en_dev_api_bot_index.md.DL6mnrEN.js b/assets/en_dev_api_bot_index.md.Etpbg95G.js similarity index 79% rename from assets/en_dev_api_bot_index.md.DL6mnrEN.js rename to assets/en_dev_api_bot_index.md.Etpbg95G.js index 39296951..a7a53c74 100644 --- a/assets/en_dev_api_bot_index.md.DL6mnrEN.js +++ b/assets/en_dev_api_bot_index.md.Etpbg95G.js @@ -1,10 +1,5 @@ -import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const E=JSON.parse('{"title":"liteyuki.bot","description":"","frontmatter":{"title":"liteyuki.bot","collapsed":true},"headers":[],"relativePath":"en/dev/api/bot/index.md","filePath":"en/dev/api/bot/index.md","lastUpdated":null}'),t={name:"en/dev/api/bot/index.md"},e=n(`

Module liteyuki.bot

class LiteyukiBot

func __init__(self, **kwargs) -> None

Description: 初始化轻雪实例

Arguments:

  • **kwargs: 配置
Source code or View on GitHub
python
def __init__(self, **kwargs) -> None:
-    """
-        初始化轻雪实例
-        Args:
-            **kwargs: 配置
-        """
-    '常规操作'
+import{_ as s,c as i,o as a,a9 as t}from"./chunks/framework.C4_mTacX.js";const c=JSON.parse('{"title":"liteyuki.bot","description":"","frontmatter":{"title":"liteyuki.bot","collapsed":true},"headers":[],"relativePath":"en/dev/api/bot/index.md","filePath":"en/dev/api/bot/index.md","lastUpdated":null}'),n={name:"en/dev/api/bot/index.md"},e=t(`

Module liteyuki.bot

class LiteyukiBot

func __init__(self, **kwargs) -> None

Description: 初始化轻雪实例

Arguments:

  • **kwargs: 配置
Source code or View on GitHub
python
def __init__(self, **kwargs) -> None:
+    """常规操作"""
     print_logo()
     global _BOT_INSTANCE
     _BOT_INSTANCE = self
@@ -23,9 +18,6 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const E
     self.call_restart_count = 0
     '加载插件加载器'
     load_plugin('liteyuki.plugins.plugin_loader')

func run(self)

Description: 外部启动接口

Source code or View on GitHub
python
def run(self):
-    """
-        外部启动接口
-        """
     self.process_manager.start_all()
     try:
         asyncio.run(self._run())
@@ -33,9 +25,6 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const E
         logger.opt(colors=True).info('<y>Liteyuki is stopping...</y>')
         self.stop()
     logger.opt(colors=True).info('<y>Liteyuki is stopped...</y>')

async func keep_alive(self)

Description: 保持轻雪运行

Source code or View on GitHub
python
async def keep_alive(self):
-    """
-        保持轻雪运行
-        """
     logger.info('Liteyuki is keeping alive...')
     try:
         while not self.stop_event.is_set():
@@ -43,11 +32,6 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const E
     except Exception:
         logger.info('Liteyuki is exiting...')
         self.stop()

func restart(self, delay: int = 0)

Description: 重启轻雪本体

Arguments:

  • delay (int, optional): 延迟重启时间. Defaults to 0.
Source code or View on GitHub
python
def restart(self, delay: int=0):
-    """
-        重启轻雪本体
-        Args:
-            delay ([\`int\`](https%3A//docs.python.org/3/library/functions.html#int), optional): 延迟重启时间. Defaults to 0.
-        """
     if self.call_restart_count < 1:
         executable = sys.executable
         args = sys.argv
@@ -65,12 +49,6 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const E
         threading.Thread(target=os.system, args=(f"{cmd} {executable} {' '.join(args)}",), daemon=True).start()
         sys.exit(0)
     self.call_restart_count += 1

func restart_process(self, name: Optional[str] = None)

Description: 停止轻雪

Arguments:

Source code or View on GitHub
python
def restart_process(self, name: Optional[str]=None):
-    """
-        停止轻雪
-        Args:
-            name ([\`Optional\`](https%3A//docs.python.org/3/library/typing.html#typing.Optional)[[\`str\`](https%3A//docs.python.org/3/library/stdtypes.html#str)]): 进程名. Defaults to None.
-        Returns:
-        """
     if name is not None:
         chan_active = get_channel(f'{name}-active')
         chan_active.send(1)
@@ -78,104 +56,27 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const E
         for process_name in self.process_manager.processes:
             chan_active = get_channel(f'{process_name}-active')
             chan_active.send(1)

func init(self, *args, **kwargs)

Description: 初始化轻雪, 自动调用

Arguments:

  • *args: 参数
  • **kwargs: 关键字参数
Source code or View on GitHub
python
def init(self, *args, **kwargs):
-    """
-        初始化轻雪, 自动调用
-        Args:
-            *args: 参数
-            **kwargs: 关键字参数
-        """
     self.init_logger()

func init_logger(self)

Description: 初始化日志

Source code or View on GitHub
python
def init_logger(self):
-    """
-        初始化日志
-        """
     init_log(config=self.config)

func stop(self)

Description: 停止轻雪

Source code or View on GitHub
python
def stop(self):
-    """
-        停止轻雪
-        """
     self.process_manager.terminate_all()
     self.stop_event.set()

func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

Description: 注册启动前的函数

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:
-    """
-        注册启动前的函数
-        Args:
-            func ([\`LIFESPAN_FUNC\`](./lifespan#var-lifespan-func)): 生命周期函数
-        Returns:
-            [\`LIFESPAN_FUNC\`](./lifespan#var-lifespan-func): 生命周期函数
-        """
     return self.lifespan.on_before_start(func)

func on_after_start(self, func: LIFESPAN_FUNC)

Description: 注册启动后的函数

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_after_start(self, func: LIFESPAN_FUNC):
-    """
-        注册启动后的函数
-        Args:
-            func ([\`LIFESPAN_FUNC\`](./lifespan#var-lifespan-func)): 生命周期函数
-        Returns:
-            [\`LIFESPAN_FUNC\`](./lifespan#var-lifespan-func): 生命周期函数
-        """
     return self.lifespan.on_after_start(func)

func on_after_shutdown(self, func: LIFESPAN_FUNC)

Description: 注册停止后的函数:未实现

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_after_shutdown(self, func: LIFESPAN_FUNC):
-    """
-        注册停止后的函数:未实现
-        Args:
-            func ([\`LIFESPAN_FUNC\`](./lifespan#var-lifespan-func)): 生命周期函数
-        Returns:
-            [\`LIFESPAN_FUNC\`](./lifespan#var-lifespan-func): 生命周期函数
-        """
     return self.lifespan.on_after_shutdown(func)

func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC)

Description: 注册进程停止前的函数,为子进程停止时调用

Arguments:

Return: PROCESS_LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC):
-    """
-        注册进程停止前的函数,为子进程停止时调用
-        Args:
-            func ([\`PROCESS_LIFESPAN_FUNC\`](./lifespan#var-process-lifespan-func)): 生命周期函数
-        Returns:
-            [\`PROCESS_LIFESPAN_FUNC\`](./lifespan#var-process-lifespan-func): 生命周期函数
-        """
     return self.lifespan.on_before_process_shutdown(func)

func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC

Description: 注册进程重启前的函数,为子进程重启时调用

Arguments:

Return: PROCESS_LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC:
-    """
-        注册进程重启前的函数,为子进程重启时调用
-        Args:
-            func ([\`PROCESS_LIFESPAN_FUNC\`](./lifespan#var-process-lifespan-func)): 生命周期函数
-        Returns:
-            [\`PROCESS_LIFESPAN_FUNC\`](./lifespan#var-process-lifespan-func): 生命周期函数
-        """
     return self.lifespan.on_before_process_restart(func)

func on_after_restart(self, func: LIFESPAN_FUNC)

Description: 注册重启后的函数:未实现

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_after_restart(self, func: LIFESPAN_FUNC):
-    """
-        注册重启后的函数:未实现
-        Args:
-            func ([\`LIFESPAN_FUNC\`](./lifespan#var-lifespan-func)): 生命周期函数
-        Returns:
-            [\`LIFESPAN_FUNC\`](./lifespan#var-lifespan-func): 生命周期函数
-        """
     return self.lifespan.on_after_restart(func)

func get_bot() -> LiteyukiBot

Description: 获取轻雪实例

Return: LiteyukiBot: 轻雪实例

Source code or View on GitHub
python
def get_bot() -> LiteyukiBot:
-    """
-    获取轻雪实例
-    Returns:
-        [\`LiteyukiBot\`](#class-liteyukibot): 轻雪实例
-    """
     if IS_MAIN_PROCESS:
         if _BOT_INSTANCE is None:
             raise RuntimeError('Liteyuki instance not initialized.')
         return _BOT_INSTANCE
     else:
         raise RuntimeError("Can't get bot instance in sub process.")

func get_config(key: str, default: Any = None) -> Any

Description: 获取配置

Arguments:

  • key (str): 配置键
  • default (Any, optional): 默认值. Defaults to None.

Return: Any: 配置值

Source code or View on GitHub
python
def get_config(key: str, default: Any=None) -> Any:
-    """
-    获取配置
-    Args:
-        key ([\`str\`](https%3A//docs.python.org/3/library/stdtypes.html#str)): 配置键
-        default ([\`Any\`](https%3A//docs.python.org/3/library/functions.html#any), optional): 默认值. Defaults to None.
-    Returns:
-        [\`Any\`](https%3A//docs.python.org/3/library/functions.html#any): 配置值
-    """
     return get_bot().config.get(key, default)

func get_config_with_compat(key: str, compat_keys: tuple[str], default: Any = None) -> Any

Description: 获取配置,兼容旧版本

Arguments:

  • key (str): 配置键
  • compat_keys (tuplestr): 兼容键
  • default (Any, optional): 默认值. Defaults to None.

Return: Any: 配置值

Source code or View on GitHub
python
def get_config_with_compat(key: str, compat_keys: tuple[str], default: Any=None) -> Any:
-    """
-    获取配置,兼容旧版本
-    Args:
-        key ([\`str\`](https%3A//docs.python.org/3/library/stdtypes.html#str)): 配置键
-        compat_keys ([\`tuple\`](https%3A//docs.python.org/3/library/stdtypes.html#tuple)[\`str\`](https%3A//docs.python.org/3/library/stdtypes.html#str)): 兼容键
-        default ([\`Any\`](https%3A//docs.python.org/3/library/functions.html#any), optional): 默认值. Defaults to None.
-
-    Returns:
-        [\`Any\`](https%3A//docs.python.org/3/library/functions.html#any): 配置值
-    """
     if key in get_bot().config:
         return get_bot().config[key]
     for compat_key in compat_keys:
         if compat_key in get_bot().config:
             logger.warning(f'Config key "{compat_key}" will be deprecated, use "{key}" instead.')
             return get_bot().config[compat_key]
-    return default
`,86),l=[e];function p(h,k,r,o,d,g){return a(),i("div",null,l)}const y=s(t,[["render",p]]);export{E as __pageData,y as default}; + return default
`,86),l=[e];function h(p,k,r,o,d,g){return a(),i("div",null,l)}const y=s(n,[["render",h]]);export{c as __pageData,y as default}; diff --git a/assets/en_dev_api_bot_index.md.Etpbg95G.lean.js b/assets/en_dev_api_bot_index.md.Etpbg95G.lean.js new file mode 100644 index 00000000..b99ab286 --- /dev/null +++ b/assets/en_dev_api_bot_index.md.Etpbg95G.lean.js @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a9 as t}from"./chunks/framework.C4_mTacX.js";const c=JSON.parse('{"title":"liteyuki.bot","description":"","frontmatter":{"title":"liteyuki.bot","collapsed":true},"headers":[],"relativePath":"en/dev/api/bot/index.md","filePath":"en/dev/api/bot/index.md","lastUpdated":null}'),n={name:"en/dev/api/bot/index.md"},e=t("",86),l=[e];function h(p,k,r,o,d,g){return a(),i("div",null,l)}const y=s(n,[["render",h]]);export{c as __pageData,y as default}; diff --git a/assets/en_dev_api_bot_lifespan.md.B5dt163D.js b/assets/en_dev_api_bot_lifespan.md.B5dt163D.js new file mode 100644 index 00000000..7c1c96bc --- /dev/null +++ b/assets/en_dev_api_bot_lifespan.md.B5dt163D.js @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const u=JSON.parse('{"title":"liteyuki.bot.lifespan","description":"","frontmatter":{"title":"liteyuki.bot.lifespan"},"headers":[],"relativePath":"en/dev/api/bot/lifespan.md","filePath":"en/dev/api/bot/lifespan.md","lastUpdated":1725101868000}'),e={name:"en/dev/api/bot/lifespan.md"},t=n('

Module liteyuki.bot.lifespan

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午8:24 @Author : snowykami @Email : snowykami@outlook.com @File : lifespan.py @Software: PyCharm

var SYNC_LIFESPAN_FUNC

  • Description: 同步生命周期函数

  • Type: TypeAlias

  • Default: Callable[[], Any]

var ASYNC_LIFESPAN_FUNC

  • Description: 异步生命周期函数

  • Type: TypeAlias

  • Default: Callable[[], Awaitable[Any]]

var LIFESPAN_FUNC

  • Description: 生命周期函数

  • Type: TypeAlias

  • Default: SYNC_LIFESPAN_FUNC | ASYNC_LIFESPAN_FUNC

var SYNC_PROCESS_LIFESPAN_FUNC

  • Description: 同步进程生命周期函数

  • Type: TypeAlias

  • Default: Callable[[str], Any]

var ASYNC_PROCESS_LIFESPAN_FUNC

  • Description: 异步进程生命周期函数

  • Type: TypeAlias

  • Default: Callable[[str], Awaitable[Any]]

var PROCESS_LIFESPAN_FUNC

  • Description: 进程函数

  • Type: TypeAlias

  • Default: SYNC_PROCESS_LIFESPAN_FUNC | ASYNC_PROCESS_LIFESPAN_FUNC

class Lifespan

func __init__(self) -> None

Description: 轻雪生命周期管理,启动、停止、重启

Source code or View on GitHub
python
def __init__(self) -> None:\n    self.life_flag: int = 0\n    self._before_start_funcs: list[LIFESPAN_FUNC] = []\n    self._after_start_funcs: list[LIFESPAN_FUNC] = []\n    self._before_process_shutdown_funcs: list[PROCESS_LIFESPAN_FUNC] = []\n    self._after_shutdown_funcs: list[LIFESPAN_FUNC] = []\n    self._before_process_restart_funcs: list[PROCESS_LIFESPAN_FUNC] = []\n    self._after_restart_funcs: list[LIFESPAN_FUNC] = []

@staticmethod

async func run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None

Description: 并发运行异步函数

Arguments:

Source code or View on GitHub
python
@staticmethod\nasync def run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None:\n    tasks = [func(*args, **kwargs) if is_coroutine_callable(func) else async_wrapper(func)(*args, **kwargs) for func in funcs]\n    await asyncio.gather(*tasks)

func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

Description: 注册启动时的函数

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._before_start_funcs.append(func)\n    return func

func on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

Description: 注册启动时的函数

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._after_start_funcs.append(func)\n    return func

func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC

Description: 注册进程停止前的函数

Arguments:

Return: PROCESS_LIFESPAN_FUNC: 进程生命周期函数

Source code or View on GitHub
python
def on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC:\n    self._before_process_shutdown_funcs.append(func)\n    return func

func on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

Description: 注册停止后的函数

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._after_shutdown_funcs.append(func)\n    return func

func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC

Description: 注册进程重启前的函数

Arguments:

Return: PROCESS_LIFESPAN_FUNC: 进程生命周期函数

Source code or View on GitHub
python
def on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC:\n    self._before_process_restart_funcs.append(func)\n    return func

func on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

Description: 注册重启后的函数

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:\n    self._after_restart_funcs.append(func)\n    return func

async func before_start(self) -> None

Description: 启动前钩子

Source code or View on GitHub
python
async def before_start(self) -> None:\n    logger.debug('Running before_start functions')\n    await self.run_funcs(self._before_start_funcs)

async func after_start(self) -> None

Description: 启动后钩子

Source code or View on GitHub
python
async def after_start(self) -> None:\n    logger.debug('Running after_start functions')\n    await self.run_funcs(self._after_start_funcs)

async func before_process_shutdown(self, *args, **kwargs) -> None

Description: 停止前钩子

Source code or View on GitHub
python
async def before_process_shutdown(self, *args, **kwargs) -> None:\n    logger.debug('Running before_shutdown functions')\n    await self.run_funcs(self._before_process_shutdown_funcs, *args, **kwargs)

async func after_shutdown(self) -> None

Description: 停止后钩子 未实现

Source code or View on GitHub
python
async def after_shutdown(self) -> None:\n    logger.debug('Running after_shutdown functions')\n    await self.run_funcs(self._after_shutdown_funcs)

async func before_process_restart(self, *args, **kwargs) -> None

Description: 重启前钩子

Source code or View on GitHub
python
async def before_process_restart(self, *args, **kwargs) -> None:\n    logger.debug('Running before_restart functions')\n    await self.run_funcs(self._before_process_restart_funcs, *args, **kwargs)

async func after_restart(self) -> None

Description: 重启后钩子 未实现

Source code or View on GitHub
python
async def after_restart(self) -> None:\n    logger.debug('Running after_restart functions')\n    await self.run_funcs(self._after_restart_funcs)
',79),l=[t];function h(p,r,k,o,c,d){return a(),i("div",null,l)}const E=s(e,[["render",h]]);export{u as __pageData,E as default}; diff --git a/assets/en_dev_api_bot_lifespan.md.B5dt163D.lean.js b/assets/en_dev_api_bot_lifespan.md.B5dt163D.lean.js new file mode 100644 index 00000000..0e9d0b04 --- /dev/null +++ b/assets/en_dev_api_bot_lifespan.md.B5dt163D.lean.js @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const u=JSON.parse('{"title":"liteyuki.bot.lifespan","description":"","frontmatter":{"title":"liteyuki.bot.lifespan"},"headers":[],"relativePath":"en/dev/api/bot/lifespan.md","filePath":"en/dev/api/bot/lifespan.md","lastUpdated":1725101868000}'),e={name:"en/dev/api/bot/lifespan.md"},t=n("",79),l=[t];function h(p,r,k,o,c,d){return a(),i("div",null,l)}const E=s(e,[["render",h]]);export{u as __pageData,E as default}; diff --git a/assets/en_dev_api_bot_lifespan.md.DTXU8rb1.js b/assets/en_dev_api_bot_lifespan.md.DTXU8rb1.js deleted file mode 100644 index da5a504c..00000000 --- a/assets/en_dev_api_bot_lifespan.md.DTXU8rb1.js +++ /dev/null @@ -1,104 +0,0 @@ -import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const g=JSON.parse('{"title":"liteyuki.bot.lifespan","description":"","frontmatter":{"title":"liteyuki.bot.lifespan"},"headers":[],"relativePath":"en/dev/api/bot/lifespan.md","filePath":"en/dev/api/bot/lifespan.md","lastUpdated":1725101868000}'),t={name:"en/dev/api/bot/lifespan.md"},e=n(`

Module liteyuki.bot.lifespan

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午8:24 @Author : snowykami @Email : snowykami@outlook.com @File : lifespan.py @Software: PyCharm

var SYNC_LIFESPAN_FUNC

  • Description: 同步生命周期函数

  • Type: TypeAlias

  • Default: Callable[[], Any]

var ASYNC_LIFESPAN_FUNC

  • Description: 异步生命周期函数

  • Type: TypeAlias

  • Default: Callable[[], Awaitable[Any]]

var LIFESPAN_FUNC

  • Description: 生命周期函数

  • Type: TypeAlias

  • Default: SYNC_LIFESPAN_FUNC | ASYNC_LIFESPAN_FUNC

var SYNC_PROCESS_LIFESPAN_FUNC

  • Description: 同步进程生命周期函数

  • Type: TypeAlias

  • Default: Callable[[str], Any]

var ASYNC_PROCESS_LIFESPAN_FUNC

  • Description: 异步进程生命周期函数

  • Type: TypeAlias

  • Default: Callable[[str], Awaitable[Any]]

var PROCESS_LIFESPAN_FUNC

  • Description: 进程函数

  • Type: TypeAlias

  • Default: SYNC_PROCESS_LIFESPAN_FUNC | ASYNC_PROCESS_LIFESPAN_FUNC

class Lifespan

func __init__(self) -> None

Description: 轻雪生命周期管理,启动、停止、重启

Source code or View on GitHub
python
def __init__(self) -> None:
-    """
-        轻雪生命周期管理,启动、停止、重启
-        """
-    self.life_flag: int = 0
-    self._before_start_funcs: list[LIFESPAN_FUNC] = []
-    self._after_start_funcs: list[LIFESPAN_FUNC] = []
-    self._before_process_shutdown_funcs: list[PROCESS_LIFESPAN_FUNC] = []
-    self._after_shutdown_funcs: list[LIFESPAN_FUNC] = []
-    self._before_process_restart_funcs: list[PROCESS_LIFESPAN_FUNC] = []
-    self._after_restart_funcs: list[LIFESPAN_FUNC] = []

@staticmethod

async func run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None

Description: 并发运行异步函数

Arguments:

Source code or View on GitHub
python
@staticmethod
-async def run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None:
-    """
-        并发运行异步函数
-        Args:
-            funcs ([\`Sequence\`](https%3A//docs.python.org/3/library/typing.html#typing.Sequence)[[\`ASYNC_LIFESPAN_FUNC\`](#var-lifespan-func) | [\`PROCESS_LIFESPAN_FUNC\`](#var-process-lifespan-func)]): 函数列表
-        Returns:
-        """
-    tasks = [func(*args, **kwargs) if is_coroutine_callable(func) else async_wrapper(func)(*args, **kwargs) for func in funcs]
-    await asyncio.gather(*tasks)

func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

Description: 注册启动时的函数

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:
-    """
-        注册启动时的函数
-        Args:
-            func ([\`LIFESPAN_FUNC\`](#var-lifespan-func)): 生命周期函数
-        Returns:
-            [\`LIFESPAN_FUNC\`](#var-lifespan-func): 生命周期函数
-        """
-    self._before_start_funcs.append(func)
-    return func

func on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

Description: 注册启动时的函数

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:
-    """
-        注册启动时的函数
-        Args:
-            func ([\`LIFESPAN_FUNC\`](#var-lifespan-func)): 生命周期函数
-        Returns:
-            [\`LIFESPAN_FUNC\`](#var-lifespan-func): 生命周期函数
-        """
-    self._after_start_funcs.append(func)
-    return func

func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC

Description: 注册进程停止前的函数

Arguments:

Return: PROCESS_LIFESPAN_FUNC: 进程生命周期函数

Source code or View on GitHub
python
def on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC:
-    """
-        注册进程停止前的函数
-        Args:
-            func ([\`PROCESS_LIFESPAN_FUNC\`](#var-process-lifespan-func)): 进程生命周期函数
-        Returns:
-            [\`PROCESS_LIFESPAN_FUNC\`](#var-process-lifespan-func): 进程生命周期函数
-        """
-    self._before_process_shutdown_funcs.append(func)
-    return func

func on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

Description: 注册停止后的函数

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:
-    """
-        注册停止后的函数
-        Args:
-            func ([\`LIFESPAN_FUNC\`](#var-lifespan-func)): 生命周期函数
-        Returns:
-            [\`LIFESPAN_FUNC\`](#var-lifespan-func): 生命周期函数
-        """
-    self._after_shutdown_funcs.append(func)
-    return func

func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC

Description: 注册进程重启前的函数

Arguments:

Return: PROCESS_LIFESPAN_FUNC: 进程生命周期函数

Source code or View on GitHub
python
def on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC:
-    """
-        注册进程重启前的函数
-        Args:
-            func ([\`PROCESS_LIFESPAN_FUNC\`](#var-process-lifespan-func)): 进程生命周期函数
-        Returns:
-            [\`PROCESS_LIFESPAN_FUNC\`](#var-process-lifespan-func): 进程生命周期函数
-        """
-    self._before_process_restart_funcs.append(func)
-    return func

func on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

Description: 注册重启后的函数

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:
-    """
-        注册重启后的函数
-        Args:
-            func ([\`LIFESPAN_FUNC\`](#var-lifespan-func)): 生命周期函数
-        Returns:
-            [\`LIFESPAN_FUNC\`](#var-lifespan-func): 生命周期函数
-        """
-    self._after_restart_funcs.append(func)
-    return func

async func before_start(self) -> None

Description: 启动前钩子

Source code or View on GitHub
python
async def before_start(self) -> None:
-    """
-        启动前钩子
-        """
-    logger.debug('Running before_start functions')
-    await self.run_funcs(self._before_start_funcs)

async func after_start(self) -> None

Description: 启动后钩子

Source code or View on GitHub
python
async def after_start(self) -> None:
-    """
-        启动后钩子
-        """
-    logger.debug('Running after_start functions')
-    await self.run_funcs(self._after_start_funcs)

async func before_process_shutdown(self, *args, **kwargs) -> None

Description: 停止前钩子

Source code or View on GitHub
python
async def before_process_shutdown(self, *args, **kwargs) -> None:
-    """
-        停止前钩子
-        """
-    logger.debug('Running before_shutdown functions')
-    await self.run_funcs(self._before_process_shutdown_funcs, *args, **kwargs)

async func after_shutdown(self) -> None

Description: 停止后钩子 未实现

Source code or View on GitHub
python
async def after_shutdown(self) -> None:
-    """
-        停止后钩子 未实现
-        """
-    logger.debug('Running after_shutdown functions')
-    await self.run_funcs(self._after_shutdown_funcs)

async func before_process_restart(self, *args, **kwargs) -> None

Description: 重启前钩子

Source code or View on GitHub
python
async def before_process_restart(self, *args, **kwargs) -> None:
-    """
-        重启前钩子
-        """
-    logger.debug('Running before_restart functions')
-    await self.run_funcs(self._before_process_restart_funcs, *args, **kwargs)

async func after_restart(self) -> None

Description: 重启后钩子 未实现

Source code or View on GitHub
python
async def after_restart(self) -> None:
-    """
-        重启后钩子 未实现
-        """
-    logger.debug('Running after_restart functions')
-    await self.run_funcs(self._after_restart_funcs)
`,79),l=[e];function p(h,r,k,o,c,d){return a(),i("div",null,l)}const E=s(t,[["render",p]]);export{g as __pageData,E as default}; diff --git a/assets/en_dev_api_bot_lifespan.md.DTXU8rb1.lean.js b/assets/en_dev_api_bot_lifespan.md.DTXU8rb1.lean.js deleted file mode 100644 index da97a7c5..00000000 --- a/assets/en_dev_api_bot_lifespan.md.DTXU8rb1.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const g=JSON.parse('{"title":"liteyuki.bot.lifespan","description":"","frontmatter":{"title":"liteyuki.bot.lifespan"},"headers":[],"relativePath":"en/dev/api/bot/lifespan.md","filePath":"en/dev/api/bot/lifespan.md","lastUpdated":1725101868000}'),t={name:"en/dev/api/bot/lifespan.md"},e=n("",79),l=[e];function p(h,r,k,o,c,d){return a(),i("div",null,l)}const E=s(t,[["render",p]]);export{g as __pageData,E as default}; diff --git a/assets/en_dev_api_comm_channel.md.Dn9eV_fi.js b/assets/en_dev_api_comm_channel.md.Db8NECOS.js similarity index 89% rename from assets/en_dev_api_comm_channel.md.Dn9eV_fi.js rename to assets/en_dev_api_comm_channel.md.Db8NECOS.js index c22d8d55..235d75c7 100644 --- a/assets/en_dev_api_comm_channel.md.Dn9eV_fi.js +++ b/assets/en_dev_api_comm_channel.md.Db8NECOS.js @@ -1,10 +1,4 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const g=JSON.parse('{"title":"liteyuki.comm.channel","description":"","frontmatter":{"title":"liteyuki.comm.channel"},"headers":[],"relativePath":"en/dev/api/comm/channel.md","filePath":"en/dev/api/comm/channel.md","lastUpdated":1725101868000}'),e={name:"en/dev/api/comm/channel.md"},l=n(`

Module liteyuki.comm.channel

本模块定义了一个通用的通道类,用于进程间通信

var SYNC_ON_RECEIVE_FUNC

  • Description: 同步接收函数

  • Type: TypeAlias

  • Default: Callable[[T], Any]

var ASYNC_ON_RECEIVE_FUNC

  • Description: 异步接收函数

  • Type: TypeAlias

  • Default: Callable[[T], Coroutine[Any, Any, Any]]

var ON_RECEIVE_FUNC

  • Description: 接收函数

  • Type: TypeAlias

  • Default: SYNC_ON_RECEIVE_FUNC | ASYNC_ON_RECEIVE_FUNC

var SYNC_FILTER_FUNC

  • Description: 同步过滤函数

  • Type: TypeAlias

  • Default: Callable[[T], bool]

var ASYNC_FILTER_FUNC

  • Description: 异步过滤函数

  • Type: TypeAlias

  • Default: Callable[[T], Coroutine[Any, Any, bool]]

var FILTER_FUNC

  • Description: 过滤函数

  • Type: TypeAlias

  • Default: SYNC_FILTER_FUNC | ASYNC_FILTER_FUNC

class Channel(Generic[T])

func __init__(self, name: str, type_check: Optional[bool] = None)

Description: 初始化通道

Arguments:

  • name: 通道ID
  • type_check: 是否开启类型检查, 若为空,则传入泛型默认开启,否则默认关闭
Source code or View on GitHub
python
def __init__(self, name: str, type_check: Optional[bool]=None):
-    """
-        初始化通道
-        Args:
-            name: 通道ID
-            type_check: 是否开启类型检查, 若为空,则传入泛型默认开启,否则默认关闭
-        """
     self.conn_send, self.conn_recv = Pipe()
     self._conn_send_inner, self._conn_recv_inner = Pipe()
     self._closed = False
@@ -27,11 +21,6 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const g
         logger.debug(f'Channel {name} initialized in main process')
     else:
         logger.debug(f'Channel {name} initialized in sub process, should manually set in main process')

func send(self, data: T)

Description: 发送数据,发送函数为同步函数,没有异步的必要

Arguments:

  • data (T): 数据
Source code or View on GitHub
python
def send(self, data: T):
-    """
-        发送数据,发送函数为同步函数,没有异步的必要
-        Args:
-            data (T): 数据
-        """
     if self.type_check:
         _type = self._get_generic_type()
         if _type is not None and (not self._validate_structure(data, _type)):
@@ -39,31 +28,14 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const g
     if self._closed:
         raise RuntimeError('Cannot send to a closed channel_')
     self.conn_send.send(data)

func receive(self) -> T

Description: 同步接收数据,会阻塞线程

Return: T: 数据

Source code or View on GitHub
python
def receive(self) -> T:
-    """
-        同步接收数据,会阻塞线程
-        Returns:
-            T: 数据
-        """
     if self._closed:
         raise RuntimeError('Cannot receive from a closed channel_')
     while True:
         data = self.conn_recv.recv()
         return data

async func async_receive(self) -> T

Description: 异步接收数据,会挂起等待

Return: T: 数据

Source code or View on GitHub
python
async def async_receive(self) -> T:
-    """
-        异步接收数据,会挂起等待
-        Returns:
-            T: 数据
-        """
     loop = asyncio.get_running_loop()
     data = await loop.run_in_executor(None, self.receive)
     return data

func on_receive(self, filter_func: Optional[FILTER_FUNC] = None) -> Callable[[Callable[[T], Any]], Callable[[T], Any]]

Description: 接收数据并执行函数

Arguments:

Return: Callable[[Callable[[T], Any]], Callable[[T], Any]]: 装饰器

Source code or View on GitHub
python
def on_receive(self, filter_func: Optional[FILTER_FUNC]=None) -> Callable[[Callable[[T], Any]], Callable[[T], Any]]:
-    """
-        接收数据并执行函数
-        Args:
-            filter_func ([\`Optional\`](https%3A//docs.python.org/3/library/typing.html#typing.Optional)[[\`FILTER_FUNC\`](#var-FILTER_FUNC)], optional): 过滤函数. Defaults to None.
-        Returns:
-            Callable[[Callable[[T], Any]], Callable[[T], Any]]: 装饰器
-        """
     if not IS_MAIN_PROCESS:
         raise RuntimeError('on_receive can only be used in main process')
 
@@ -89,12 +61,6 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const g
         _func_id += 1
         return func
     return decorator

var active_channel

  • Description: 子进程可用的主动和被动通道

  • Type: Channel

  • Default: Channel(name='active_channel')

var passive_channel

  • Description: 被动通道

  • Type: Channel

  • Default: Channel(name='passive_channel')

var publish_channel

  • Description: 通道传递通道,主进程创建单例,子进程初始化时实例化

  • Type: Channel[tuple[str, dict[str, Any]]]

  • Default: Channel(name='publish_channel')

var channel_deliver_active_channel

  • Description: 通道传递通道,主进程创建单例,子进程初始化时实例化

  • Type: Channel[Channel[Any]]

  • Default: NO_DEFAULT

var channel_deliver_passive_channel

  • Description: 被动通道传递通道

  • Type: Channel[tuple[str, dict[str, Any]]]

  • Default: NO_DEFAULT

func set_channel(name: str, channel: Channel)

Description: 设置通道实例

Arguments:

  • name (str): 通道名称
  • channel (Channel): 通道实例
Source code or View on GitHub
python
def set_channel(name: str, channel: 'Channel'):
-    """
-    设置通道实例
-    Args:
-        name ([\`str\`](https%3A//docs.python.org/3/library/stdtypes.html#str)): 通道名称
-        channel ([\`Channel\`](#class-channel-generic-t)): 通道实例
-    """
     if not isinstance(channel, Channel):
         raise TypeError(f'channel_ must be an instance of Channel, {type(channel)} found')
     if IS_MAIN_PROCESS:
@@ -103,31 +69,14 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const g
         _channel[name] = channel
     else:
         channel_deliver_passive_channel.send(('set_channel', {'name': name, 'channel_': channel}))

func set_channels(channels: dict[str, Channel])

Description: 设置通道实例

Arguments:

Source code or View on GitHub
python
def set_channels(channels: dict[str, 'Channel']):
-    """
-    设置通道实例
-    Args:
-        channels ([\`dict\`](https%3A//docs.python.org/3/library/stdtypes.html#dict)[[\`str\`](https%3A//docs.python.org/3/library/stdtypes.html#str), [\`Channel\`](#class-channel-generic-t)]): 通道实例
-    """
     for name, channel in channels.items():
         set_channel(name, channel)

func get_channel(name: str) -> Channel

Description: 获取通道实例

Arguments:

  • name (str): 通道名称

Return: Channel: 通道实例

Source code or View on GitHub
python
def get_channel(name: str) -> 'Channel':
-    """
-    获取通道实例
-    Args:
-        name ([\`str\`](https%3A//docs.python.org/3/library/stdtypes.html#str)): 通道名称
-    Returns:
-        [\`Channel\`](#class-channel-generic-t): 通道实例
-    """
     if IS_MAIN_PROCESS:
         return _channel[name]
     else:
         recv_chan = Channel[Channel[Any]]('recv_chan')
         channel_deliver_passive_channel.send(('get_channel', {'name': name, 'recv_chan': recv_chan}))
         return recv_chan.receive()

func get_channels() -> dict[str, Channel]

Description: 获取通道实例们

Return: dict[str, Channel]: 通道实例

Source code or View on GitHub
python
def get_channels() -> dict[str, 'Channel']:
-    """
-    获取通道实例们
-    Returns:
-        [\`dict\`](https%3A//docs.python.org/3/library/stdtypes.html#dict)[[\`str\`](https%3A//docs.python.org/3/library/stdtypes.html#str), [\`Channel\`](#class-channel-generic-t)]: 通道实例
-    """
     if IS_MAIN_PROCESS:
         return _channel
     else:
diff --git a/assets/en_dev_api_comm_channel.md.Dn9eV_fi.lean.js b/assets/en_dev_api_comm_channel.md.Db8NECOS.lean.js
similarity index 100%
rename from assets/en_dev_api_comm_channel.md.Dn9eV_fi.lean.js
rename to assets/en_dev_api_comm_channel.md.Db8NECOS.lean.js
diff --git a/assets/en_dev_api_comm_rpc.md.CrPeq6TE.js b/assets/en_dev_api_comm_rpc.md.CY-ENZCj.js
similarity index 82%
rename from assets/en_dev_api_comm_rpc.md.CrPeq6TE.js
rename to assets/en_dev_api_comm_rpc.md.CY-ENZCj.js
index 835d1fdb..0af27239 100644
--- a/assets/en_dev_api_comm_rpc.md.CrPeq6TE.js
+++ b/assets/en_dev_api_comm_rpc.md.CY-ENZCj.js
@@ -1 +1 @@
-import{_ as s,c as i,o as a,a9 as t}from"./chunks/framework.C4_mTacX.js";const u=JSON.parse('{"title":"liteyuki.comm.rpc","description":"","frontmatter":{"title":"liteyuki.comm.rpc"},"headers":[],"relativePath":"en/dev/api/comm/rpc.md","filePath":"en/dev/api/comm/rpc.md","lastUpdated":null}'),e={name:"en/dev/api/comm/rpc.md"},n=t('

Module liteyuki.comm.rpc

本模块用于实现RPC(基于IPC)通信

class RPC

func __init__(self, on_calling: ON_CALLING_FUNC) -> None

Source code or View on GitHub
python
def __init__(self, on_calling: ON_CALLING_FUNC) -> None:\n    self.on_calling = on_calling

func call(self, args: tuple, kwargs: dict) -> Any

Description: 调用

Source code or View on GitHub
python
def call(self, args: tuple, kwargs: dict) -> Any:\n    """\n        调用\n        """\n    return self.on_calling(args, kwargs)
',8),l=[n];function o(p,c,h,r,k,d){return a(),i("div",null,l)}const m=s(e,[["render",o]]);export{u as __pageData,m as default}; +import{_ as i,c as s,o as a,a9 as t}from"./chunks/framework.C4_mTacX.js";const u=JSON.parse('{"title":"liteyuki.comm.rpc","description":"","frontmatter":{"title":"liteyuki.comm.rpc"},"headers":[],"relativePath":"en/dev/api/comm/rpc.md","filePath":"en/dev/api/comm/rpc.md","lastUpdated":null}'),e={name:"en/dev/api/comm/rpc.md"},n=t('

Module liteyuki.comm.rpc

本模块用于实现RPC(基于IPC)通信

class RPC

func __init__(self, on_calling: ON_CALLING_FUNC) -> None

Source code or View on GitHub
python
def __init__(self, on_calling: ON_CALLING_FUNC) -> None:\n    self.on_calling = on_calling

func call(self, args: tuple, kwargs: dict) -> Any

Description: 调用

Source code or View on GitHub
python
def call(self, args: tuple, kwargs: dict) -> Any:\n    return self.on_calling(args, kwargs)
',8),l=[n];function c(o,r,p,h,d,k){return a(),s("div",null,l)}const m=i(e,[["render",c]]);export{u as __pageData,m as default}; diff --git a/assets/en_dev_api_comm_rpc.md.CrPeq6TE.lean.js b/assets/en_dev_api_comm_rpc.md.CY-ENZCj.lean.js similarity index 58% rename from assets/en_dev_api_comm_rpc.md.CrPeq6TE.lean.js rename to assets/en_dev_api_comm_rpc.md.CY-ENZCj.lean.js index 086cb4b8..aa98c8d2 100644 --- a/assets/en_dev_api_comm_rpc.md.CrPeq6TE.lean.js +++ b/assets/en_dev_api_comm_rpc.md.CY-ENZCj.lean.js @@ -1 +1 @@ -import{_ as s,c as i,o as a,a9 as t}from"./chunks/framework.C4_mTacX.js";const u=JSON.parse('{"title":"liteyuki.comm.rpc","description":"","frontmatter":{"title":"liteyuki.comm.rpc"},"headers":[],"relativePath":"en/dev/api/comm/rpc.md","filePath":"en/dev/api/comm/rpc.md","lastUpdated":null}'),e={name:"en/dev/api/comm/rpc.md"},n=t("",8),l=[n];function o(p,c,h,r,k,d){return a(),i("div",null,l)}const m=s(e,[["render",o]]);export{u as __pageData,m as default}; +import{_ as i,c as s,o as a,a9 as t}from"./chunks/framework.C4_mTacX.js";const u=JSON.parse('{"title":"liteyuki.comm.rpc","description":"","frontmatter":{"title":"liteyuki.comm.rpc"},"headers":[],"relativePath":"en/dev/api/comm/rpc.md","filePath":"en/dev/api/comm/rpc.md","lastUpdated":null}'),e={name:"en/dev/api/comm/rpc.md"},n=t("",8),l=[n];function c(o,r,p,h,d,k){return a(),s("div",null,l)}const m=i(e,[["render",c]]);export{u as __pageData,m as default}; diff --git a/assets/en_dev_api_comm_socks_channel.md.CndQIApl.js b/assets/en_dev_api_comm_socks_channel.md.CndQIApl.js new file mode 100644 index 00000000..c0908718 --- /dev/null +++ b/assets/en_dev_api_comm_socks_channel.md.CndQIApl.js @@ -0,0 +1 @@ +import{_ as s,c as a,o as i,a9 as e}from"./chunks/framework.C4_mTacX.js";const m=JSON.parse('{"title":"liteyuki.comm.socks_channel","description":"","frontmatter":{"title":"liteyuki.comm.socks_channel"},"headers":[],"relativePath":"en/dev/api/comm/socks_channel.md","filePath":"en/dev/api/comm/socks_channel.md","lastUpdated":null}'),n={name:"en/dev/api/comm/socks_channel.md"},t=e('

Module liteyuki.comm.socks_channel

基于socket的通道

class SocksChannel

func __init__(self, name: str)

Description: 初始化通道

Arguments:

  • name: 通道ID
Source code or View on GitHub
python
def __init__(self, name: str):\n    self._name = name\n    self._conn_send = None\n    self._conn_recv = None\n    self._closed = False

func send(self, data)

Description: 发送数据

Arguments:

  • data: 数据
Source code or View on GitHub
python
def send(self, data):\n    pass

func receive(self)

Description: 接收数据

Return: data: 数据

Source code or View on GitHub
python
def receive(self):\n    pass

func close(self)

Description: 关闭通道

Source code or View on GitHub
python
def close(self):\n    pass
',20),l=[t];function o(h,c,p,r,k,d){return i(),a("div",null,l)}const g=s(n,[["render",o]]);export{m as __pageData,g as default}; diff --git a/assets/en_dev_api_comm_socks_channel.md.CndQIApl.lean.js b/assets/en_dev_api_comm_socks_channel.md.CndQIApl.lean.js new file mode 100644 index 00000000..b4168eb6 --- /dev/null +++ b/assets/en_dev_api_comm_socks_channel.md.CndQIApl.lean.js @@ -0,0 +1 @@ +import{_ as s,c as a,o as i,a9 as e}from"./chunks/framework.C4_mTacX.js";const m=JSON.parse('{"title":"liteyuki.comm.socks_channel","description":"","frontmatter":{"title":"liteyuki.comm.socks_channel"},"headers":[],"relativePath":"en/dev/api/comm/socks_channel.md","filePath":"en/dev/api/comm/socks_channel.md","lastUpdated":null}'),n={name:"en/dev/api/comm/socks_channel.md"},t=e("",20),l=[t];function o(h,c,p,r,k,d){return i(),a("div",null,l)}const g=s(n,[["render",o]]);export{m as __pageData,g as default}; diff --git a/assets/en_dev_api_comm_socks_channel.md.CvJGb0kT.js b/assets/en_dev_api_comm_socks_channel.md.CvJGb0kT.js deleted file mode 100644 index fd2e56de..00000000 --- a/assets/en_dev_api_comm_socks_channel.md.CvJGb0kT.js +++ /dev/null @@ -1,26 +0,0 @@ -import{_ as s,c as a,o as i,a9 as n}from"./chunks/framework.C4_mTacX.js";const g=JSON.parse('{"title":"liteyuki.comm.socks_channel","description":"","frontmatter":{"title":"liteyuki.comm.socks_channel"},"headers":[],"relativePath":"en/dev/api/comm/socks_channel.md","filePath":"en/dev/api/comm/socks_channel.md","lastUpdated":null}'),e={name:"en/dev/api/comm/socks_channel.md"},t=n(`

Module liteyuki.comm.socks_channel

基于socket的通道

class SocksChannel

func __init__(self, name: str)

Description: 初始化通道

Arguments:

  • name: 通道ID
Source code or View on GitHub
python
def __init__(self, name: str):
-    """
-        初始化通道
-        Args:
-            name: 通道ID
-        """
-    self._name = name
-    self._conn_send = None
-    self._conn_recv = None
-    self._closed = False

func send(self, data)

Description: 发送数据

Arguments:

  • data: 数据
Source code or View on GitHub
python
def send(self, data):
-    """
-        发送数据
-        Args:
-            data: 数据
-        """
-    pass

func receive(self)

Description: 接收数据

Return: data: 数据

Source code or View on GitHub
python
def receive(self):
-    """
-        接收数据
-        Returns:
-            data: 数据
-        """
-    pass

func close(self)

Description: 关闭通道

Source code or View on GitHub
python
def close(self):
-    """
-        关闭通道
-        """
-    pass
`,20),l=[t];function h(p,o,k,c,r,d){return i(),a("div",null,l)}const y=s(e,[["render",h]]);export{g as __pageData,y as default}; diff --git a/assets/en_dev_api_comm_socks_channel.md.CvJGb0kT.lean.js b/assets/en_dev_api_comm_socks_channel.md.CvJGb0kT.lean.js deleted file mode 100644 index bcba5781..00000000 --- a/assets/en_dev_api_comm_socks_channel.md.CvJGb0kT.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as s,c as a,o as i,a9 as n}from"./chunks/framework.C4_mTacX.js";const g=JSON.parse('{"title":"liteyuki.comm.socks_channel","description":"","frontmatter":{"title":"liteyuki.comm.socks_channel"},"headers":[],"relativePath":"en/dev/api/comm/socks_channel.md","filePath":"en/dev/api/comm/socks_channel.md","lastUpdated":null}'),e={name:"en/dev/api/comm/socks_channel.md"},t=n("",20),l=[t];function h(p,o,k,c,r,d){return i(),a("div",null,l)}const y=s(e,[["render",h]]);export{g as __pageData,y as default}; diff --git a/assets/en_dev_api_comm_storage.md.Dm0GM8mR.js b/assets/en_dev_api_comm_storage.md.CBNLmX3O.js similarity index 90% rename from assets/en_dev_api_comm_storage.md.Dm0GM8mR.js rename to assets/en_dev_api_comm_storage.md.CBNLmX3O.js index 9c0b11e5..f3e02465 100644 --- a/assets/en_dev_api_comm_storage.md.Dm0GM8mR.js +++ b/assets/en_dev_api_comm_storage.md.CBNLmX3O.js @@ -5,28 +5,12 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const g self.publish_channel = Channel[tuple[str, Any]](name='shared_memory-publish') self.is_main_receive_loop_running = False self.is_sub_receive_loop_running = False

func set(self, key: str, value: Any) -> None

Description: 设置键值对

Arguments:

  • key: 键
  • value: 值
Source code or View on GitHub
python
def set(self, key: str, value: Any) -> None:
-    """
-        设置键值对
-        Args:
-            key: 键
-            value: 值
-
-        """
     if IS_MAIN_PROCESS:
         lock = _get_lock(key)
         with lock:
             self._store[key] = value
     else:
         self.passive_chan.send(('set', {'key': key, 'value': value}))

func get(self, key: str, default: Optional[Any] = None) -> Optional[Any]

Description: 获取键值对

Arguments:

  • key: 键
  • default: 默认值

Return: Any: 值

Source code or View on GitHub
python
def get(self, key: str, default: Optional[Any]=None) -> Optional[Any]:
-    """
-        获取键值对
-        Args:
-            key: 键
-            default: 默认值
-
-        Returns:
-            Any: 值
-        """
     if IS_MAIN_PROCESS:
         lock = _get_lock(key)
         with lock:
@@ -35,14 +19,6 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const g
         recv_chan = Channel[Optional[Any]]('recv_chan')
         self.passive_chan.send(('get', {'key': key, 'default': default, 'recv_chan': recv_chan}))
         return recv_chan.receive()

func delete(self, key: str, ignore_key_error: bool = True) -> None

Description: 删除键值对

Arguments:

  • key: 键
  • ignore_key_error: 是否忽略键不存在的错误
Source code or View on GitHub
python
def delete(self, key: str, ignore_key_error: bool=True) -> None:
-    """
-        删除键值对
-        Args:
-            key: 键
-            ignore_key_error: 是否忽略键不存在的错误
-
-        Returns:
-        """
     if IS_MAIN_PROCESS:
         lock = _get_lock(key)
         with lock:
@@ -55,34 +31,13 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const g
                         raise e
     else:
         self.passive_chan.send(('delete', {'key': key}))

func get_all(self) -> dict[str, Any]

Description: 获取所有键值对

Return: dict[str, Any]: 键值对

Source code or View on GitHub
python
def get_all(self) -> dict[str, Any]:
-    """
-        获取所有键值对
-        Returns:
-            dict[str, Any]: 键值对
-        """
     if IS_MAIN_PROCESS:
         return self._store
     else:
         recv_chan = Channel[dict[str, Any]]('recv_chan')
         self.passive_chan.send(('get_all', {'recv_chan': recv_chan}))
         return recv_chan.receive()

func publish(self, channel_: str, data: Any) -> None

Description: 发布消息

Arguments:

  • channel_: 频道
  • data: 数据
Source code or View on GitHub
python
def publish(self, channel_: str, data: Any) -> None:
-    """
-        发布消息
-        Args:
-            channel_: 频道
-            data: 数据
-
-        Returns:
-        """
     self.active_chan.send(('publish', {'channel': channel_, 'data': data}))

func on_subscriber_receive(self, channel_: str) -> Callable[[ON_RECEIVE_FUNC], ON_RECEIVE_FUNC]

Description: 订阅者接收消息时的回调

Arguments:

  • channel_: 频道

Return: 装饰器

Source code or View on GitHub
python
def on_subscriber_receive(self, channel_: str) -> Callable[[ON_RECEIVE_FUNC], ON_RECEIVE_FUNC]:
-    """
-        订阅者接收消息时的回调
-        Args:
-            channel_: 频道
-
-        Returns:
-            装饰器
-        """
     if not IS_MAIN_PROCESS:
         raise RuntimeError('Cannot subscribe in sub process.')
 
@@ -104,16 +59,7 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const g
         return wrapper
     return decorator

@staticmethod

async func run_subscriber_receive_funcs(channel_: str, data: Any)

Description: 运行订阅者接收函数

Arguments:

  • channel_: 频道
  • data: 数据
Source code or View on GitHub
python
@staticmethod
 async def run_subscriber_receive_funcs(channel_: str, data: Any):
-    """
-        运行订阅者接收函数
-        Args:
-            channel_: 频道
-            data: 数据
-        """
     [asyncio.create_task(func(data)) for func in _on_main_subscriber_receive_funcs[channel_]]

async func start_receive_loop(self)

Description: 启动发布订阅接收器循环,在主进程中运行,若有子进程订阅则推送给子进程

Source code or View on GitHub
python
async def start_receive_loop(self):
-    """
-        启动发布订阅接收器循环,在主进程中运行,若有子进程订阅则推送给子进程
-        """
     if not IS_MAIN_PROCESS:
         raise RuntimeError('Cannot start receive loop in sub process.')
     while True:
diff --git a/assets/en_dev_api_comm_storage.md.Dm0GM8mR.lean.js b/assets/en_dev_api_comm_storage.md.CBNLmX3O.lean.js
similarity index 100%
rename from assets/en_dev_api_comm_storage.md.Dm0GM8mR.lean.js
rename to assets/en_dev_api_comm_storage.md.CBNLmX3O.lean.js
diff --git a/assets/en_dev_api_config.md.xYJgIkUD.js b/assets/en_dev_api_config.md.Dm7JCHCl.js
similarity index 87%
rename from assets/en_dev_api_config.md.xYJgIkUD.js
rename to assets/en_dev_api_config.md.Dm7JCHCl.js
index 786cbddf..d2254d31 100644
--- a/assets/en_dev_api_config.md.xYJgIkUD.js
+++ b/assets/en_dev_api_config.md.Dm7JCHCl.js
@@ -1,43 +1,19 @@
-import{_ as i,c as a,o as n,a9 as s,j as t}from"./chunks/framework.C4_mTacX.js";const f=JSON.parse('{"title":"liteyuki.config","description":"","frontmatter":{"title":"liteyuki.config"},"headers":[],"relativePath":"en/dev/api/config.md","filePath":"en/dev/api/config.md","lastUpdated":1725101868000}'),l={name:"en/dev/api/config.md"},h=s('

Module liteyuki.config

该模块用于常用配置文件的加载 多配置文件编写原则:

  1. 尽量不要冲突: 一个键不要多次出现
  2. 分工明确: 每个配置文件给一个或一类服务提供配置
  3. 扁平化编写: 配置文件尽量扁平化,不要出现过多的嵌套
  4. 注意冲突时的优先级: 项目目录下的配置文件优先级高于config目录下的配置文件
  5. 请不要将需要动态加载的内容写入配置文件,你应该使用其他储存方式

func flat_config(config: dict[str, Any]) -> dict[str, Any]

Description: 扁平化配置文件

',5),k=t("p",{"a.b.c:":"",1:""},"{a:{b:{c:1}}} ->",-1),p=s(`

Arguments:

  • config: 配置项目

Return: 扁平化后的配置文件,但也包含原有的键值对

Source code or View on GitHub
python
def flat_config(config: dict[str, Any]) -> dict[str, Any]:
-    """
-    扁平化配置文件
-
-    {a:{b:{c:1}}} -> {"a.b.c": 1}
-    Args:
-        config: 配置项目
-
-    Returns:
-        扁平化后的配置文件,但也包含原有的键值对
-    """
+import{_ as s,c as a,o as n,a9 as i,j as t}from"./chunks/framework.C4_mTacX.js";const f=JSON.parse('{"title":"liteyuki.config","description":"","frontmatter":{"title":"liteyuki.config"},"headers":[],"relativePath":"en/dev/api/config.md","filePath":"en/dev/api/config.md","lastUpdated":1725101868000}'),h={name:"en/dev/api/config.md"},l=i('

Module liteyuki.config

该模块用于常用配置文件的加载 多配置文件编写原则:

  1. 尽量不要冲突: 一个键不要多次出现
  2. 分工明确: 每个配置文件给一个或一类服务提供配置
  3. 扁平化编写: 配置文件尽量扁平化,不要出现过多的嵌套
  4. 注意冲突时的优先级: 项目目录下的配置文件优先级高于config目录下的配置文件
  5. 请不要将需要动态加载的内容写入配置文件,你应该使用其他储存方式

func flat_config(config: dict[str, Any]) -> dict[str, Any]

Description: 扁平化配置文件

',5),k=t("p",{"a.b.c:":"",1:""},"{a:{b:{c:1}}} ->",-1),p=i(`

Arguments:

  • config: 配置项目

Return: 扁平化后的配置文件,但也包含原有的键值对

Source code or View on GitHub
python
def flat_config(config: dict[str, Any]) -> dict[str, Any]:
     new_config = copy.deepcopy(config)
     for key, value in config.items():
         if isinstance(value, dict):
             for k, v in flat_config(value).items():
                 new_config[f'{key}.{k}'] = v
     return new_config

func load_from_yaml(file_: str) -> dict[str, Any]

Description: Load config from yaml file

Source code or View on GitHub
python
def load_from_yaml(file_: str) -> dict[str, Any]:
-    """
-    Load config from yaml file
-
-    """
     logger.debug(f'Loading YAML config from {file_}')
     config = yaml.safe_load(open(file_, 'r', encoding='utf-8'))
     return flat_config(config if config is not None else {})

func load_from_json(file_: str) -> dict[str, Any]

Description: Load config from json file

Source code or View on GitHub
python
def load_from_json(file_: str) -> dict[str, Any]:
-    """
-    Load config from json file
-    """
     logger.debug(f'Loading JSON config from {file_}')
     config = json.load(open(file_, 'r', encoding='utf-8'))
     return flat_config(config if config is not None else {})

func load_from_toml(file_: str) -> dict[str, Any]

Description: Load config from toml file

Source code or View on GitHub
python
def load_from_toml(file_: str) -> dict[str, Any]:
-    """
-    Load config from toml file
-    """
     logger.debug(f'Loading TOML config from {file_}')
     config = toml.load(open(file_, 'r', encoding='utf-8'))
     return flat_config(config if config is not None else {})

func load_from_files(*files: str, *, no_warning: bool = False) -> dict[str, Any]

Description: 从指定文件加载配置项,会自动识别文件格式 默认执行扁平化选项

Source code or View on GitHub
python
def load_from_files(*files: str, no_warning: bool=False) -> dict[str, Any]:
-    """
-    从指定文件加载配置项,会自动识别文件格式
-    默认执行扁平化选项
-    """
     config = {}
     for file in files:
         if os.path.exists(file):
@@ -52,11 +28,6 @@ import{_ as i,c as a,o as n,a9 as s,j as t}from"./chunks/framework.C4_mTacX.js";
         elif not no_warning:
             logger.warning(f'Config file not found: {file}')
     return config

func load_configs_from_dirs(*directories: str, *, no_waring: bool = False) -> dict[str, Any]

Description: 从目录下加载配置文件,不递归 按照读取文件的优先级反向覆盖 默认执行扁平化选项

Source code or View on GitHub
python
def load_configs_from_dirs(*directories: str, no_waring: bool=False) -> dict[str, Any]:
-    """
-    从目录下加载配置文件,不递归
-    按照读取文件的优先级反向覆盖
-    默认执行扁平化选项
-    """
     config = {}
     for directory in directories:
         if not os.path.exists(directory):
@@ -67,11 +38,6 @@ import{_ as i,c as a,o as n,a9 as s,j as t}from"./chunks/framework.C4_mTacX.js";
             if file.endswith(_SUPPORTED_CONFIG_FORMATS):
                 config.update(load_from_files(os.path.join(directory, file), no_warning=no_waring))
     return config

func load_config_in_default(no_waring: bool = False) -> dict[str, Any]

Description: 从一个标准的轻雪项目加载配置文件 项目目录下的config.*和config目录下的所有配置文件 项目目录下的配置文件优先

Source code or View on GitHub
python
def load_config_in_default(no_waring: bool=False) -> dict[str, Any]:
-    """
-    从一个标准的轻雪项目加载配置文件
-    项目目录下的config.*和config目录下的所有配置文件
-    项目目录下的配置文件优先
-    """
     config = load_configs_from_dirs('config', no_waring=no_waring)
     config.update(load_from_files('config.yaml', 'config.toml', 'config.json', 'config.yml', no_warning=no_waring))
-    return config
`,22),e=[h,k,p];function r(d,o,g,E,y,F){return n(),a("div",null,e)}const u=i(l,[["render",r]]);export{f as __pageData,u as default}; + return config
`,22),e=[l,k,p];function r(d,E,g,o,y,c){return n(),a("div",null,e)}const u=s(h,[["render",r]]);export{f as __pageData,u as default}; diff --git a/assets/en_dev_api_config.md.Dm7JCHCl.lean.js b/assets/en_dev_api_config.md.Dm7JCHCl.lean.js new file mode 100644 index 00000000..2705e0f0 --- /dev/null +++ b/assets/en_dev_api_config.md.Dm7JCHCl.lean.js @@ -0,0 +1 @@ +import{_ as s,c as a,o as n,a9 as i,j as t}from"./chunks/framework.C4_mTacX.js";const f=JSON.parse('{"title":"liteyuki.config","description":"","frontmatter":{"title":"liteyuki.config"},"headers":[],"relativePath":"en/dev/api/config.md","filePath":"en/dev/api/config.md","lastUpdated":1725101868000}'),h={name:"en/dev/api/config.md"},l=i("",5),k=t("p",{"a.b.c:":"",1:""},"{a:{b:{c:1}}} ->",-1),p=i("",22),e=[l,k,p];function r(d,E,g,o,y,c){return n(),a("div",null,e)}const u=s(h,[["render",r]]);export{f as __pageData,u as default}; diff --git a/assets/en_dev_api_config.md.xYJgIkUD.lean.js b/assets/en_dev_api_config.md.xYJgIkUD.lean.js deleted file mode 100644 index 9053fa68..00000000 --- a/assets/en_dev_api_config.md.xYJgIkUD.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as i,c as a,o as n,a9 as s,j as t}from"./chunks/framework.C4_mTacX.js";const f=JSON.parse('{"title":"liteyuki.config","description":"","frontmatter":{"title":"liteyuki.config"},"headers":[],"relativePath":"en/dev/api/config.md","filePath":"en/dev/api/config.md","lastUpdated":1725101868000}'),l={name:"en/dev/api/config.md"},h=s("",5),k=t("p",{"a.b.c:":"",1:""},"{a:{b:{c:1}}} ->",-1),p=s("",22),e=[h,k,p];function r(d,o,g,E,y,F){return n(),a("div",null,e)}const u=i(l,[["render",r]]);export{f as __pageData,u as default}; diff --git a/assets/en_dev_api_core_manager.md.DbS9o93Z.js b/assets/en_dev_api_core_manager.md.BEvIQjQG.js similarity index 89% rename from assets/en_dev_api_core_manager.md.DbS9o93Z.js rename to assets/en_dev_api_core_manager.md.BEvIQjQG.js index c2215d8f..2bc621ac 100644 --- a/assets/en_dev_api_core_manager.md.DbS9o93Z.js +++ b/assets/en_dev_api_core_manager.md.BEvIQjQG.js @@ -7,20 +7,9 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const c self.lifespan = lifespan self.targets: dict[str, tuple[Callable, tuple, dict]] = {} self.processes: dict[str, Process] = {}

func start_all(self)

Description: 对外启动方法,启动所有进程,创建asyncio task

Source code or View on GitHub
python
def start_all(self):
-    """
-        对外启动方法,启动所有进程,创建asyncio task
-        """
     for name in self.targets:
         logger.debug(f'Starting process {name}')
         threading.Thread(target=self._run_process, args=(name,), daemon=True).start()

func add_target(self, name: str, target: TARGET_FUNC, args: tuple = (), kwargs = None)

Description: 添加进程

Arguments:

  • name: 进程名,用于获取和唯一标识
  • target: 进程函数
  • args: 进程函数参数
  • kwargs: 进程函数关键字参数,通常会默认传入chan_active和chan_passive
Source code or View on GitHub
python
def add_target(self, name: str, target: TARGET_FUNC, args: tuple=(), kwargs=None):
-    """
-        添加进程
-        Args:
-            name: 进程名,用于获取和唯一标识
-            target: 进程函数
-            args: 进程函数参数
-            kwargs: 进程函数关键字参数,通常会默认传入chan_active和chan_passive
-        """
     if kwargs is None:
         kwargs = {}
     chan_active: Channel = Channel(name=f'{name}-active')
@@ -29,14 +18,6 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const c
     self.targets[name] = (_delivery_channel_wrapper, (target, channel_deliver, shared_memory, *args), kwargs)

func join_all(self)

Source code or View on GitHub
python
def join_all(self):
     for name, process in self.targets:
         process.join()

func terminate(self, name: str)

Description: 终止进程并从进程字典中删除

Arguments:

  • name:
Source code or View on GitHub
python
def terminate(self, name: str):
-    """
-        终止进程并从进程字典中删除
-        Args:
-            name:
-
-        Returns:
-
-        """
     if name not in self.processes:
         logger.warning(f'Process {name} not found.')
         return
@@ -48,14 +29,6 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const c
     logger.success(f'Process {name} terminated.')

func terminate_all(self)

Source code or View on GitHub
python
def terminate_all(self):
     for name in self.targets:
         self.terminate(name)

func is_process_alive(self, name: str) -> bool

Description: 检查进程是否存活

Arguments:

  • name:
Source code or View on GitHub
python
def is_process_alive(self, name: str) -> bool:
-    """
-        检查进程是否存活
-        Args:
-            name:
-
-        Returns:
-
-        """
     if name not in self.targets:
         logger.warning(f'Process {name} not found.')
-    return self.processes[name].is_alive()
`,31),l=[t];function h(p,k,r,d,g,E){return a(),i("div",null,l)}const y=s(e,[["render",h]]);export{c as __pageData,y as default}; + return self.processes[name].is_alive()
`,31),l=[t];function h(k,p,r,d,E,g){return a(),i("div",null,l)}const y=s(e,[["render",h]]);export{c as __pageData,y as default}; diff --git a/assets/en_dev_api_core_manager.md.DbS9o93Z.lean.js b/assets/en_dev_api_core_manager.md.BEvIQjQG.lean.js similarity index 86% rename from assets/en_dev_api_core_manager.md.DbS9o93Z.lean.js rename to assets/en_dev_api_core_manager.md.BEvIQjQG.lean.js index 815967fa..cd845dfe 100644 --- a/assets/en_dev_api_core_manager.md.DbS9o93Z.lean.js +++ b/assets/en_dev_api_core_manager.md.BEvIQjQG.lean.js @@ -1 +1 @@ -import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const c=JSON.parse('{"title":"liteyuki.core.manager","description":"","frontmatter":{"title":"liteyuki.core.manager"},"headers":[],"relativePath":"en/dev/api/core/manager.md","filePath":"en/dev/api/core/manager.md","lastUpdated":1725101868000}'),e={name:"en/dev/api/core/manager.md"},t=n("",31),l=[t];function h(p,k,r,d,g,E){return a(),i("div",null,l)}const y=s(e,[["render",h]]);export{c as __pageData,y as default}; +import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const c=JSON.parse('{"title":"liteyuki.core.manager","description":"","frontmatter":{"title":"liteyuki.core.manager"},"headers":[],"relativePath":"en/dev/api/core/manager.md","filePath":"en/dev/api/core/manager.md","lastUpdated":1725101868000}'),e={name:"en/dev/api/core/manager.md"},t=n("",31),l=[t];function h(k,p,r,d,E,g){return a(),i("div",null,l)}const y=s(e,[["render",h]]);export{c as __pageData,y as default}; diff --git a/assets/en_dev_api_dev_observer.md.5lqNCQBZ.js b/assets/en_dev_api_dev_observer.md.B50F8CO1.js similarity index 91% rename from assets/en_dev_api_dev_observer.md.5lqNCQBZ.js rename to assets/en_dev_api_dev_observer.md.B50F8CO1.js index 1fa119e7..140479b9 100644 --- a/assets/en_dev_api_dev_observer.md.5lqNCQBZ.js +++ b/assets/en_dev_api_dev_observer.md.B50F8CO1.js @@ -1,7 +1,4 @@ import{_ as s,c as i,o as e,a9 as a}from"./chunks/framework.C4_mTacX.js";const g=JSON.parse('{"title":"liteyuki.dev.observer","description":"","frontmatter":{"title":"liteyuki.dev.observer"},"headers":[],"relativePath":"en/dev/api/dev/observer.md","filePath":"en/dev/api/dev/observer.md","lastUpdated":1725101868000}'),n={name:"en/dev/api/dev/observer.md"},t=a(`

Module liteyuki.dev.observer

此模块用于注册观察者函数,使用watchdog监控文件变化并重启bot 启用该模块需要在配置文件中设置dev_mode为True

var CALLBACK_FUNC

  • Description: 位置1为FileSystemEvent

  • Type: TypeAlias

  • Default: Callable[[FileSystemEvent], None]

var FILTER_FUNC

  • Description: 位置1为FileSystemEvent

  • Type: TypeAlias

  • Default: Callable[[FileSystemEvent], bool]

func debounce(wait)

Description: 防抖函数

Source code or View on GitHub
python
def debounce(wait):
-    """
-    防抖函数
-    """
 
     def decorator(func):
 
@@ -20,15 +17,6 @@ import{_ as s,c as i,o as e,a9 as a}from"./chunks/framework.C4_mTacX.js";const g
     self.on_modified(event)

func on_moved(self, event)

Source code or View on GitHub
python
def on_moved(self, event):
     self.on_modified(event)

func on_any_event(self, event)

Source code or View on GitHub
python
def on_any_event(self, event):
     self.on_modified(event)

func on_file_system_event(directories: tuple[str], recursive: bool = True, event_filter: FILTER_FUNC = None) -> Callable[[CALLBACK_FUNC], CALLBACK_FUNC]

Description: 注册文件系统变化监听器

Arguments:

  • directories: 监听目录们
  • recursive: 是否递归监听子目录
  • event_filter: 事件过滤器, 返回True则执行回调函数

Return: 装饰器,装饰一个函数在接收到数据后执行

Source code or View on GitHub
python
def on_file_system_event(directories: tuple[str], recursive: bool=True, event_filter: FILTER_FUNC=None) -> Callable[[CALLBACK_FUNC], CALLBACK_FUNC]:
-    """
-    注册文件系统变化监听器
-    Args:
-        directories: 监听目录们
-        recursive: 是否递归监听子目录
-        event_filter: 事件过滤器, 返回True则执行回调函数
-    Returns:
-        装饰器,装饰一个函数在接收到数据后执行
-    """
 
     def decorator(func: CALLBACK_FUNC) -> CALLBACK_FUNC:
 
@@ -41,4 +29,4 @@ import{_ as s,c as i,o as e,a9 as a}from"./chunks/framework.C4_mTacX.js";const g
         for directory in directories:
             observer.schedule(code_modified_handler, directory, recursive=recursive)
         return func
-    return decorator
`,27),l=[t];function h(p,k,r,d,o,c){return e(),i("div",null,l)}const u=s(n,[["render",h]]);export{g as __pageData,u as default}; + return decorator`,27),l=[t];function h(p,r,k,d,o,c){return e(),i("div",null,l)}const y=s(n,[["render",h]]);export{g as __pageData,y as default}; diff --git a/assets/en_dev_api_dev_observer.md.5lqNCQBZ.lean.js b/assets/en_dev_api_dev_observer.md.B50F8CO1.lean.js similarity index 78% rename from assets/en_dev_api_dev_observer.md.5lqNCQBZ.lean.js rename to assets/en_dev_api_dev_observer.md.B50F8CO1.lean.js index 5d94b153..f2f787fd 100644 --- a/assets/en_dev_api_dev_observer.md.5lqNCQBZ.lean.js +++ b/assets/en_dev_api_dev_observer.md.B50F8CO1.lean.js @@ -1 +1 @@ -import{_ as s,c as i,o as e,a9 as a}from"./chunks/framework.C4_mTacX.js";const g=JSON.parse('{"title":"liteyuki.dev.observer","description":"","frontmatter":{"title":"liteyuki.dev.observer"},"headers":[],"relativePath":"en/dev/api/dev/observer.md","filePath":"en/dev/api/dev/observer.md","lastUpdated":1725101868000}'),n={name:"en/dev/api/dev/observer.md"},t=a("",27),l=[t];function h(p,k,r,d,o,c){return e(),i("div",null,l)}const u=s(n,[["render",h]]);export{g as __pageData,u as default}; +import{_ as s,c as i,o as e,a9 as a}from"./chunks/framework.C4_mTacX.js";const g=JSON.parse('{"title":"liteyuki.dev.observer","description":"","frontmatter":{"title":"liteyuki.dev.observer"},"headers":[],"relativePath":"en/dev/api/dev/observer.md","filePath":"en/dev/api/dev/observer.md","lastUpdated":1725101868000}'),n={name:"en/dev/api/dev/observer.md"},t=a("",27),l=[t];function h(p,r,k,d,o,c){return e(),i("div",null,l)}const y=s(n,[["render",h]]);export{g as __pageData,y as default}; diff --git a/assets/en_dev_api_dev_plugin.md._CvA4vrZ.js b/assets/en_dev_api_dev_plugin.md.CGOTYIDu.js similarity index 81% rename from assets/en_dev_api_dev_plugin.md._CvA4vrZ.js rename to assets/en_dev_api_dev_plugin.md.CGOTYIDu.js index feeb1e0d..8adaf249 100644 --- a/assets/en_dev_api_dev_plugin.md._CvA4vrZ.js +++ b/assets/en_dev_api_dev_plugin.md.CGOTYIDu.js @@ -1,12 +1,7 @@ -import{_ as i,c as s,o as a,a9 as t}from"./chunks/framework.C4_mTacX.js";const E=JSON.parse('{"title":"liteyuki.dev.plugin","description":"","frontmatter":{"title":"liteyuki.dev.plugin"},"headers":[],"relativePath":"en/dev/api/dev/plugin.md","filePath":"en/dev/api/dev/plugin.md","lastUpdated":1725101868000}'),n={name:"en/dev/api/dev/plugin.md"},l=t(`

Module liteyuki.dev.plugin

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/18 上午5:04 @Author : snowykami @Email : snowykami@outlook.com @File : plugin.py @Software: PyCharm

func run_plugins(*module_path: str | Path)

Description: 运行插件,无需手动初始化bot

Arguments:

  • module_path: 插件路径,参考liteyuki.load_plugin的函数签名
Source code or View on GitHub
python
def run_plugins(*module_path: str | Path):
-    """
-    运行插件,无需手动初始化bot
-    Args:
-        module_path: 插件路径,参考\`liteyuki.load_plugin\`的函数签名
-    """
+import{_ as i,c as s,o as a,a9 as t}from"./chunks/framework.C4_mTacX.js";const E=JSON.parse('{"title":"liteyuki.dev.plugin","description":"","frontmatter":{"title":"liteyuki.dev.plugin"},"headers":[],"relativePath":"en/dev/api/dev/plugin.md","filePath":"en/dev/api/dev/plugin.md","lastUpdated":1725101868000}'),e={name:"en/dev/api/dev/plugin.md"},n=t(`

Module liteyuki.dev.plugin

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/18 上午5:04 @Author : snowykami @Email : snowykami@outlook.com @File : plugin.py @Software: PyCharm

func run_plugins(*module_path: str | Path)

Description: 运行插件,无需手动初始化bot

Arguments:

  • module_path: 插件路径,参考liteyuki.load_plugin的函数签名
Source code or View on GitHub
python
def run_plugins(*module_path: str | Path):
     cfg = load_config_in_default()
     plugins = cfg.get('liteyuki.plugins', [])
     plugins.extend(module_path)
     cfg['liteyuki.plugins'] = plugins
     bot = LiteyukiBot(**cfg)
-    bot.run()
`,8),e=[l];function p(h,k,o,d,r,u){return a(),s("div",null,e)}const c=i(n,[["render",p]]);export{E as __pageData,c as default}; + bot.run()
`,8),l=[n];function p(h,k,o,r,d,u){return a(),s("div",null,l)}const c=i(e,[["render",p]]);export{E as __pageData,c as default}; diff --git a/assets/en_dev_api_dev_plugin.md._CvA4vrZ.lean.js b/assets/en_dev_api_dev_plugin.md.CGOTYIDu.lean.js similarity index 60% rename from assets/en_dev_api_dev_plugin.md._CvA4vrZ.lean.js rename to assets/en_dev_api_dev_plugin.md.CGOTYIDu.lean.js index 8c7225e6..9a09ba24 100644 --- a/assets/en_dev_api_dev_plugin.md._CvA4vrZ.lean.js +++ b/assets/en_dev_api_dev_plugin.md.CGOTYIDu.lean.js @@ -1 +1 @@ -import{_ as i,c as s,o as a,a9 as t}from"./chunks/framework.C4_mTacX.js";const E=JSON.parse('{"title":"liteyuki.dev.plugin","description":"","frontmatter":{"title":"liteyuki.dev.plugin"},"headers":[],"relativePath":"en/dev/api/dev/plugin.md","filePath":"en/dev/api/dev/plugin.md","lastUpdated":1725101868000}'),n={name:"en/dev/api/dev/plugin.md"},l=t("",8),e=[l];function p(h,k,o,d,r,u){return a(),s("div",null,e)}const c=i(n,[["render",p]]);export{E as __pageData,c as default}; +import{_ as i,c as s,o as a,a9 as t}from"./chunks/framework.C4_mTacX.js";const E=JSON.parse('{"title":"liteyuki.dev.plugin","description":"","frontmatter":{"title":"liteyuki.dev.plugin"},"headers":[],"relativePath":"en/dev/api/dev/plugin.md","filePath":"en/dev/api/dev/plugin.md","lastUpdated":1725101868000}'),e={name:"en/dev/api/dev/plugin.md"},n=t("",8),l=[n];function p(h,k,o,r,d,u){return a(),s("div",null,l)}const c=i(e,[["render",p]]);export{E as __pageData,c as default}; diff --git a/assets/en_dev_api_log.md.PqB2h68g.js b/assets/en_dev_api_log.md.DR6xjPic.js similarity index 95% rename from assets/en_dev_api_log.md.PqB2h68g.js rename to assets/en_dev_api_log.md.DR6xjPic.js index ce83949e..94252b93 100644 --- a/assets/en_dev_api_log.md.PqB2h68g.js +++ b/assets/en_dev_api_log.md.DR6xjPic.js @@ -1,13 +1,8 @@ -import{_ as s,c as i,o as a,a9 as h}from"./chunks/framework.C4_mTacX.js";const o=JSON.parse('{"title":"liteyuki.log","description":"","frontmatter":{"title":"liteyuki.log"},"headers":[],"relativePath":"en/dev/api/log.md","filePath":"en/dev/api/log.md","lastUpdated":1725101868000}'),t={name:"en/dev/api/log.md"},k=h(`

Module liteyuki.log

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/27 上午9:12 @Author : snowykami @Email : snowykami@outlook.com @File : log.py @Software: PyCharm

func get_format(level: str) -> str

Source code or View on GitHub
python
def get_format(level: str) -> str:
+import{_ as s,c as i,o as a,a9 as h}from"./chunks/framework.C4_mTacX.js";const y=JSON.parse('{"title":"liteyuki.log","description":"","frontmatter":{"title":"liteyuki.log"},"headers":[],"relativePath":"en/dev/api/log.md","filePath":"en/dev/api/log.md","lastUpdated":1725101868000}'),t={name:"en/dev/api/log.md"},k=h(`

Module liteyuki.log

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/27 上午9:12 @Author : snowykami @Email : snowykami@outlook.com @File : log.py @Software: PyCharm

func get_format(level: str) -> str

Source code or View on GitHub
python
def get_format(level: str) -> str:
     if level == 'DEBUG':
         return debug_format
     else:
         return default_format

func init_log(config: dict)

Description: 在语言加载完成后执行

Source code or View on GitHub
python
def init_log(config: dict):
-    """
-    在语言加载完成后执行
-    Returns:
-
-    """
     logger.remove()
     logger.add(sys.stdout, level=0, diagnose=False, format=get_format(config.get('log_level', 'INFO')))
     show_icon = config.get('log_icon', True)
@@ -15,4 +10,4 @@ import{_ as s,c as i,o as a,a9 as h}from"./chunks/framework.C4_mTacX.js";const o
     logger.level('INFO', color='<normal>', icon=f"{('ℹ️' if show_icon else '')}INFO")
     logger.level('SUCCESS', color='<green>', icon=f"{('✅' if show_icon else '')}SUCCESS")
     logger.level('WARNING', color='<yellow>', icon=f"{('⚠️' if show_icon else '')}WARNING")
-    logger.level('ERROR', color='<red>', icon=f"{('⭕' if show_icon else '')}ERROR")
`,8),n=[k];function l(p,e,E,r,g,d){return a(),i("div",null,n)}const y=s(t,[["render",l]]);export{o as __pageData,y as default}; + logger.level('ERROR', color='<red>', icon=f"{('⭕' if show_icon else '')}ERROR")
`,8),l=[k];function n(p,e,E,r,g,d){return a(),i("div",null,l)}const o=s(t,[["render",n]]);export{y as __pageData,o as default}; diff --git a/assets/en_dev_api_log.md.PqB2h68g.lean.js b/assets/en_dev_api_log.md.DR6xjPic.lean.js similarity index 57% rename from assets/en_dev_api_log.md.PqB2h68g.lean.js rename to assets/en_dev_api_log.md.DR6xjPic.lean.js index 5ed31b87..fa3cf930 100644 --- a/assets/en_dev_api_log.md.PqB2h68g.lean.js +++ b/assets/en_dev_api_log.md.DR6xjPic.lean.js @@ -1 +1 @@ -import{_ as s,c as i,o as a,a9 as h}from"./chunks/framework.C4_mTacX.js";const o=JSON.parse('{"title":"liteyuki.log","description":"","frontmatter":{"title":"liteyuki.log"},"headers":[],"relativePath":"en/dev/api/log.md","filePath":"en/dev/api/log.md","lastUpdated":1725101868000}'),t={name:"en/dev/api/log.md"},k=h("",8),n=[k];function l(p,e,E,r,g,d){return a(),i("div",null,n)}const y=s(t,[["render",l]]);export{o as __pageData,y as default}; +import{_ as s,c as i,o as a,a9 as h}from"./chunks/framework.C4_mTacX.js";const y=JSON.parse('{"title":"liteyuki.log","description":"","frontmatter":{"title":"liteyuki.log"},"headers":[],"relativePath":"en/dev/api/log.md","filePath":"en/dev/api/log.md","lastUpdated":1725101868000}'),t={name:"en/dev/api/log.md"},k=h("",8),l=[k];function n(p,e,E,r,g,d){return a(),i("div",null,l)}const o=s(t,[["render",n]]);export{y as __pageData,o as default}; diff --git a/assets/en_dev_api_message_event.md.B0wAhsAc.js b/assets/en_dev_api_message_event.md.DPY-2dlG.js similarity index 83% rename from assets/en_dev_api_message_event.md.B0wAhsAc.js rename to assets/en_dev_api_message_event.md.DPY-2dlG.js index 3c1d45b0..67f56294 100644 --- a/assets/en_dev_api_message_event.md.B0wAhsAc.js +++ b/assets/en_dev_api_message_event.md.DPY-2dlG.js @@ -1,19 +1,4 @@ -import{_ as s,c as i,o as a,a9 as e}from"./chunks/framework.C4_mTacX.js";const o=JSON.parse('{"title":"liteyuki.message.event","description":"","frontmatter":{"title":"liteyuki.message.event"},"headers":[],"relativePath":"en/dev/api/message/event.md","filePath":"en/dev/api/message/event.md","lastUpdated":1725101868000}'),n={name:"en/dev/api/message/event.md"},t=e(`

Module liteyuki.message.event

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:47 @Author : snowykami @Email : snowykami@outlook.com @File : event.py @Software: PyCharm

class MessageEvent

func __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel[MessageEvent]] = None, data: Optional[dict[str, Any]] = None)

Description: 轻雪抽象消息事件

Source code or View on GitHub
python
def __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel['MessageEvent']]=None, data: Optional[dict[str, Any]]=None):
-    """
-        轻雪抽象消息事件
-        Args:
-
-            bot_id: 机器人ID
-            message: 消息,消息段数组[{type: str, data: dict[str, Any]}]
-            raw_message: 原始消息(通常为纯文本的格式)
-            message_type: 消息类型(private, group, other)
-
-            session_id: 会话ID(私聊通常为用户ID,群聊通常为群ID)
-            session_type: 会话类型(private, group)
-            receive_channel: 接收频道(用于回复消息)
-
-            data: 附加数据
-        """
+import{_ as s,c as i,o as a,a9 as e}from"./chunks/framework.C4_mTacX.js";const o=JSON.parse('{"title":"liteyuki.message.event","description":"","frontmatter":{"title":"liteyuki.message.event"},"headers":[],"relativePath":"en/dev/api/message/event.md","filePath":"en/dev/api/message/event.md","lastUpdated":1725101868000}'),t={name:"en/dev/api/message/event.md"},n=e(`

Module liteyuki.message.event

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:47 @Author : snowykami @Email : snowykami@outlook.com @File : event.py @Software: PyCharm

class MessageEvent

func __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel[MessageEvent]] = None, data: Optional[dict[str, Any]] = None)

Description: 轻雪抽象消息事件

Source code or View on GitHub
python
def __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel['MessageEvent']]=None, data: Optional[dict[str, Any]]=None):
     if data is None:
         data = {}
     self.message_type = message_type
@@ -25,12 +10,6 @@ import{_ as s,c as i,o as a,a9 as e}from"./chunks/framework.C4_mTacX.js";const o
     self.session_type = session_type
     self.user_id = user_id
     self.receive_channel = receive_channel

func reply(self, message: str | dict[str, Any])

Description: 回复消息

Arguments:

  • message:
Source code or View on GitHub
python
def reply(self, message: str | dict[str, Any]):
-    """
-        回复消息
-        Args:
-            message:
-        Returns:
-        """
     reply_event = MessageEvent(message_type=self.session_type, message=message, raw_message='', data={'message': message}, bot_id=self.bot_id, session_id=self.session_id, user_id=self.user_id, session_type=self.session_type, receive_channel=None)
     if self.receive_channel:
-        self.receive_channel.send(reply_event)
`,12),l=[t];function h(k,p,r,d,E,g){return a(),i("div",null,l)}const F=s(n,[["render",h]]);export{o as __pageData,F as default}; + self.receive_channel.send(reply_event)
`,12),h=[n];function l(k,p,r,d,E,g){return a(),i("div",null,h)}const c=s(t,[["render",l]]);export{o as __pageData,c as default}; diff --git a/assets/en_dev_api_message_event.md.B0wAhsAc.lean.js b/assets/en_dev_api_message_event.md.DPY-2dlG.lean.js similarity index 64% rename from assets/en_dev_api_message_event.md.B0wAhsAc.lean.js rename to assets/en_dev_api_message_event.md.DPY-2dlG.lean.js index 9675f1ed..2ca964ce 100644 --- a/assets/en_dev_api_message_event.md.B0wAhsAc.lean.js +++ b/assets/en_dev_api_message_event.md.DPY-2dlG.lean.js @@ -1 +1 @@ -import{_ as s,c as i,o as a,a9 as e}from"./chunks/framework.C4_mTacX.js";const o=JSON.parse('{"title":"liteyuki.message.event","description":"","frontmatter":{"title":"liteyuki.message.event"},"headers":[],"relativePath":"en/dev/api/message/event.md","filePath":"en/dev/api/message/event.md","lastUpdated":1725101868000}'),n={name:"en/dev/api/message/event.md"},t=e("",12),l=[t];function h(k,p,r,d,E,g){return a(),i("div",null,l)}const F=s(n,[["render",h]]);export{o as __pageData,F as default}; +import{_ as s,c as i,o as a,a9 as e}from"./chunks/framework.C4_mTacX.js";const o=JSON.parse('{"title":"liteyuki.message.event","description":"","frontmatter":{"title":"liteyuki.message.event"},"headers":[],"relativePath":"en/dev/api/message/event.md","filePath":"en/dev/api/message/event.md","lastUpdated":1725101868000}'),t={name:"en/dev/api/message/event.md"},n=e("",12),h=[n];function l(k,p,r,d,E,g){return a(),i("div",null,h)}const c=s(t,[["render",l]]);export{o as __pageData,c as default}; diff --git a/assets/en_dev_api_message_matcher.md.BKMMUxTe.js b/assets/en_dev_api_message_matcher.md.EXm6yebY.js similarity index 78% rename from assets/en_dev_api_message_matcher.md.BKMMUxTe.js rename to assets/en_dev_api_message_matcher.md.EXm6yebY.js index 1d7419d3..7fd53e03 100644 --- a/assets/en_dev_api_message_matcher.md.BKMMUxTe.js +++ b/assets/en_dev_api_message_matcher.md.EXm6yebY.js @@ -1,35 +1,17 @@ -import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const u=JSON.parse('{"title":"liteyuki.message.matcher","description":"","frontmatter":{"title":"liteyuki.message.matcher"},"headers":[],"relativePath":"en/dev/api/message/matcher.md","filePath":"en/dev/api/message/matcher.md","lastUpdated":1725101868000}'),e={name:"en/dev/api/message/matcher.md"},t=n(`

Module liteyuki.message.matcher

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:51 @Author : snowykami @Email : snowykami@outlook.com @File : matcher.py @Software: PyCharm

class Matcher

func __init__(self, rule: Rule, priority: int, block: bool)

Description: 匹配器

Arguments:

  • rule: 规则
  • priority: 优先级 >= 0
  • block: 是否阻断后续优先级更低的匹配器
Source code or View on GitHub
python
def __init__(self, rule: Rule, priority: int, block: bool):
-    """
-        匹配器
-        Args:
-            rule: 规则
-            priority: 优先级 >= 0
-            block: 是否阻断后续优先级更低的匹配器
-        """
+import{_ as s,c as i,o as a,a9 as e}from"./chunks/framework.C4_mTacX.js";const u=JSON.parse('{"title":"liteyuki.message.matcher","description":"","frontmatter":{"title":"liteyuki.message.matcher"},"headers":[],"relativePath":"en/dev/api/message/matcher.md","filePath":"en/dev/api/message/matcher.md","lastUpdated":1725101868000}'),n={name:"en/dev/api/message/matcher.md"},t=e(`

Module liteyuki.message.matcher

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:51 @Author : snowykami @Email : snowykami@outlook.com @File : matcher.py @Software: PyCharm

class Matcher

func __init__(self, rule: Rule, priority: int, block: bool)

Description: 匹配器

Arguments:

  • rule: 规则
  • priority: 优先级 >= 0
  • block: 是否阻断后续优先级更低的匹配器
Source code or View on GitHub
python
def __init__(self, rule: Rule, priority: int, block: bool):
     self.rule = rule
     self.priority = priority
     self.block = block
     self.handlers: list[EventHandler] = []

func handle(self) -> Callable[[EventHandler], EventHandler]

Description: 添加处理函数,装饰器

Return: 装饰器 handler

Source code or View on GitHub
python
def handle(self) -> Callable[[EventHandler], EventHandler]:
-    """
-        添加处理函数,装饰器
-        Returns:
-            装饰器 handler
-        """
 
     def decorator(handler: EventHandler) -> EventHandler:
         self.handlers.append(handler)
         return handler
     return decorator

async func run(self, event: MessageEvent) -> None

Description: 运行处理函数

Arguments:

  • event:
Source code or View on GitHub
python
async def run(self, event: MessageEvent) -> None:
-    """
-        运行处理函数
-        Args:
-            event:
-        Returns:
-        """
     if not await self.rule(event):
         return
     for handler in self.handlers:
         try:
             await handler(event)
         except Exception:
-            traceback.print_exc()
`,18),l=[t];function h(p,k,r,o,d,c){return a(),i("div",null,l)}const y=s(e,[["render",h]]);export{u as __pageData,y as default}; + traceback.print_exc()
`,18),l=[t];function h(r,p,k,o,d,c){return a(),i("div",null,l)}const y=s(n,[["render",h]]);export{u as __pageData,y as default}; diff --git a/assets/en_dev_api_message_matcher.md.BKMMUxTe.lean.js b/assets/en_dev_api_message_matcher.md.EXm6yebY.lean.js similarity index 50% rename from assets/en_dev_api_message_matcher.md.BKMMUxTe.lean.js rename to assets/en_dev_api_message_matcher.md.EXm6yebY.lean.js index 78dc47be..545af0b1 100644 --- a/assets/en_dev_api_message_matcher.md.BKMMUxTe.lean.js +++ b/assets/en_dev_api_message_matcher.md.EXm6yebY.lean.js @@ -1 +1 @@ -import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const u=JSON.parse('{"title":"liteyuki.message.matcher","description":"","frontmatter":{"title":"liteyuki.message.matcher"},"headers":[],"relativePath":"en/dev/api/message/matcher.md","filePath":"en/dev/api/message/matcher.md","lastUpdated":1725101868000}'),e={name:"en/dev/api/message/matcher.md"},t=n("",18),l=[t];function h(p,k,r,o,d,c){return a(),i("div",null,l)}const y=s(e,[["render",h]]);export{u as __pageData,y as default}; +import{_ as s,c as i,o as a,a9 as e}from"./chunks/framework.C4_mTacX.js";const u=JSON.parse('{"title":"liteyuki.message.matcher","description":"","frontmatter":{"title":"liteyuki.message.matcher"},"headers":[],"relativePath":"en/dev/api/message/matcher.md","filePath":"en/dev/api/message/matcher.md","lastUpdated":1725101868000}'),n={name:"en/dev/api/message/matcher.md"},t=e("",18),l=[t];function h(r,p,k,o,d,c){return a(),i("div",null,l)}const y=s(n,[["render",h]]);export{u as __pageData,y as default}; diff --git a/assets/en_dev_api_mkdoc.md.Ct_avrHh.js b/assets/en_dev_api_mkdoc.md.DyhS85pU.js similarity index 95% rename from assets/en_dev_api_mkdoc.md.Ct_avrHh.js rename to assets/en_dev_api_mkdoc.md.DyhS85pU.js index bf8355b0..e3e8ffe0 100644 --- a/assets/en_dev_api_mkdoc.md.Ct_avrHh.js +++ b/assets/en_dev_api_mkdoc.md.DyhS85pU.js @@ -1,16 +1,5 @@ import{_ as s,c as i,o as a,a9 as t}from"./chunks/framework.C4_mTacX.js";const y=JSON.parse('{"title":"liteyuki.mkdoc","description":"","frontmatter":{"title":"liteyuki.mkdoc"},"headers":[],"relativePath":"en/dev/api/mkdoc.md","filePath":"en/dev/api/mkdoc.md","lastUpdated":1725101868000}'),n={name:"en/dev/api/mkdoc.md"},h=t(`

Module liteyuki.mkdoc

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 上午6:23 @Author : snowykami @Email : snowykami@outlook.com @File : mkdoc.py @Software: PyCharm

class DefType(Enum)

attr FUNCTION = 'function'

attr METHOD = 'method'

attr STATIC_METHOD = 'staticmethod'

attr CLASS_METHOD = 'classmethod'

attr PROPERTY = 'property'

class FunctionInfo(BaseModel)

attr name: str = NO_DEFAULT

attr args: list[tuple[str, str]] = NO_DEFAULT

attr return_type: str = NO_DEFAULT

attr docstring: str = NO_DEFAULT

attr source_code: str = ''

attr type: DefType = NO_DEFAULT

attr is_async: bool = NO_DEFAULT

class AttributeInfo(BaseModel)

attr name: str = NO_DEFAULT

attr type: str = NO_DEFAULT

attr value: Any = None

attr docstring: str = ''

class ClassInfo(BaseModel)

attr name: str = NO_DEFAULT

attr docstring: str = NO_DEFAULT

attr methods: list[FunctionInfo] = NO_DEFAULT

attr attributes: list[AttributeInfo] = NO_DEFAULT

attr inherit: list[str] = NO_DEFAULT

class ModuleInfo(BaseModel)

attr module_path: str = NO_DEFAULT

attr functions: list[FunctionInfo] = NO_DEFAULT

attr classes: list[ClassInfo] = NO_DEFAULT

attr attributes: list[AttributeInfo] = NO_DEFAULT

attr docstring: str = NO_DEFAULT

func get_relative_path(base_path: str, target_path: str) -> str

Description: 获取相对路径

Arguments:

  • base_path: 基础路径
  • target_path: 目标路径
Source code or View on GitHub
python
def get_relative_path(base_path: str, target_path: str) -> str:
-    """
-    获取相对路径
-    Args:
-        base_path: 基础路径
-        target_path: 目标路径
-    """
     return os.path.relpath(target_path, base_path)

func write_to_files(file_data: dict[str, str])

Description: 输出文件

Arguments:

  • file_data: 文件数据 相对路径
Source code or View on GitHub
python
def write_to_files(file_data: dict[str, str]):
-    """
-    输出文件
-    Args:
-        file_data: 文件数据 相对路径
-    """
     for rp, data in file_data.items():
         if not os.path.exists(os.path.dirname(rp)):
             os.makedirs(os.path.dirname(rp))
@@ -22,14 +11,6 @@ import{_ as s,c as i,o as a,a9 as t}from"./chunks/framework.C4_mTacX.js";const y
             if file.endswith(('.py', '.pyi')):
                 file_list.append(os.path.join(root, file))
     return file_list

func get_module_info_normal(file_path: str, ignore_private: bool = True) -> ModuleInfo

Description: 获取函数和类

Arguments:

  • file_path: Python 文件路径
  • ignore_private: 忽略私有函数和类

Return: 模块信息

Source code or View on GitHub
python
def get_module_info_normal(file_path: str, ignore_private: bool=True) -> ModuleInfo:
-    """
-    获取函数和类
-    Args:
-        file_path: Python 文件路径
-        ignore_private: 忽略私有函数和类
-    Returns:
-        模块信息
-    """
     with open(file_path, 'r', encoding='utf-8') as file:
         file_content = file.read()
         tree = ast.parse(file_content)
@@ -75,16 +56,6 @@ import{_ as s,c as i,o as a,a9 as t}from"./chunks/framework.C4_mTacX.js";const y
                             attr_type = ast.unparse(node.value.annotation)
                         module_info.attributes.append(AttributeInfo(name=target.id, type=attr_type, value=ast.unparse(node.value) if node.value else None))
     return module_info

func generate_markdown(module_info: ModuleInfo, front_matter = None, lang: str = 'zh-CN') -> str

Description: 生成模块的Markdown 你可在此自定义生成的Markdown格式

Arguments:

  • module_info: 模块信息
  • front_matter: 自定义选项title, index, icon, category
  • lang: 语言

Return: Markdown 字符串

Source code or View on GitHub
python
def generate_markdown(module_info: ModuleInfo, front_matter=None, lang: str='zh-CN') -> str:
-    """
-    生成模块的Markdown
-    你可在此自定义生成的Markdown格式
-    Args:
-        module_info: 模块信息
-        front_matter: 自定义选项title, index, icon, category
-        lang: 语言
-    Returns:
-        Markdown 字符串
-    """
     content = ''
     front_matter = '---\\n' + '\\n'.join([f'{k}: {v}' for k, v in front_matter.items()]) + '\\n---\\n\\n'
     content += front_matter
@@ -126,15 +97,6 @@ import{_ as s,c as i,o as a,a9 as t}from"./chunks/framework.C4_mTacX.js";const y
         attr.docstring = attr.docstring.replace('\\n', '\\n\\n')
         content += f'{attr.docstring}\\n\\n'
     return content

func generate_docs(module_folder: str, output_dir: str, with_top: bool = False, lang: str = 'zh-CN', ignored_paths = None)

Description: 生成文档

Arguments:

  • module_folder: 模块文件夹
  • output_dir: 输出文件夹
  • with_top: 是否包含顶层文件夹 False时例如docs/api/module_a, docs/api/module_b, True时例如docs/api/module/module_a.md, docs/api/module/module_b.md
  • ignored_paths: 忽略的路径
  • lang: 语言
Source code or View on GitHub
python
def generate_docs(module_folder: str, output_dir: str, with_top: bool=False, lang: str='zh-CN', ignored_paths=None):
-    """
-    生成文档
-    Args:
-        module_folder: 模块文件夹
-        output_dir: 输出文件夹
-        with_top: 是否包含顶层文件夹 False时例如docs/api/module_a, docs/api/module_b, True时例如docs/api/module/module_a.md, docs/api/module/module_b.md
-        ignored_paths: 忽略的路径
-        lang: 语言
-    """
     if ignored_paths is None:
         ignored_paths = []
     file_data: dict[str, str] = {}
diff --git a/assets/en_dev_api_mkdoc.md.Ct_avrHh.lean.js b/assets/en_dev_api_mkdoc.md.DyhS85pU.lean.js
similarity index 100%
rename from assets/en_dev_api_mkdoc.md.Ct_avrHh.lean.js
rename to assets/en_dev_api_mkdoc.md.DyhS85pU.lean.js
diff --git a/assets/en_dev_api_plugin_index.md.BlDLlzQ8.js b/assets/en_dev_api_plugin_index.md.BlDLlzQ8.js
new file mode 100644
index 00000000..856208e8
--- /dev/null
+++ b/assets/en_dev_api_plugin_index.md.BlDLlzQ8.js
@@ -0,0 +1 @@
+import{_ as i,c as t,o as e,a9 as s}from"./chunks/framework.C4_mTacX.js";const _=JSON.parse('{"title":"liteyuki.plugin","description":"","frontmatter":{"title":"liteyuki.plugin","collapsed":true},"headers":[],"relativePath":"en/dev/api/plugin/index.md","filePath":"en/dev/api/plugin/index.md","lastUpdated":null}'),a={name:"en/dev/api/plugin/index.md"},n=s('

Module liteyuki.plugin

func get_loaded_plugins() -> dict[str, Plugin]

Description: 获取已加载的插件

Return: dict[str, Plugin]: 插件字典

Source code or View on GitHub
python
def get_loaded_plugins() -> dict[str, Plugin]:\n    return _plugins
',5),l=[n];function d(o,p,r,u,g,c){return e(),t("div",null,l)}const k=i(a,[["render",d]]);export{_ as __pageData,k as default}; diff --git a/assets/en_dev_api_plugin_index.md.BlDLlzQ8.lean.js b/assets/en_dev_api_plugin_index.md.BlDLlzQ8.lean.js new file mode 100644 index 00000000..a609ca8d --- /dev/null +++ b/assets/en_dev_api_plugin_index.md.BlDLlzQ8.lean.js @@ -0,0 +1 @@ +import{_ as i,c as t,o as e,a9 as s}from"./chunks/framework.C4_mTacX.js";const _=JSON.parse('{"title":"liteyuki.plugin","description":"","frontmatter":{"title":"liteyuki.plugin","collapsed":true},"headers":[],"relativePath":"en/dev/api/plugin/index.md","filePath":"en/dev/api/plugin/index.md","lastUpdated":null}'),a={name:"en/dev/api/plugin/index.md"},n=s("",5),l=[n];function d(o,p,r,u,g,c){return e(),t("div",null,l)}const k=i(a,[["render",d]]);export{_ as __pageData,k as default}; diff --git a/assets/en_dev_api_plugin_index.md.CKq64mgl.js b/assets/en_dev_api_plugin_index.md.CKq64mgl.js deleted file mode 100644 index 355c4845..00000000 --- a/assets/en_dev_api_plugin_index.md.CKq64mgl.js +++ /dev/null @@ -1,7 +0,0 @@ -import{_ as i,c as s,o as t,a9 as n}from"./chunks/framework.C4_mTacX.js";const k=JSON.parse('{"title":"liteyuki.plugin","description":"","frontmatter":{"title":"liteyuki.plugin","collapsed":true},"headers":[],"relativePath":"en/dev/api/plugin/index.md","filePath":"en/dev/api/plugin/index.md","lastUpdated":null}'),a={name:"en/dev/api/plugin/index.md"},e=n(`

Module liteyuki.plugin

func get_loaded_plugins() -> dict[str, Plugin]

Description: 获取已加载的插件

Return: dict[str, Plugin]: 插件字典

Source code or View on GitHub
python
def get_loaded_plugins() -> dict[str, Plugin]:
-    """
-    获取已加载的插件
-    Returns:
-        dict[str, Plugin]: 插件字典
-    """
-    return _plugins
`,5),l=[e];function p(d,o,r,u,h,g){return t(),s("div",null,l)}const _=i(a,[["render",p]]);export{k as __pageData,_ as default}; diff --git a/assets/en_dev_api_plugin_index.md.CKq64mgl.lean.js b/assets/en_dev_api_plugin_index.md.CKq64mgl.lean.js deleted file mode 100644 index 71511e14..00000000 --- a/assets/en_dev_api_plugin_index.md.CKq64mgl.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as i,c as s,o as t,a9 as n}from"./chunks/framework.C4_mTacX.js";const k=JSON.parse('{"title":"liteyuki.plugin","description":"","frontmatter":{"title":"liteyuki.plugin","collapsed":true},"headers":[],"relativePath":"en/dev/api/plugin/index.md","filePath":"en/dev/api/plugin/index.md","lastUpdated":null}'),a={name:"en/dev/api/plugin/index.md"},e=n("",5),l=[e];function p(d,o,r,u,h,g){return t(),s("div",null,l)}const _=i(a,[["render",p]]);export{k as __pageData,_ as default}; diff --git a/assets/en_dev_api_plugin_load.md.MWafzOLA.js b/assets/en_dev_api_plugin_load.md.CNTMTSZw.js similarity index 93% rename from assets/en_dev_api_plugin_load.md.MWafzOLA.js rename to assets/en_dev_api_plugin_load.md.CNTMTSZw.js index 3c6d6554..bb975197 100644 --- a/assets/en_dev_api_plugin_load.md.MWafzOLA.js +++ b/assets/en_dev_api_plugin_load.md.CNTMTSZw.js @@ -1,10 +1,4 @@ import{_ as h,D as l,c as t,j as i,a as s,I as k,w as p,a9 as a,o as e}from"./chunks/framework.C4_mTacX.js";const B=JSON.parse('{"title":"liteyuki.plugin.load","description":"","frontmatter":{"title":"liteyuki.plugin.load"},"headers":[],"relativePath":"en/dev/api/plugin/load.md","filePath":"en/dev/api/plugin/load.md","lastUpdated":1725101868000}'),E={name:"en/dev/api/plugin/load.md"},d=a(`

Module liteyuki.plugin.load

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午11:59 @Author : snowykami @Email : snowykami@outlook.com @File : load.py @Software: PyCharm

func load_plugin(module_path: str | Path) -> Optional[Plugin]

Description: 加载单个插件,可以是本地插件或是通过 pip 安装的插件。

Arguments:

  • module_path: 插件名称 path.to.your.plugin
  • 或插件路径 pathlib.Path(path/to/your/plugin):
Source code or View on GitHub
python
def load_plugin(module_path: str | Path) -> Optional[Plugin]:
-    """加载单个插件,可以是本地插件或是通过 \`pip\` 安装的插件。
-
-    参数:
-        module_path: 插件名称 \`path.to.your.plugin\`
-        或插件路径 \`pathlib.Path(path/to/your/plugin)\`
-    """
     module_path = path_to_module_name(Path(module_path)) if isinstance(module_path, Path) else module_path
     try:
         module = import_module(module_path)
@@ -29,12 +23,6 @@ import{_ as h,D as l,c as t,j as i,a as s,I as k,w as p,a9 as a,o as e}from"./ch
         logger.opt(colors=True).success(f'Failed to load liteyuki plugin "<r>{module_path}</r>"')
         traceback.print_exc()
         return None

func load_plugins(*plugin_dir: str, *, ignore_warning: bool = True) -> set[Plugin]

Description: 导入文件夹下多个插件

Arguments:

  • plugin_dir: 文件夹路径
  • ignore_warning: 是否忽略警告,通常是目录不存在或目录为空
Source code or View on GitHub
python
def load_plugins(*plugin_dir: str, ignore_warning: bool=True) -> set[Plugin]:
-    """导入文件夹下多个插件
-
-    参数:
-        plugin_dir: 文件夹路径
-        ignore_warning: 是否忽略警告,通常是目录不存在或目录为空
-    """
     plugins = set()
     for dir_path in plugin_dir:
         if not os.path.exists(dir_path):
@@ -61,15 +49,6 @@ import{_ as h,D as l,c as t,j as i,a as s,I as k,w as p,a9 as a,o as e}from"./ch
                 if _plugins.get(module_name):
                     plugins.add(_plugins[module_name])
     return plugins

func format_display_name(display_name: str, plugin_type: PluginType) -> str

Description: 设置插件名称颜色,根据不同类型插件设置颜色

Arguments:

  • display_name: 插件名称
  • plugin_type: 插件类型
`,17),r=i("strong",null,"Return",-1),g=a(`
Source code or View on GitHub
python
def format_display_name(display_name: str, plugin_type: PluginType) -> str:
-    """
-    设置插件名称颜色,根据不同类型插件设置颜色
-    Args:
-        display_name: 插件名称
-        plugin_type: 插件类型
-
-    Returns:
-        str: 设置后的插件名称 <y>name</y>
-    """
     color = 'y'
     match plugin_type:
         case PluginType.APPLICATION:
diff --git a/assets/en_dev_api_plugin_load.md.MWafzOLA.lean.js b/assets/en_dev_api_plugin_load.md.CNTMTSZw.lean.js
similarity index 100%
rename from assets/en_dev_api_plugin_load.md.MWafzOLA.lean.js
rename to assets/en_dev_api_plugin_load.md.CNTMTSZw.lean.js
diff --git a/assets/en_dev_api_plugins_plugin_loader_index.md.0ZrZ4ySj.js b/assets/en_dev_api_plugins_plugin_loader_index.md.0ZrZ4ySj.js
deleted file mode 100644
index 6288829f..00000000
--- a/assets/en_dev_api_plugins_plugin_loader_index.md.0ZrZ4ySj.js
+++ /dev/null
@@ -1,8 +0,0 @@
-import{_ as i,c as s,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const c=JSON.parse('{"title":"liteyuki.plugins.plugin_loader","description":"","frontmatter":{"title":"liteyuki.plugins.plugin_loader","collapsed":true},"headers":[],"relativePath":"en/dev/api/plugins/plugin_loader/index.md","filePath":"en/dev/api/plugins/plugin_loader/index.md","lastUpdated":null}'),l={name:"en/dev/api/plugins/plugin_loader/index.md"},e=n(`

Module liteyuki.plugins.plugin_loader

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/11 下午10:02 @Author : snowykami @Email : snowykami@outlook.com @File : init.py.py @Software: PyCharm

func default_plugins_loader()

Description: 默认插件加载器,应在初始化时调用

Source code or View on GitHub
python
def default_plugins_loader():
-    """
-    默认插件加载器,应在初始化时调用
-    """
-    for plugin in get_config('liteyuki.plugins', []):
-        load_plugin(plugin)
-    for plugin_dir in get_config('liteyuki.plugin_dirs', ['src/liteyuki_plugins']):
-        load_plugins(plugin_dir)
`,6),t=[e];function p(o,r,d,h,k,u){return a(),s("div",null,t)}const _=i(l,[["render",p]]);export{c as __pageData,_ as default}; diff --git a/assets/en_dev_api_plugins_plugin_loader_index.md.0ZrZ4ySj.lean.js b/assets/en_dev_api_plugins_plugin_loader_index.md.0ZrZ4ySj.lean.js deleted file mode 100644 index abd29146..00000000 --- a/assets/en_dev_api_plugins_plugin_loader_index.md.0ZrZ4ySj.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as i,c as s,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const c=JSON.parse('{"title":"liteyuki.plugins.plugin_loader","description":"","frontmatter":{"title":"liteyuki.plugins.plugin_loader","collapsed":true},"headers":[],"relativePath":"en/dev/api/plugins/plugin_loader/index.md","filePath":"en/dev/api/plugins/plugin_loader/index.md","lastUpdated":null}'),l={name:"en/dev/api/plugins/plugin_loader/index.md"},e=n("",6),t=[e];function p(o,r,d,h,k,u){return a(),s("div",null,t)}const _=i(l,[["render",p]]);export{c as __pageData,_ as default}; diff --git a/assets/en_dev_api_plugins_plugin_loader_index.md.Dyg-8Oyz.js b/assets/en_dev_api_plugins_plugin_loader_index.md.Dyg-8Oyz.js new file mode 100644 index 00000000..6e94102c --- /dev/null +++ b/assets/en_dev_api_plugins_plugin_loader_index.md.Dyg-8Oyz.js @@ -0,0 +1 @@ +import{_ as i,c as s,o as a,a9 as e}from"./chunks/framework.C4_mTacX.js";const _=JSON.parse('{"title":"liteyuki.plugins.plugin_loader","description":"","frontmatter":{"title":"liteyuki.plugins.plugin_loader","collapsed":true},"headers":[],"relativePath":"en/dev/api/plugins/plugin_loader/index.md","filePath":"en/dev/api/plugins/plugin_loader/index.md","lastUpdated":null}'),l={name:"en/dev/api/plugins/plugin_loader/index.md"},n=e('

Module liteyuki.plugins.plugin_loader

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/11 下午10:02 @Author : snowykami @Email : snowykami@outlook.com @File : init.py.py @Software: PyCharm

func default_plugins_loader()

Description: 默认插件加载器,应在初始化时调用

Source code or View on GitHub
python
def default_plugins_loader():\n    for plugin in get_config('liteyuki.plugins', []):\n        load_plugin(plugin)\n    for plugin_dir in get_config('liteyuki.plugin_dirs', ['src/liteyuki_plugins']):\n        load_plugins(plugin_dir)
',6),t=[n];function p(o,r,d,h,u,k){return a(),s("div",null,t)}const c=i(l,[["render",p]]);export{_ as __pageData,c as default}; diff --git a/assets/en_dev_api_plugins_plugin_loader_index.md.Dyg-8Oyz.lean.js b/assets/en_dev_api_plugins_plugin_loader_index.md.Dyg-8Oyz.lean.js new file mode 100644 index 00000000..09bf3dc0 --- /dev/null +++ b/assets/en_dev_api_plugins_plugin_loader_index.md.Dyg-8Oyz.lean.js @@ -0,0 +1 @@ +import{_ as i,c as s,o as a,a9 as e}from"./chunks/framework.C4_mTacX.js";const _=JSON.parse('{"title":"liteyuki.plugins.plugin_loader","description":"","frontmatter":{"title":"liteyuki.plugins.plugin_loader","collapsed":true},"headers":[],"relativePath":"en/dev/api/plugins/plugin_loader/index.md","filePath":"en/dev/api/plugins/plugin_loader/index.md","lastUpdated":null}'),l={name:"en/dev/api/plugins/plugin_loader/index.md"},n=e("",6),t=[n];function p(o,r,d,h,u,k){return a(),s("div",null,t)}const c=i(l,[["render",p]]);export{_ as __pageData,c as default}; diff --git a/assets/en_dev_api_utils.md.CvtH68Fd.js b/assets/en_dev_api_utils.md.pu8aZDZV.js similarity index 81% rename from assets/en_dev_api_utils.md.CvtH68Fd.js rename to assets/en_dev_api_utils.md.pu8aZDZV.js index 5f33dc92..fb858d20 100644 --- a/assets/en_dev_api_utils.md.CvtH68Fd.js +++ b/assets/en_dev_api_utils.md.pu8aZDZV.js @@ -1,25 +1,10 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const g=JSON.parse('{"title":"liteyuki.utils","description":"","frontmatter":{"title":"liteyuki.utils"},"headers":[],"relativePath":"en/dev/api/utils.md","filePath":"en/dev/api/utils.md","lastUpdated":1725101868000}'),t={name:"en/dev/api/utils.md"},l=n(`

Module liteyuki.utils

一些常用的工具类,部分来源于 nonebot 并遵循其许可进行修改

func is_coroutine_callable(call: Callable[..., Any]) -> bool

Description: 判断是否为协程可调用对象

Arguments:

  • call: 可调用对象

Return: bool: 是否为协程可调用对象

Source code or View on GitHub
python
def is_coroutine_callable(call: Callable[..., Any]) -> bool:
-    """
-    判断是否为协程可调用对象
-    Args:
-        call: 可调用对象
-    Returns:
-        bool: 是否为协程可调用对象
-    """
     if inspect.isroutine(call):
         return inspect.iscoroutinefunction(call)
     if inspect.isclass(call):
         return False
     func_ = getattr(call, '__call__', None)
     return inspect.iscoroutinefunction(func_)

func run_coroutine(*coro: Coroutine)

Description: 运行协程

Arguments:

  • coro:
Source code or View on GitHub
python
def run_coroutine(*coro: Coroutine):
-    """
-    运行协程
-    Args:
-        coro:
-
-    Returns:
-
-    """
     try:
         loop = asyncio.get_running_loop()
         if loop.is_running():
@@ -35,36 +20,14 @@ import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const g
         loop.close()
     except Exception as e:
         logger.error(f'Exception occurred: {e}')

func run_coroutine_in_thread(*coro: Coroutine)

Description: 在新线程中运行协程

Arguments:

  • coro:
Source code or View on GitHub
python
def run_coroutine_in_thread(*coro: Coroutine):
-    """
-    在新线程中运行协程
-    Args:
-        coro:
-
-    Returns:
-
-    """
     threading.Thread(target=run_coroutine, args=coro, daemon=True).start()

func path_to_module_name(path: Path) -> str

Description: 转换路径为模块名

Arguments:

  • path: 路径a/b/c/d -> a.b.c.d

Return: str: 模块名

Source code or View on GitHub
python
def path_to_module_name(path: Path) -> str:
-    """
-    转换路径为模块名
-    Args:
-        path: 路径a/b/c/d -> a.b.c.d
-    Returns:
-        str: 模块名
-    """
     rel_path = path.resolve().relative_to(Path.cwd().resolve())
     if rel_path.stem == '__init__':
         return '.'.join(rel_path.parts[:-1])
     else:
         return '.'.join(rel_path.parts[:-1] + (rel_path.stem,))

func async_wrapper(func: Callable[..., Any]) -> Callable[..., Coroutine]

Description: 异步包装器

Arguments:

  • func: Sync Callable

Return: Coroutine: Asynchronous Callable

Source code or View on GitHub
python
def async_wrapper(func: Callable[..., Any]) -> Callable[..., Coroutine]:
-    """
-    异步包装器
-    Args:
-        func: Sync Callable
-    Returns:
-        Coroutine: Asynchronous Callable
-    """
 
     async def wrapper(*args, **kwargs):
         return func(*args, **kwargs)
     wrapper.__signature__ = inspect.signature(func)
-    return wrapper
`,30),p=[l];function e(h,k,r,o,c,d){return a(),i("div",null,p)}const u=s(t,[["render",e]]);export{g as __pageData,u as default}; + return wrapper
`,30),e=[l];function h(p,k,r,o,d,c){return a(),i("div",null,e)}const u=s(t,[["render",h]]);export{g as __pageData,u as default}; diff --git a/assets/en_dev_api_utils.md.CvtH68Fd.lean.js b/assets/en_dev_api_utils.md.pu8aZDZV.lean.js similarity index 71% rename from assets/en_dev_api_utils.md.CvtH68Fd.lean.js rename to assets/en_dev_api_utils.md.pu8aZDZV.lean.js index 95380dd3..5669d0b5 100644 --- a/assets/en_dev_api_utils.md.CvtH68Fd.lean.js +++ b/assets/en_dev_api_utils.md.pu8aZDZV.lean.js @@ -1 +1 @@ -import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const g=JSON.parse('{"title":"liteyuki.utils","description":"","frontmatter":{"title":"liteyuki.utils"},"headers":[],"relativePath":"en/dev/api/utils.md","filePath":"en/dev/api/utils.md","lastUpdated":1725101868000}'),t={name:"en/dev/api/utils.md"},l=n("",30),p=[l];function e(h,k,r,o,c,d){return a(),i("div",null,p)}const u=s(t,[["render",e]]);export{g as __pageData,u as default}; +import{_ as s,c as i,o as a,a9 as n}from"./chunks/framework.C4_mTacX.js";const g=JSON.parse('{"title":"liteyuki.utils","description":"","frontmatter":{"title":"liteyuki.utils"},"headers":[],"relativePath":"en/dev/api/utils.md","filePath":"en/dev/api/utils.md","lastUpdated":1725101868000}'),t={name:"en/dev/api/utils.md"},l=n("",30),e=[l];function h(p,k,r,o,d,c){return a(),i("div",null,e)}const u=s(t,[["render",h]]);export{g as __pageData,u as default}; diff --git a/assets/en_dev_guide.md.Juefj7oz.js b/assets/en_dev_guide.md.Cex6uBmZ.js similarity index 98% rename from assets/en_dev_guide.md.Juefj7oz.js rename to assets/en_dev_guide.md.Cex6uBmZ.js index 5065a905..aad95591 100644 --- a/assets/en_dev_guide.md.Juefj7oz.js +++ b/assets/en_dev_guide.md.Cex6uBmZ.js @@ -1 +1 @@ -import{C as e}from"./chunks/ContributorBar.B9OqmyVx.js";import{c as o,I as t,a9 as i,o as r}from"./chunks/framework.C4_mTacX.js";import"./chunks/theme.BaW5BF9l.js";const a=i('

Development Guide

How to Develop

Please read the Plugin Development and API Reference documents if you are developing a plugin.

If you need to submit code to the Liteyuki repository, please read the following:

  1. First fork a copy of the Liteyuki repository to your personal/organization account.
  2. Develop in your repository.
  3. Create a new branch in your repository and submit your code to this branch.
  4. Create a Pull Request in your repository to merge your branch into the main branch of the Liteyuki repository.
  • Participation in development assumes that you are already familiar with the basic usage of the Python language and the Liteyuki framework.
  • If you are developing documentation, please ensure that you are familiar with Markdown syntax and basic front-end knowledge.
  • Contact the repository maintainer in case of conflicts.

Suggestions

  • During development, you can use tools such as mypy, flake8, and black for code checking and formatting.
  • Enable developer mode by setting dev_mode: true in config.yml to see more debugging information in the console.

Project Structure

  • main.py: Bot entry file
  • liteyuki: Framework directory (liteyukibot)
  • src: Bot application source code directory
    • liteyuki_plugins: Liteyuki plugin directory
    • nonebot_plugins: Nonebot plugin directory
    • resources: Built-in resource packs directory
    • utils: Utility directory
  • tests: Unit test directory
  • docs: Documentation directory
    • en: English documentation
    • zh: Chinese documentation
  • docker: Docker related content directory

The liteyuki framework is included in the LiteyukiBot application, so this project is both the LiteyukiBot application repository and the liteyuki framework repository.

The src directory is the application part, please develop business logic in this directory. liteyuki_plugins and nonebot_plugins directories are plugin directories, please develop plugins in these directories.

Standardization

  • Code should follow PEP8 and Google Python Style Guide.
  • In addition, code submitted to the Liteyuki repository should follow the following guidelines:
    • Ensure that the code is runnable and harmless.
    • Ensure that the type hints in the code are correct.
    • Ensure that the comment style is Google Docstring or Liteyuki Docstring(recommended) to ensure that Litedoc can parse and generate documentation correctly.
    • Strings should be enclosed in double quotes " as much as possible, and single quotes ' should be used when nesting strings.
    • If there is a part for ordinary users, ensure that the documentation is complete (each language has corresponding documentation).
  • commit message should follow the following guidelines:
    • You should commit the code after completing a feature or fixing a bug, and not mix the code of multiple features or bugs together.
    • We use gitmoji to mark the type of commit, such as :sparkles: for introducing new features, :bug: for fixing bugs, etc., please refer to gitmoji for details.
    • The format of the commit message is <emoji> [type:] <message>, such as :sparkles: feat: add new field to event, where the type field is the type of commit, not much is required, but please fill in as much as possible; the message field is a brief description, in summary, what you did.
    • There is no restriction on the language of the commit message, and bilingual use is possible if conditions permit.
  • The documentation should follow Markdown syntax and support vitepress-related content:
    • Revise the documentation for each language when editing.
    • Ensure that the links in the document are correct and do not lead to inaccessible links.
    • Ensure that the User Documentation is easy to understand and the Development Documentation is detailed.

Finally

  • This project is a non-profit open-source project, and we welcome anyone to participate in development. Your contributions will make Liteyuki better.
',16),p=JSON.parse('{"title":"Development Guide","description":"","frontmatter":{"title":"Development Guide","order":0},"headers":[],"relativePath":"en/dev/guide.md","filePath":"en/dev/guide.md","lastUpdated":1725389024000}'),l={name:"en/dev/guide.md"},g=Object.assign(l,{setup(n){return(d,s)=>(r(),o("div",null,[a,t(e)]))}});export{p as __pageData,g as default}; +import{C as e}from"./chunks/ContributorBar.jTMkL6UJ.js";import{c as o,I as t,a9 as i,o as r}from"./chunks/framework.C4_mTacX.js";import"./chunks/theme.CUFI0Yt1.js";const a=i('

Development Guide

How to Develop

Please read the Plugin Development and API Reference documents if you are developing a plugin.

If you need to submit code to the Liteyuki repository, please read the following:

  1. First fork a copy of the Liteyuki repository to your personal/organization account.
  2. Develop in your repository.
  3. Create a new branch in your repository and submit your code to this branch.
  4. Create a Pull Request in your repository to merge your branch into the main branch of the Liteyuki repository.
  • Participation in development assumes that you are already familiar with the basic usage of the Python language and the Liteyuki framework.
  • If you are developing documentation, please ensure that you are familiar with Markdown syntax and basic front-end knowledge.
  • Contact the repository maintainer in case of conflicts.

Suggestions

  • During development, you can use tools such as mypy, flake8, and black for code checking and formatting.
  • Enable developer mode by setting dev_mode: true in config.yml to see more debugging information in the console.

Project Structure

  • main.py: Bot entry file
  • liteyuki: Framework directory (liteyukibot)
  • src: Bot application source code directory
    • liteyuki_plugins: Liteyuki plugin directory
    • nonebot_plugins: Nonebot plugin directory
    • resources: Built-in resource packs directory
    • utils: Utility directory
  • tests: Unit test directory
  • docs: Documentation directory
    • en: English documentation
    • zh: Chinese documentation
  • docker: Docker related content directory

The liteyuki framework is included in the LiteyukiBot application, so this project is both the LiteyukiBot application repository and the liteyuki framework repository.

The src directory is the application part, please develop business logic in this directory. liteyuki_plugins and nonebot_plugins directories are plugin directories, please develop plugins in these directories.

Standardization

  • Code should follow PEP8 and Google Python Style Guide.
  • In addition, code submitted to the Liteyuki repository should follow the following guidelines:
    • Ensure that the code is runnable and harmless.
    • Ensure that the type hints in the code are correct.
    • Ensure that the comment style is Google Docstring or Liteyuki Docstring(recommended) to ensure that Litedoc can parse and generate documentation correctly.
    • Strings should be enclosed in double quotes " as much as possible, and single quotes ' should be used when nesting strings.
    • If there is a part for ordinary users, ensure that the documentation is complete (each language has corresponding documentation).
  • commit message should follow the following guidelines:
    • You should commit the code after completing a feature or fixing a bug, and not mix the code of multiple features or bugs together.
    • We use gitmoji to mark the type of commit, such as :sparkles: for introducing new features, :bug: for fixing bugs, etc., please refer to gitmoji for details.
    • The format of the commit message is <emoji> [type:] <message>, such as :sparkles: feat: add new field to event, where the type field is the type of commit, not much is required, but please fill in as much as possible; the message field is a brief description, in summary, what you did.
    • There is no restriction on the language of the commit message, and bilingual use is possible if conditions permit.
  • The documentation should follow Markdown syntax and support vitepress-related content:
    • Revise the documentation for each language when editing.
    • Ensure that the links in the document are correct and do not lead to inaccessible links.
    • Ensure that the User Documentation is easy to understand and the Development Documentation is detailed.

Finally

  • This project is a non-profit open-source project, and we welcome anyone to participate in development. Your contributions will make Liteyuki better.
',16),p=JSON.parse('{"title":"Development Guide","description":"","frontmatter":{"title":"Development Guide","order":0},"headers":[],"relativePath":"en/dev/guide.md","filePath":"en/dev/guide.md","lastUpdated":1725389024000}'),l={name:"en/dev/guide.md"},g=Object.assign(l,{setup(n){return(d,s)=>(r(),o("div",null,[a,t(e)]))}});export{p as __pageData,g as default}; diff --git a/assets/en_dev_guide.md.Juefj7oz.lean.js b/assets/en_dev_guide.md.Cex6uBmZ.lean.js similarity index 76% rename from assets/en_dev_guide.md.Juefj7oz.lean.js rename to assets/en_dev_guide.md.Cex6uBmZ.lean.js index 5f068172..69f2c9ca 100644 --- a/assets/en_dev_guide.md.Juefj7oz.lean.js +++ b/assets/en_dev_guide.md.Cex6uBmZ.lean.js @@ -1 +1 @@ -import{C as e}from"./chunks/ContributorBar.B9OqmyVx.js";import{c as o,I as t,a9 as i,o as r}from"./chunks/framework.C4_mTacX.js";import"./chunks/theme.BaW5BF9l.js";const a=i("",16),p=JSON.parse('{"title":"Development Guide","description":"","frontmatter":{"title":"Development Guide","order":0},"headers":[],"relativePath":"en/dev/guide.md","filePath":"en/dev/guide.md","lastUpdated":1725389024000}'),l={name:"en/dev/guide.md"},g=Object.assign(l,{setup(n){return(d,s)=>(r(),o("div",null,[a,t(e)]))}});export{p as __pageData,g as default}; +import{C as e}from"./chunks/ContributorBar.jTMkL6UJ.js";import{c as o,I as t,a9 as i,o as r}from"./chunks/framework.C4_mTacX.js";import"./chunks/theme.CUFI0Yt1.js";const a=i("",16),p=JSON.parse('{"title":"Development Guide","description":"","frontmatter":{"title":"Development Guide","order":0},"headers":[],"relativePath":"en/dev/guide.md","filePath":"en/dev/guide.md","lastUpdated":1725389024000}'),l={name:"en/dev/guide.md"},g=Object.assign(l,{setup(n){return(d,s)=>(r(),o("div",null,[a,t(e)]))}});export{p as __pageData,g as default}; diff --git a/deploy/config.html b/deploy/config.html index d8142d8e..07a93973 100644 --- a/deploy/config.html +++ b/deploy/config.html @@ -8,9 +8,9 @@ - + - + @@ -50,7 +50,7 @@ dev_mode: false # 开发者模式,开启后将会启动监视者,监视文件变化并自动重载 ...

示例:与NoneBot对接的OneBot实现端配置

生产环境中推荐反向WebSocket 不同的实现端给出的字段可能不同,但是基本上都是一样的,这里给出一个参考值

字段参考值说明
协议反向WebSocket推荐使用反向ws协议进行通信,即轻雪作为服务端
地址ws://127.0.0.1:20216/onebot/v11/ws地址取决于配置文件,本机默认为127.0.0.1:20216
AccessToken""如果你给轻雪配置了AccessToken,请在此填写相同的值

其他

  • 轻雪不局限于OneBot适配器,你可以使用NoneBot2支持的任何适配器或使用轻雪讯息传递插件

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/deploy/fandq.html b/deploy/fandq.html index d7f74560..74671fe6 100644 --- a/deploy/fandq.html +++ b/deploy/fandq.html @@ -8,9 +8,9 @@ - + - + @@ -20,7 +20,7 @@
Skip to content

答疑

常见问题

  • 设备上Python环境太乱了,pip和python不对应怎么办?

    • 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件
  • 为什么我启动后机器人没有反应?

    • 请检查配置文件的command_startsuperusers,确认你有权限使用命令并按照正确的命令发送
    • 确认命令头没有和nickname{}冲突,例如一个命令是help,但是Bot昵称有一个help,那么将会被解析为nickname而不是命令
  • 更新轻雪失败,报错InvalidGitRepositoryError

    • 请正确安装Git,并使用克隆而非直接下载的方式部署轻雪
  • 怎么登录聊天平台,例如QQ?

    • 你有这个问题说明你不是很了解这个项目,本项目不负责实现登录功能,只负责处理和回应消息,登录功能由实现端(协议端)提供, 实现端本身不负责处理响应逻辑,将消息按照OneBot标准处理好上报给轻雪 你需要使用Onebot标准的实现端来连接到轻雪并将消息上报给轻雪,下面已经列出一些推荐的实现端
  • Playwright安装失败

    • 输入playwright install安装浏览器
  • 有的插件安装后报错无法启动

    • 请先查阅插件文档,确认插件必要配置项完好后,仍然出现问题,请联系插件作者或在安全模式safe_mode: true下启动轻雪,在安全模式下你可以使用npm uninstall卸载问题插件
  • 其他问题

    加入QQ群775840726

推荐方案(QQ)

  1. Lagrange.OneBot,基于NTQQ的OneBot实现,目前Markdown消息支持Lagrange
  2. LLOneBot,NTQQ的OneBot插件,需要安装NTQQ
  3. OpenShamrock,基于Lsposed的OneBot11实现
  4. TRSS-Yunzai,基于node.js,可使用ws-plugin进行通信
  5. go-cqhttpgo语言实现的OneBot11实现端,目前可用性较低
  6. Gensokyo,基于 OneBot QQ官方机器人Api Golang 原生实现,需要官方机器人权限
  7. 人工实现的Onebot协议,自己整一个WebSocket客户端,看着QQ的消息,然后给轻雪传输数据

推荐方案(Minecraft)

  1. MinecraftOneBot,我们专门为Minecraft开发的服务器Bot,支持OneBotV11标准

使用其他项目连接请先自行查阅文档,若有困难请联系对应开发者而不是Liteyuki的开发者

鸣谢

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/deploy/install.html b/deploy/install.html index 2a226641..ff181b51 100644 --- a/deploy/install.html +++ b/deploy/install.html @@ -8,9 +8,9 @@ - + - + @@ -28,7 +28,7 @@ pip install -r requirements.txt # 启动Bot python main.py

TIP

推荐使用虚拟环境来运行轻雪,以避免依赖冲突,你可以使用python -m venv .venv来创建虚拟环境,然后使用.venv\Scripts\activate来激活虚拟环境(Linux下使用source .venv/bin/activate激活)

使用Docker构建

  1. 安装 Docker
  2. 克隆项目 git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1
  3. 进入轻雪目录 cd LiteyukiBot
  4. 构建镜像 docker build -t liteyukibot .
  5. 启动容器 docker run -p 20216:20216 -v $(pwd):/liteyukibot -v $(pwd)/.cache:/root/.cache liteyukibot

TIP

Windows请使用项目绝对目录/path/to/LiteyukiBot代替$(pwd)
若你修改了端口号请将20216:20216中的20216替换为你的端口号

使用TRSS Scripts部署

TRSS_Liteyuki轻雪机器人管理脚本,该功能由TRSS提供支持,不是LiteyukiBot官方提供的功能,推荐使用Arch Linux

装置要求

  • Windows系统版本最低Windows10+/Windows Server 2019+
  • Linux系统要支持Python3.10+,推荐Ubuntu 20.04+(别用你那b CentOS)
  • CPU: 至少1vCPU
  • 内存: Bot无其他插件会占用300~500MB,包括chromiumnode等进程,其他插件占用视具体插件而定,建议1GB以上
  • 硬盘: 至少1GB空间

WARNING

如果装置上有多个环境,请使用path/to/python -m pip install -r requirements.txt来安装依赖,path/to/python为你的Python可执行文件路径

WARNING

轻雪的更新功能依赖Git,如果你没有安装Git直接下载源代码运行,你将无法使用更新功能

其他问题请移步至答疑

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/dev/api/bot/index.html b/dev/api/bot/index.html index 93dc5bfe..2d785b24 100644 --- a/dev/api/bot/index.html +++ b/dev/api/bot/index.html @@ -8,11 +8,11 @@ - + - + - + @@ -20,12 +20,7 @@
Skip to content

模块 liteyuki.bot

class LiteyukiBot

func __init__(self, **kwargs) -> None

说明: 初始化轻雪实例

参数:

  • **kwargs: 配置
源代码在GitHub上查看
python
def __init__(self, **kwargs) -> None:
-    """
-        初始化轻雪实例
-        Args:
-            **kwargs: 配置
-        """
-    '常规操作'
+    """常规操作"""
     print_logo()
     global _BOT_INSTANCE
     _BOT_INSTANCE = self
@@ -44,9 +39,6 @@
     self.call_restart_count = 0
     '加载插件加载器'
     load_plugin('liteyuki.plugins.plugin_loader')

func run(self)

说明: 外部启动接口

源代码在GitHub上查看
python
def run(self):
-    """
-        外部启动接口
-        """
     self.process_manager.start_all()
     try:
         asyncio.run(self._run())
@@ -54,9 +46,6 @@
         logger.opt(colors=True).info('<y>Liteyuki is stopping...</y>')
         self.stop()
     logger.opt(colors=True).info('<y>Liteyuki is stopped...</y>')

async func keep_alive(self)

说明: 保持轻雪运行

源代码在GitHub上查看
python
async def keep_alive(self):
-    """
-        保持轻雪运行
-        """
     logger.info('Liteyuki is keeping alive...')
     try:
         while not self.stop_event.is_set():
@@ -64,11 +53,6 @@
     except Exception:
         logger.info('Liteyuki is exiting...')
         self.stop()

func restart(self, delay: int = 0)

说明: 重启轻雪本体

参数:

  • delay (int, optional): 延迟重启时间. Defaults to 0.
源代码在GitHub上查看
python
def restart(self, delay: int=0):
-    """
-        重启轻雪本体
-        Args:
-            delay ([`int`](https%3A//docs.python.org/3/library/functions.html#int), optional): 延迟重启时间. Defaults to 0.
-        """
     if self.call_restart_count < 1:
         executable = sys.executable
         args = sys.argv
@@ -86,12 +70,6 @@
         threading.Thread(target=os.system, args=(f"{cmd} {executable} {' '.join(args)}",), daemon=True).start()
         sys.exit(0)
     self.call_restart_count += 1

func restart_process(self, name: Optional[str] = None)

说明: 停止轻雪

参数:

源代码在GitHub上查看
python
def restart_process(self, name: Optional[str]=None):
-    """
-        停止轻雪
-        Args:
-            name ([`Optional`](https%3A//docs.python.org/3/library/typing.html#typing.Optional)[[`str`](https%3A//docs.python.org/3/library/stdtypes.html#str)]): 进程名. Defaults to None.
-        Returns:
-        """
     if name is not None:
         chan_active = get_channel(f'{name}-active')
         chan_active.send(1)
@@ -99,100 +77,23 @@
         for process_name in self.process_manager.processes:
             chan_active = get_channel(f'{process_name}-active')
             chan_active.send(1)

func init(self, *args, **kwargs)

说明: 初始化轻雪, 自动调用

参数:

  • *args: 参数
  • **kwargs: 关键字参数
源代码在GitHub上查看
python
def init(self, *args, **kwargs):
-    """
-        初始化轻雪, 自动调用
-        Args:
-            *args: 参数
-            **kwargs: 关键字参数
-        """
     self.init_logger()

func init_logger(self)

说明: 初始化日志

源代码在GitHub上查看
python
def init_logger(self):
-    """
-        初始化日志
-        """
     init_log(config=self.config)

func stop(self)

说明: 停止轻雪

源代码在GitHub上查看
python
def stop(self):
-    """
-        停止轻雪
-        """
     self.process_manager.terminate_all()
     self.stop_event.set()

func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

说明: 注册启动前的函数

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:
-    """
-        注册启动前的函数
-        Args:
-            func ([`LIFESPAN_FUNC`](./lifespan#var-lifespan-func)): 生命周期函数
-        Returns:
-            [`LIFESPAN_FUNC`](./lifespan#var-lifespan-func): 生命周期函数
-        """
     return self.lifespan.on_before_start(func)

func on_after_start(self, func: LIFESPAN_FUNC)

说明: 注册启动后的函数

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_after_start(self, func: LIFESPAN_FUNC):
-    """
-        注册启动后的函数
-        Args:
-            func ([`LIFESPAN_FUNC`](./lifespan#var-lifespan-func)): 生命周期函数
-        Returns:
-            [`LIFESPAN_FUNC`](./lifespan#var-lifespan-func): 生命周期函数
-        """
     return self.lifespan.on_after_start(func)

func on_after_shutdown(self, func: LIFESPAN_FUNC)

说明: 注册停止后的函数:未实现

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_after_shutdown(self, func: LIFESPAN_FUNC):
-    """
-        注册停止后的函数:未实现
-        Args:
-            func ([`LIFESPAN_FUNC`](./lifespan#var-lifespan-func)): 生命周期函数
-        Returns:
-            [`LIFESPAN_FUNC`](./lifespan#var-lifespan-func): 生命周期函数
-        """
     return self.lifespan.on_after_shutdown(func)

func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC)

说明: 注册进程停止前的函数,为子进程停止时调用

参数:

返回: PROCESS_LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC):
-    """
-        注册进程停止前的函数,为子进程停止时调用
-        Args:
-            func ([`PROCESS_LIFESPAN_FUNC`](./lifespan#var-process-lifespan-func)): 生命周期函数
-        Returns:
-            [`PROCESS_LIFESPAN_FUNC`](./lifespan#var-process-lifespan-func): 生命周期函数
-        """
     return self.lifespan.on_before_process_shutdown(func)

func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC

说明: 注册进程重启前的函数,为子进程重启时调用

参数:

返回: PROCESS_LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC:
-    """
-        注册进程重启前的函数,为子进程重启时调用
-        Args:
-            func ([`PROCESS_LIFESPAN_FUNC`](./lifespan#var-process-lifespan-func)): 生命周期函数
-        Returns:
-            [`PROCESS_LIFESPAN_FUNC`](./lifespan#var-process-lifespan-func): 生命周期函数
-        """
     return self.lifespan.on_before_process_restart(func)

func on_after_restart(self, func: LIFESPAN_FUNC)

说明: 注册重启后的函数:未实现

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_after_restart(self, func: LIFESPAN_FUNC):
-    """
-        注册重启后的函数:未实现
-        Args:
-            func ([`LIFESPAN_FUNC`](./lifespan#var-lifespan-func)): 生命周期函数
-        Returns:
-            [`LIFESPAN_FUNC`](./lifespan#var-lifespan-func): 生命周期函数
-        """
     return self.lifespan.on_after_restart(func)

func get_bot() -> LiteyukiBot

说明: 获取轻雪实例

返回: LiteyukiBot: 轻雪实例

源代码在GitHub上查看
python
def get_bot() -> LiteyukiBot:
-    """
-    获取轻雪实例
-    Returns:
-        [`LiteyukiBot`](#class-liteyukibot): 轻雪实例
-    """
     if IS_MAIN_PROCESS:
         if _BOT_INSTANCE is None:
             raise RuntimeError('Liteyuki instance not initialized.')
         return _BOT_INSTANCE
     else:
         raise RuntimeError("Can't get bot instance in sub process.")

func get_config(key: str, default: Any = None) -> Any

说明: 获取配置

参数:

  • key (str): 配置键
  • default (Any, optional): 默认值. Defaults to None.

返回: Any: 配置值

源代码在GitHub上查看
python
def get_config(key: str, default: Any=None) -> Any:
-    """
-    获取配置
-    Args:
-        key ([`str`](https%3A//docs.python.org/3/library/stdtypes.html#str)): 配置键
-        default ([`Any`](https%3A//docs.python.org/3/library/functions.html#any), optional): 默认值. Defaults to None.
-    Returns:
-        [`Any`](https%3A//docs.python.org/3/library/functions.html#any): 配置值
-    """
     return get_bot().config.get(key, default)

func get_config_with_compat(key: str, compat_keys: tuple[str], default: Any = None) -> Any

说明: 获取配置,兼容旧版本

参数:

  • key (str): 配置键
  • compat_keys (tuplestr): 兼容键
  • default (Any, optional): 默认值. Defaults to None.

返回: Any: 配置值

源代码在GitHub上查看
python
def get_config_with_compat(key: str, compat_keys: tuple[str], default: Any=None) -> Any:
-    """
-    获取配置,兼容旧版本
-    Args:
-        key ([`str`](https%3A//docs.python.org/3/library/stdtypes.html#str)): 配置键
-        compat_keys ([`tuple`](https%3A//docs.python.org/3/library/stdtypes.html#tuple)[`str`](https%3A//docs.python.org/3/library/stdtypes.html#str)): 兼容键
-        default ([`Any`](https%3A//docs.python.org/3/library/functions.html#any), optional): 默认值. Defaults to None.
-
-    Returns:
-        [`Any`](https%3A//docs.python.org/3/library/functions.html#any): 配置值
-    """
     if key in get_bot().config:
         return get_bot().config[key]
     for compat_key in compat_keys:
@@ -200,7 +101,7 @@
             logger.warning(f'Config key "{compat_key}" will be deprecated, use "{key}" instead.')
             return get_bot().config[compat_key]
     return default

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/dev/api/bot/lifespan.html b/dev/api/bot/lifespan.html index c7a79036..eb842118 100644 --- a/dev/api/bot/lifespan.html +++ b/dev/api/bot/lifespan.html @@ -8,11 +8,11 @@ - + - + - + @@ -20,9 +20,6 @@
Skip to content

模块 liteyuki.bot.lifespan

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午8:24 @Author : snowykami @Email : snowykami@outlook.com @File : lifespan.py @Software: PyCharm

var SYNC_LIFESPAN_FUNC

  • 说明: 同步生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[], Any]

var ASYNC_LIFESPAN_FUNC

  • 说明: 异步生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[], Awaitable[Any]]

var LIFESPAN_FUNC

  • 说明: 生命周期函数

  • 类型: TypeAlias

  • 默认值: SYNC_LIFESPAN_FUNC | ASYNC_LIFESPAN_FUNC

var SYNC_PROCESS_LIFESPAN_FUNC

  • 说明: 同步进程生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[str], Any]

var ASYNC_PROCESS_LIFESPAN_FUNC

  • 说明: 异步进程生命周期函数

  • 类型: TypeAlias

  • 默认值: Callable[[str], Awaitable[Any]]

var PROCESS_LIFESPAN_FUNC

  • 说明: 进程函数

  • 类型: TypeAlias

  • 默认值: SYNC_PROCESS_LIFESPAN_FUNC | ASYNC_PROCESS_LIFESPAN_FUNC

class Lifespan

func __init__(self) -> None

说明: 轻雪生命周期管理,启动、停止、重启

源代码在GitHub上查看
python
def __init__(self) -> None:
-    """
-        轻雪生命周期管理,启动、停止、重启
-        """
     self.life_flag: int = 0
     self._before_start_funcs: list[LIFESPAN_FUNC] = []
     self._after_start_funcs: list[LIFESPAN_FUNC] = []
@@ -31,99 +28,33 @@
     self._before_process_restart_funcs: list[PROCESS_LIFESPAN_FUNC] = []
     self._after_restart_funcs: list[LIFESPAN_FUNC] = []

@staticmethod

async func run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None

说明: 并发运行异步函数

参数:

源代码在GitHub上查看
python
@staticmethod
 async def run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None:
-    """
-        并发运行异步函数
-        Args:
-            funcs ([`Sequence`](https%3A//docs.python.org/3/library/typing.html#typing.Sequence)[[`ASYNC_LIFESPAN_FUNC`](#var-lifespan-func) | [`PROCESS_LIFESPAN_FUNC`](#var-process-lifespan-func)]): 函数列表
-        Returns:
-        """
     tasks = [func(*args, **kwargs) if is_coroutine_callable(func) else async_wrapper(func)(*args, **kwargs) for func in funcs]
     await asyncio.gather(*tasks)

func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

说明: 注册启动时的函数

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:
-    """
-        注册启动时的函数
-        Args:
-            func ([`LIFESPAN_FUNC`](#var-lifespan-func)): 生命周期函数
-        Returns:
-            [`LIFESPAN_FUNC`](#var-lifespan-func): 生命周期函数
-        """
     self._before_start_funcs.append(func)
     return func

func on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

说明: 注册启动时的函数

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:
-    """
-        注册启动时的函数
-        Args:
-            func ([`LIFESPAN_FUNC`](#var-lifespan-func)): 生命周期函数
-        Returns:
-            [`LIFESPAN_FUNC`](#var-lifespan-func): 生命周期函数
-        """
     self._after_start_funcs.append(func)
     return func

func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC

说明: 注册进程停止前的函数

参数:

返回: PROCESS_LIFESPAN_FUNC: 进程生命周期函数

源代码在GitHub上查看
python
def on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC:
-    """
-        注册进程停止前的函数
-        Args:
-            func ([`PROCESS_LIFESPAN_FUNC`](#var-process-lifespan-func)): 进程生命周期函数
-        Returns:
-            [`PROCESS_LIFESPAN_FUNC`](#var-process-lifespan-func): 进程生命周期函数
-        """
     self._before_process_shutdown_funcs.append(func)
     return func

func on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

说明: 注册停止后的函数

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:
-    """
-        注册停止后的函数
-        Args:
-            func ([`LIFESPAN_FUNC`](#var-lifespan-func)): 生命周期函数
-        Returns:
-            [`LIFESPAN_FUNC`](#var-lifespan-func): 生命周期函数
-        """
     self._after_shutdown_funcs.append(func)
     return func

func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC

说明: 注册进程重启前的函数

参数:

返回: PROCESS_LIFESPAN_FUNC: 进程生命周期函数

源代码在GitHub上查看
python
def on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC:
-    """
-        注册进程重启前的函数
-        Args:
-            func ([`PROCESS_LIFESPAN_FUNC`](#var-process-lifespan-func)): 进程生命周期函数
-        Returns:
-            [`PROCESS_LIFESPAN_FUNC`](#var-process-lifespan-func): 进程生命周期函数
-        """
     self._before_process_restart_funcs.append(func)
     return func

func on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

说明: 注册重启后的函数

参数:

返回: LIFESPAN_FUNC: 生命周期函数

源代码在GitHub上查看
python
def on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:
-    """
-        注册重启后的函数
-        Args:
-            func ([`LIFESPAN_FUNC`](#var-lifespan-func)): 生命周期函数
-        Returns:
-            [`LIFESPAN_FUNC`](#var-lifespan-func): 生命周期函数
-        """
     self._after_restart_funcs.append(func)
     return func

async func before_start(self) -> None

说明: 启动前钩子

源代码在GitHub上查看
python
async def before_start(self) -> None:
-    """
-        启动前钩子
-        """
     logger.debug('Running before_start functions')
     await self.run_funcs(self._before_start_funcs)

async func after_start(self) -> None

说明: 启动后钩子

源代码在GitHub上查看
python
async def after_start(self) -> None:
-    """
-        启动后钩子
-        """
     logger.debug('Running after_start functions')
     await self.run_funcs(self._after_start_funcs)

async func before_process_shutdown(self, *args, **kwargs) -> None

说明: 停止前钩子

源代码在GitHub上查看
python
async def before_process_shutdown(self, *args, **kwargs) -> None:
-    """
-        停止前钩子
-        """
     logger.debug('Running before_shutdown functions')
     await self.run_funcs(self._before_process_shutdown_funcs, *args, **kwargs)

async func after_shutdown(self) -> None

说明: 停止后钩子 未实现

源代码在GitHub上查看
python
async def after_shutdown(self) -> None:
-    """
-        停止后钩子 未实现
-        """
     logger.debug('Running after_shutdown functions')
     await self.run_funcs(self._after_shutdown_funcs)

async func before_process_restart(self, *args, **kwargs) -> None

说明: 重启前钩子

源代码在GitHub上查看
python
async def before_process_restart(self, *args, **kwargs) -> None:
-    """
-        重启前钩子
-        """
     logger.debug('Running before_restart functions')
     await self.run_funcs(self._before_process_restart_funcs, *args, **kwargs)

async func after_restart(self) -> None

说明: 重启后钩子 未实现

源代码在GitHub上查看
python
async def after_restart(self) -> None:
-    """
-        重启后钩子 未实现
-        """
     logger.debug('Running after_restart functions')
     await self.run_funcs(self._after_restart_funcs)

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/dev/api/comm/channel.html b/dev/api/comm/channel.html index a4193e25..d698ddd1 100644 --- a/dev/api/comm/channel.html +++ b/dev/api/comm/channel.html @@ -8,11 +8,11 @@ - + - + - + @@ -20,12 +20,6 @@
Skip to content

模块 liteyuki.comm.channel

本模块定义了一个通用的通道类,用于进程间通信

var SYNC_ON_RECEIVE_FUNC

  • 说明: 同步接收函数

  • 类型: TypeAlias

  • 默认值: Callable[[T], Any]

var ASYNC_ON_RECEIVE_FUNC

  • 说明: 异步接收函数

  • 类型: TypeAlias

  • 默认值: Callable[[T], Coroutine[Any, Any, Any]]

var ON_RECEIVE_FUNC

  • 说明: 接收函数

  • 类型: TypeAlias

  • 默认值: SYNC_ON_RECEIVE_FUNC | ASYNC_ON_RECEIVE_FUNC

var SYNC_FILTER_FUNC

  • 说明: 同步过滤函数

  • 类型: TypeAlias

  • 默认值: Callable[[T], bool]

var ASYNC_FILTER_FUNC

  • 说明: 异步过滤函数

  • 类型: TypeAlias

  • 默认值: Callable[[T], Coroutine[Any, Any, bool]]

var FILTER_FUNC

  • 说明: 过滤函数

  • 类型: TypeAlias

  • 默认值: SYNC_FILTER_FUNC | ASYNC_FILTER_FUNC

class Channel(Generic[T])

func __init__(self, name: str, type_check: Optional[bool] = None)

说明: 初始化通道

参数:

  • name: 通道ID
  • type_check: 是否开启类型检查, 若为空,则传入泛型默认开启,否则默认关闭
源代码在GitHub上查看
python
def __init__(self, name: str, type_check: Optional[bool]=None):
-    """
-        初始化通道
-        Args:
-            name: 通道ID
-            type_check: 是否开启类型检查, 若为空,则传入泛型默认开启,否则默认关闭
-        """
     self.conn_send, self.conn_recv = Pipe()
     self._conn_send_inner, self._conn_recv_inner = Pipe()
     self._closed = False
@@ -48,11 +42,6 @@
         logger.debug(f'Channel {name} initialized in main process')
     else:
         logger.debug(f'Channel {name} initialized in sub process, should manually set in main process')

func send(self, data: T)

说明: 发送数据,发送函数为同步函数,没有异步的必要

参数:

  • data (T): 数据
源代码在GitHub上查看
python
def send(self, data: T):
-    """
-        发送数据,发送函数为同步函数,没有异步的必要
-        Args:
-            data (T): 数据
-        """
     if self.type_check:
         _type = self._get_generic_type()
         if _type is not None and (not self._validate_structure(data, _type)):
@@ -60,31 +49,14 @@
     if self._closed:
         raise RuntimeError('Cannot send to a closed channel_')
     self.conn_send.send(data)

func receive(self) -> T

说明: 同步接收数据,会阻塞线程

返回: T: 数据

源代码在GitHub上查看
python
def receive(self) -> T:
-    """
-        同步接收数据,会阻塞线程
-        Returns:
-            T: 数据
-        """
     if self._closed:
         raise RuntimeError('Cannot receive from a closed channel_')
     while True:
         data = self.conn_recv.recv()
         return data

async func async_receive(self) -> T

说明: 异步接收数据,会挂起等待

返回: T: 数据

源代码在GitHub上查看
python
async def async_receive(self) -> T:
-    """
-        异步接收数据,会挂起等待
-        Returns:
-            T: 数据
-        """
     loop = asyncio.get_running_loop()
     data = await loop.run_in_executor(None, self.receive)
     return data

func on_receive(self, filter_func: Optional[FILTER_FUNC] = None) -> Callable[[Callable[[T], Any]], Callable[[T], Any]]

说明: 接收数据并执行函数

参数:

返回: Callable[[Callable[[T], Any]], Callable[[T], Any]]: 装饰器

源代码在GitHub上查看
python
def on_receive(self, filter_func: Optional[FILTER_FUNC]=None) -> Callable[[Callable[[T], Any]], Callable[[T], Any]]:
-    """
-        接收数据并执行函数
-        Args:
-            filter_func ([`Optional`](https%3A//docs.python.org/3/library/typing.html#typing.Optional)[[`FILTER_FUNC`](#var-FILTER_FUNC)], optional): 过滤函数. Defaults to None.
-        Returns:
-            Callable[[Callable[[T], Any]], Callable[[T], Any]]: 装饰器
-        """
     if not IS_MAIN_PROCESS:
         raise RuntimeError('on_receive can only be used in main process')
 
@@ -110,12 +82,6 @@
         _func_id += 1
         return func
     return decorator

var active_channel

  • 说明: 子进程可用的主动和被动通道

  • 类型: Channel

  • 默认值: Channel(name='active_channel')

var passive_channel

  • 说明: 被动通道

  • 类型: Channel

  • 默认值: Channel(name='passive_channel')

var publish_channel

  • 说明: 通道传递通道,主进程创建单例,子进程初始化时实例化

  • 类型: Channel[tuple[str, dict[str, Any]]]

  • 默认值: Channel(name='publish_channel')

var channel_deliver_active_channel

  • 说明: 通道传递通道,主进程创建单例,子进程初始化时实例化

  • 类型: Channel[Channel[Any]]

  • 默认值: NO_DEFAULT

var channel_deliver_passive_channel

  • 说明: 被动通道传递通道

  • 类型: Channel[tuple[str, dict[str, Any]]]

  • 默认值: NO_DEFAULT

func set_channel(name: str, channel: Channel)

说明: 设置通道实例

参数:

  • name (str): 通道名称
  • channel (Channel): 通道实例
源代码在GitHub上查看
python
def set_channel(name: str, channel: 'Channel'):
-    """
-    设置通道实例
-    Args:
-        name ([`str`](https%3A//docs.python.org/3/library/stdtypes.html#str)): 通道名称
-        channel ([`Channel`](#class-channel-generic-t)): 通道实例
-    """
     if not isinstance(channel, Channel):
         raise TypeError(f'channel_ must be an instance of Channel, {type(channel)} found')
     if IS_MAIN_PROCESS:
@@ -124,31 +90,14 @@
         _channel[name] = channel
     else:
         channel_deliver_passive_channel.send(('set_channel', {'name': name, 'channel_': channel}))

func set_channels(channels: dict[str, Channel])

说明: 设置通道实例

参数:

源代码在GitHub上查看
python
def set_channels(channels: dict[str, 'Channel']):
-    """
-    设置通道实例
-    Args:
-        channels ([`dict`](https%3A//docs.python.org/3/library/stdtypes.html#dict)[[`str`](https%3A//docs.python.org/3/library/stdtypes.html#str), [`Channel`](#class-channel-generic-t)]): 通道实例
-    """
     for name, channel in channels.items():
         set_channel(name, channel)

func get_channel(name: str) -> Channel

说明: 获取通道实例

参数:

  • name (str): 通道名称

返回: Channel: 通道实例

源代码在GitHub上查看
python
def get_channel(name: str) -> 'Channel':
-    """
-    获取通道实例
-    Args:
-        name ([`str`](https%3A//docs.python.org/3/library/stdtypes.html#str)): 通道名称
-    Returns:
-        [`Channel`](#class-channel-generic-t): 通道实例
-    """
     if IS_MAIN_PROCESS:
         return _channel[name]
     else:
         recv_chan = Channel[Channel[Any]]('recv_chan')
         channel_deliver_passive_channel.send(('get_channel', {'name': name, 'recv_chan': recv_chan}))
         return recv_chan.receive()

func get_channels() -> dict[str, Channel]

说明: 获取通道实例们

返回: dict[str, Channel]: 通道实例

源代码在GitHub上查看
python
def get_channels() -> dict[str, 'Channel']:
-    """
-    获取通道实例们
-    Returns:
-        [`dict`](https%3A//docs.python.org/3/library/stdtypes.html#dict)[[`str`](https%3A//docs.python.org/3/library/stdtypes.html#str), [`Channel`](#class-channel-generic-t)]: 通道实例
-    """
     if IS_MAIN_PROCESS:
         return _channel
     else:
@@ -164,7 +113,7 @@
 def on_get_channels(data: tuple[str, dict[str, Any]]):
     recv_chan = data[1]['recv_chan']
     recv_chan.send(get_channels())

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/dev/api/comm/event.html b/dev/api/comm/event.html index 71bb0c2a..03a76dcb 100644 --- a/dev/api/comm/event.html +++ b/dev/api/comm/event.html @@ -8,9 +8,9 @@ - + - + @@ -22,7 +22,7 @@ - + \ No newline at end of file diff --git a/dev/api/comm/index.html b/dev/api/comm/index.html index 32ce1720..70cbc985 100644 --- a/dev/api/comm/index.html +++ b/dev/api/comm/index.html @@ -8,9 +8,9 @@ - + - + @@ -20,7 +20,7 @@ - + \ No newline at end of file diff --git a/dev/api/comm/rpc.html b/dev/api/comm/rpc.html index 193abb84..524bf822 100644 --- a/dev/api/comm/rpc.html +++ b/dev/api/comm/rpc.html @@ -8,11 +8,11 @@ - + - + - + @@ -21,11 +21,8 @@
Skip to content

模块 liteyuki.comm.rpc

本模块用于实现RPC(基于IPC)通信

class RPC

func __init__(self, on_calling: ON_CALLING_FUNC) -> None

源代码在GitHub上查看
python
def __init__(self, on_calling: ON_CALLING_FUNC) -> None:
     self.on_calling = on_calling

func call(self, args: tuple, kwargs: dict) -> Any

说明: 调用

源代码在GitHub上查看
python
def call(self, args: tuple, kwargs: dict) -> Any:
-    """
-        调用
-        """
     return self.on_calling(args, kwargs)

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/dev/api/comm/socks_channel.html b/dev/api/comm/socks_channel.html index 7a0257c3..7b8f48e0 100644 --- a/dev/api/comm/socks_channel.html +++ b/dev/api/comm/socks_channel.html @@ -8,11 +8,11 @@ - + - + - + @@ -20,32 +20,14 @@
Skip to content

模块 liteyuki.comm.socks_channel

基于socket的通道

class SocksChannel

func __init__(self, name: str)

说明: 初始化通道

参数:

  • name: 通道ID
源代码在GitHub上查看
python
def __init__(self, name: str):
-    """
-        初始化通道
-        Args:
-            name: 通道ID
-        """
     self._name = name
     self._conn_send = None
     self._conn_recv = None
     self._closed = False

func send(self, data)

说明: 发送数据

参数:

  • data: 数据
源代码在GitHub上查看
python
def send(self, data):
-    """
-        发送数据
-        Args:
-            data: 数据
-        """
     pass

func receive(self)

说明: 接收数据

返回: data: 数据

源代码在GitHub上查看
python
def receive(self):
-    """
-        接收数据
-        Returns:
-            data: 数据
-        """
     pass

func close(self)

说明: 关闭通道

源代码在GitHub上查看
python
def close(self):
-    """
-        关闭通道
-        """
     pass

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/dev/api/comm/storage.html b/dev/api/comm/storage.html index 6d01bf80..6edc2a36 100644 --- a/dev/api/comm/storage.html +++ b/dev/api/comm/storage.html @@ -8,11 +8,11 @@ - + - + - + @@ -26,28 +26,12 @@ self.publish_channel = Channel[tuple[str, Any]](name='shared_memory-publish') self.is_main_receive_loop_running = False self.is_sub_receive_loop_running = False

func set(self, key: str, value: Any) -> None

说明: 设置键值对

参数:

  • key: 键
  • value: 值
源代码在GitHub上查看
python
def set(self, key: str, value: Any) -> None:
-    """
-        设置键值对
-        Args:
-            key: 键
-            value: 值
-
-        """
     if IS_MAIN_PROCESS:
         lock = _get_lock(key)
         with lock:
             self._store[key] = value
     else:
         self.passive_chan.send(('set', {'key': key, 'value': value}))

func get(self, key: str, default: Optional[Any] = None) -> Optional[Any]

说明: 获取键值对

参数:

  • key: 键
  • default: 默认值

返回: Any: 值

源代码在GitHub上查看
python
def get(self, key: str, default: Optional[Any]=None) -> Optional[Any]:
-    """
-        获取键值对
-        Args:
-            key: 键
-            default: 默认值
-
-        Returns:
-            Any: 值
-        """
     if IS_MAIN_PROCESS:
         lock = _get_lock(key)
         with lock:
@@ -56,14 +40,6 @@
         recv_chan = Channel[Optional[Any]]('recv_chan')
         self.passive_chan.send(('get', {'key': key, 'default': default, 'recv_chan': recv_chan}))
         return recv_chan.receive()

func delete(self, key: str, ignore_key_error: bool = True) -> None

说明: 删除键值对

参数:

  • key: 键
  • ignore_key_error: 是否忽略键不存在的错误
源代码在GitHub上查看
python
def delete(self, key: str, ignore_key_error: bool=True) -> None:
-    """
-        删除键值对
-        Args:
-            key: 键
-            ignore_key_error: 是否忽略键不存在的错误
-
-        Returns:
-        """
     if IS_MAIN_PROCESS:
         lock = _get_lock(key)
         with lock:
@@ -76,34 +52,13 @@
                         raise e
     else:
         self.passive_chan.send(('delete', {'key': key}))

func get_all(self) -> dict[str, Any]

说明: 获取所有键值对

返回: dict[str, Any]: 键值对

源代码在GitHub上查看
python
def get_all(self) -> dict[str, Any]:
-    """
-        获取所有键值对
-        Returns:
-            dict[str, Any]: 键值对
-        """
     if IS_MAIN_PROCESS:
         return self._store
     else:
         recv_chan = Channel[dict[str, Any]]('recv_chan')
         self.passive_chan.send(('get_all', {'recv_chan': recv_chan}))
         return recv_chan.receive()

func publish(self, channel_: str, data: Any) -> None

说明: 发布消息

参数:

  • channel_: 频道
  • data: 数据
源代码在GitHub上查看
python
def publish(self, channel_: str, data: Any) -> None:
-    """
-        发布消息
-        Args:
-            channel_: 频道
-            data: 数据
-
-        Returns:
-        """
     self.active_chan.send(('publish', {'channel': channel_, 'data': data}))

func on_subscriber_receive(self, channel_: str) -> Callable[[ON_RECEIVE_FUNC], ON_RECEIVE_FUNC]

说明: 订阅者接收消息时的回调

参数:

  • channel_: 频道

返回: 装饰器

源代码在GitHub上查看
python
def on_subscriber_receive(self, channel_: str) -> Callable[[ON_RECEIVE_FUNC], ON_RECEIVE_FUNC]:
-    """
-        订阅者接收消息时的回调
-        Args:
-            channel_: 频道
-
-        Returns:
-            装饰器
-        """
     if not IS_MAIN_PROCESS:
         raise RuntimeError('Cannot subscribe in sub process.')
 
@@ -125,16 +80,7 @@
         return wrapper
     return decorator

@staticmethod

async func run_subscriber_receive_funcs(channel_: str, data: Any)

说明: 运行订阅者接收函数

参数:

  • channel_: 频道
  • data: 数据
源代码在GitHub上查看
python
@staticmethod
 async def run_subscriber_receive_funcs(channel_: str, data: Any):
-    """
-        运行订阅者接收函数
-        Args:
-            channel_: 频道
-            data: 数据
-        """
     [asyncio.create_task(func(data)) for func in _on_main_subscriber_receive_funcs[channel_]]

async func start_receive_loop(self)

说明: 启动发布订阅接收器循环,在主进程中运行,若有子进程订阅则推送给子进程

源代码在GitHub上查看
python
async def start_receive_loop(self):
-    """
-        启动发布订阅接收器循环,在主进程中运行,若有子进程订阅则推送给子进程
-        """
     if not IS_MAIN_PROCESS:
         raise RuntimeError('Cannot start receive loop in sub process.')
     while True:
@@ -163,7 +109,7 @@
 def on_get_all(data: tuple[str, dict[str, Any]]):
     recv_chan = data[1]['recv_chan']
     recv_chan.send(shared_memory.get_all())

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/dev/api/config.html b/dev/api/config.html index 208c13a5..0b13a06b 100644 --- a/dev/api/config.html +++ b/dev/api/config.html @@ -8,11 +8,11 @@ - + - + - + @@ -20,45 +20,21 @@
Skip to content

模块 liteyuki.config

该模块用于常用配置文件的加载 多配置文件编写原则:

  1. 尽量不要冲突: 一个键不要多次出现
  2. 分工明确: 每个配置文件给一个或一类服务提供配置
  3. 扁平化编写: 配置文件尽量扁平化,不要出现过多的嵌套
  4. 注意冲突时的优先级: 项目目录下的配置文件优先级高于config目录下的配置文件
  5. 请不要将需要动态加载的内容写入配置文件,你应该使用其他储存方式

func flat_config(config: dict[str, Any]) -> dict[str, Any]

说明: 扁平化配置文件

{a:{b:{c:1}}} ->

参数:

  • config: 配置项目

返回: 扁平化后的配置文件,但也包含原有的键值对

源代码在GitHub上查看
python
def flat_config(config: dict[str, Any]) -> dict[str, Any]:
-    """
-    扁平化配置文件
-
-    {a:{b:{c:1}}} -> {"a.b.c": 1}
-    Args:
-        config: 配置项目
-
-    Returns:
-        扁平化后的配置文件,但也包含原有的键值对
-    """
     new_config = copy.deepcopy(config)
     for key, value in config.items():
         if isinstance(value, dict):
             for k, v in flat_config(value).items():
                 new_config[f'{key}.{k}'] = v
     return new_config

func load_from_yaml(file_: str) -> dict[str, Any]

说明: Load config from yaml file

源代码在GitHub上查看
python
def load_from_yaml(file_: str) -> dict[str, Any]:
-    """
-    Load config from yaml file
-
-    """
     logger.debug(f'Loading YAML config from {file_}')
     config = yaml.safe_load(open(file_, 'r', encoding='utf-8'))
     return flat_config(config if config is not None else {})

func load_from_json(file_: str) -> dict[str, Any]

说明: Load config from json file

源代码在GitHub上查看
python
def load_from_json(file_: str) -> dict[str, Any]:
-    """
-    Load config from json file
-    """
     logger.debug(f'Loading JSON config from {file_}')
     config = json.load(open(file_, 'r', encoding='utf-8'))
     return flat_config(config if config is not None else {})

func load_from_toml(file_: str) -> dict[str, Any]

说明: Load config from toml file

源代码在GitHub上查看
python
def load_from_toml(file_: str) -> dict[str, Any]:
-    """
-    Load config from toml file
-    """
     logger.debug(f'Loading TOML config from {file_}')
     config = toml.load(open(file_, 'r', encoding='utf-8'))
     return flat_config(config if config is not None else {})

func load_from_files(*files: str, *, no_warning: bool = False) -> dict[str, Any]

说明: 从指定文件加载配置项,会自动识别文件格式 默认执行扁平化选项

源代码在GitHub上查看
python
def load_from_files(*files: str, no_warning: bool=False) -> dict[str, Any]:
-    """
-    从指定文件加载配置项,会自动识别文件格式
-    默认执行扁平化选项
-    """
     config = {}
     for file in files:
         if os.path.exists(file):
@@ -73,11 +49,6 @@
         elif not no_warning:
             logger.warning(f'Config file not found: {file}')
     return config

func load_configs_from_dirs(*directories: str, *, no_waring: bool = False) -> dict[str, Any]

说明: 从目录下加载配置文件,不递归 按照读取文件的优先级反向覆盖 默认执行扁平化选项

源代码在GitHub上查看
python
def load_configs_from_dirs(*directories: str, no_waring: bool=False) -> dict[str, Any]:
-    """
-    从目录下加载配置文件,不递归
-    按照读取文件的优先级反向覆盖
-    默认执行扁平化选项
-    """
     config = {}
     for directory in directories:
         if not os.path.exists(directory):
@@ -88,15 +59,10 @@
             if file.endswith(_SUPPORTED_CONFIG_FORMATS):
                 config.update(load_from_files(os.path.join(directory, file), no_warning=no_waring))
     return config

func load_config_in_default(no_waring: bool = False) -> dict[str, Any]

说明: 从一个标准的轻雪项目加载配置文件 项目目录下的config.*和config目录下的所有配置文件 项目目录下的配置文件优先

源代码在GitHub上查看
python
def load_config_in_default(no_waring: bool=False) -> dict[str, Any]:
-    """
-    从一个标准的轻雪项目加载配置文件
-    项目目录下的config.*和config目录下的所有配置文件
-    项目目录下的配置文件优先
-    """
     config = load_configs_from_dirs('config', no_waring=no_waring)
     config.update(load_from_files('config.yaml', 'config.toml', 'config.json', 'config.yml', no_warning=no_waring))
     return config

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/dev/api/core/index.html b/dev/api/core/index.html index 3db07a4d..3900e1dc 100644 --- a/dev/api/core/index.html +++ b/dev/api/core/index.html @@ -8,9 +8,9 @@ - + - + @@ -20,7 +20,7 @@ - + \ No newline at end of file diff --git a/dev/api/core/manager.html b/dev/api/core/manager.html index e9a6749f..2cd81cff 100644 --- a/dev/api/core/manager.html +++ b/dev/api/core/manager.html @@ -8,11 +8,11 @@ - + - + - + @@ -28,20 +28,9 @@ self.lifespan = lifespan self.targets: dict[str, tuple[Callable, tuple, dict]] = {} self.processes: dict[str, Process] = {}

func start_all(self)

说明: 对外启动方法,启动所有进程,创建asyncio task

源代码在GitHub上查看
python
def start_all(self):
-    """
-        对外启动方法,启动所有进程,创建asyncio task
-        """
     for name in self.targets:
         logger.debug(f'Starting process {name}')
         threading.Thread(target=self._run_process, args=(name,), daemon=True).start()

func add_target(self, name: str, target: TARGET_FUNC, args: tuple = (), kwargs = None)

说明: 添加进程

参数:

  • name: 进程名,用于获取和唯一标识
  • target: 进程函数
  • args: 进程函数参数
  • kwargs: 进程函数关键字参数,通常会默认传入chan_active和chan_passive
源代码在GitHub上查看
python
def add_target(self, name: str, target: TARGET_FUNC, args: tuple=(), kwargs=None):
-    """
-        添加进程
-        Args:
-            name: 进程名,用于获取和唯一标识
-            target: 进程函数
-            args: 进程函数参数
-            kwargs: 进程函数关键字参数,通常会默认传入chan_active和chan_passive
-        """
     if kwargs is None:
         kwargs = {}
     chan_active: Channel = Channel(name=f'{name}-active')
@@ -50,14 +39,6 @@
     self.targets[name] = (_delivery_channel_wrapper, (target, channel_deliver, shared_memory, *args), kwargs)

func join_all(self)

源代码在GitHub上查看
python
def join_all(self):
     for name, process in self.targets:
         process.join()

func terminate(self, name: str)

说明: 终止进程并从进程字典中删除

参数:

  • name:
源代码在GitHub上查看
python
def terminate(self, name: str):
-    """
-        终止进程并从进程字典中删除
-        Args:
-            name:
-
-        Returns:
-
-        """
     if name not in self.processes:
         logger.warning(f'Process {name} not found.')
         return
@@ -69,18 +50,10 @@
     logger.success(f'Process {name} terminated.')

func terminate_all(self)

源代码在GitHub上查看
python
def terminate_all(self):
     for name in self.targets:
         self.terminate(name)

func is_process_alive(self, name: str) -> bool

说明: 检查进程是否存活

参数:

  • name:
源代码在GitHub上查看
python
def is_process_alive(self, name: str) -> bool:
-    """
-        检查进程是否存活
-        Args:
-            name:
-
-        Returns:
-
-        """
     if name not in self.targets:
         logger.warning(f'Process {name} not found.')
     return self.processes[name].is_alive()

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/dev/api/dev/index.html b/dev/api/dev/index.html index 86f9ba73..3b1e9ca4 100644 --- a/dev/api/dev/index.html +++ b/dev/api/dev/index.html @@ -8,9 +8,9 @@ - + - + @@ -20,7 +20,7 @@ - + \ No newline at end of file diff --git a/dev/api/dev/observer.html b/dev/api/dev/observer.html index ac68c986..3b5d3284 100644 --- a/dev/api/dev/observer.html +++ b/dev/api/dev/observer.html @@ -8,11 +8,11 @@ - + - + - + @@ -20,9 +20,6 @@
Skip to content

模块 liteyuki.dev.observer

此模块用于注册观察者函数,使用watchdog监控文件变化并重启bot 启用该模块需要在配置文件中设置dev_mode为True

var CALLBACK_FUNC

  • 说明: 位置1为FileSystemEvent

  • 类型: TypeAlias

  • 默认值: Callable[[FileSystemEvent], None]

var FILTER_FUNC

  • 说明: 位置1为FileSystemEvent

  • 类型: TypeAlias

  • 默认值: Callable[[FileSystemEvent], bool]

func debounce(wait)

说明: 防抖函数

源代码在GitHub上查看
python
def debounce(wait):
-    """
-    防抖函数
-    """
 
     def decorator(func):
 
@@ -41,15 +38,6 @@
     self.on_modified(event)

func on_moved(self, event)

源代码在GitHub上查看
python
def on_moved(self, event):
     self.on_modified(event)

func on_any_event(self, event)

源代码在GitHub上查看
python
def on_any_event(self, event):
     self.on_modified(event)

func on_file_system_event(directories: tuple[str], recursive: bool = True, event_filter: FILTER_FUNC = None) -> Callable[[CALLBACK_FUNC], CALLBACK_FUNC]

说明: 注册文件系统变化监听器

参数:

  • directories: 监听目录们
  • recursive: 是否递归监听子目录
  • event_filter: 事件过滤器, 返回True则执行回调函数

返回: 装饰器,装饰一个函数在接收到数据后执行

源代码在GitHub上查看
python
def on_file_system_event(directories: tuple[str], recursive: bool=True, event_filter: FILTER_FUNC=None) -> Callable[[CALLBACK_FUNC], CALLBACK_FUNC]:
-    """
-    注册文件系统变化监听器
-    Args:
-        directories: 监听目录们
-        recursive: 是否递归监听子目录
-        event_filter: 事件过滤器, 返回True则执行回调函数
-    Returns:
-        装饰器,装饰一个函数在接收到数据后执行
-    """
 
     def decorator(func: CALLBACK_FUNC) -> CALLBACK_FUNC:
 
@@ -63,7 +51,7 @@
             observer.schedule(code_modified_handler, directory, recursive=recursive)
         return func
     return decorator

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/dev/api/dev/plugin.html b/dev/api/dev/plugin.html index 8dd6500c..504b445e 100644 --- a/dev/api/dev/plugin.html +++ b/dev/api/dev/plugin.html @@ -8,11 +8,11 @@ - + - + - + @@ -20,18 +20,13 @@
Skip to content

模块 liteyuki.dev.plugin

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/18 上午5:04 @Author : snowykami @Email : snowykami@outlook.com @File : plugin.py @Software: PyCharm

func run_plugins(*module_path: str | Path)

说明: 运行插件,无需手动初始化bot

参数:

  • module_path: 插件路径,参考liteyuki.load_plugin的函数签名
源代码在GitHub上查看
python
def run_plugins(*module_path: str | Path):
-    """
-    运行插件,无需手动初始化bot
-    Args:
-        module_path: 插件路径,参考`liteyuki.load_plugin`的函数签名
-    """
     cfg = load_config_in_default()
     plugins = cfg.get('liteyuki.plugins', [])
     plugins.extend(module_path)
     cfg['liteyuki.plugins'] = plugins
     bot = LiteyukiBot(**cfg)
     bot.run()

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/dev/api/exception.html b/dev/api/exception.html index 582c21f0..18f79073 100644 --- a/dev/api/exception.html +++ b/dev/api/exception.html @@ -8,9 +8,9 @@ - + - + @@ -20,7 +20,7 @@ - + \ No newline at end of file diff --git a/dev/api/index.html b/dev/api/index.html index 50201f52..894bc7bf 100644 --- a/dev/api/index.html +++ b/dev/api/index.html @@ -8,9 +8,9 @@ - + - + @@ -20,7 +20,7 @@ - + \ No newline at end of file diff --git a/dev/api/log.html b/dev/api/log.html index a1cfc405..7c0c7231 100644 --- a/dev/api/log.html +++ b/dev/api/log.html @@ -8,11 +8,11 @@ - + - + - + @@ -24,11 +24,6 @@ return debug_format else: return default_format

func init_log(config: dict)

说明: 在语言加载完成后执行

源代码在GitHub上查看
python
def init_log(config: dict):
-    """
-    在语言加载完成后执行
-    Returns:
-
-    """
     logger.remove()
     logger.add(sys.stdout, level=0, diagnose=False, format=get_format(config.get('log_level', 'INFO')))
     show_icon = config.get('log_icon', True)
@@ -37,7 +32,7 @@
     logger.level('SUCCESS', color='<green>', icon=f"{('✅' if show_icon else '')}SUCCESS")
     logger.level('WARNING', color='<yellow>', icon=f"{('⚠️' if show_icon else '')}WARNING")
     logger.level('ERROR', color='<red>', icon=f"{('⭕' if show_icon else '')}ERROR")

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/dev/api/message/event.html b/dev/api/message/event.html index b50eeacc..881f3ba1 100644 --- a/dev/api/message/event.html +++ b/dev/api/message/event.html @@ -8,11 +8,11 @@ - + - + - + @@ -20,21 +20,6 @@
Skip to content

模块 liteyuki.message.event

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:47 @Author : snowykami @Email : snowykami@outlook.com @File : event.py @Software: PyCharm

class MessageEvent

func __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel[MessageEvent]] = None, data: Optional[dict[str, Any]] = None)

说明: 轻雪抽象消息事件

源代码在GitHub上查看
python
def __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel['MessageEvent']]=None, data: Optional[dict[str, Any]]=None):
-    """
-        轻雪抽象消息事件
-        Args:
-
-            bot_id: 机器人ID
-            message: 消息,消息段数组[{type: str, data: dict[str, Any]}]
-            raw_message: 原始消息(通常为纯文本的格式)
-            message_type: 消息类型(private, group, other)
-
-            session_id: 会话ID(私聊通常为用户ID,群聊通常为群ID)
-            session_type: 会话类型(private, group)
-            receive_channel: 接收频道(用于回复消息)
-
-            data: 附加数据
-        """
     if data is None:
         data = {}
     self.message_type = message_type
@@ -46,16 +31,10 @@
     self.session_type = session_type
     self.user_id = user_id
     self.receive_channel = receive_channel

func reply(self, message: str | dict[str, Any])

说明: 回复消息

参数:

  • message:
源代码在GitHub上查看
python
def reply(self, message: str | dict[str, Any]):
-    """
-        回复消息
-        Args:
-            message:
-        Returns:
-        """
     reply_event = MessageEvent(message_type=self.session_type, message=message, raw_message='', data={'message': message}, bot_id=self.bot_id, session_id=self.session_id, user_id=self.user_id, session_type=self.session_type, receive_channel=None)
     if self.receive_channel:
         self.receive_channel.send(reply_event)

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/dev/api/message/index.html b/dev/api/message/index.html index 474f0ba1..8f5ece43 100644 --- a/dev/api/message/index.html +++ b/dev/api/message/index.html @@ -8,9 +8,9 @@ - + - + @@ -20,7 +20,7 @@ - + \ No newline at end of file diff --git a/dev/api/message/matcher.html b/dev/api/message/matcher.html index 23191b54..7f74eb9d 100644 --- a/dev/api/message/matcher.html +++ b/dev/api/message/matcher.html @@ -8,11 +8,11 @@ - + - + - + @@ -20,33 +20,15 @@
Skip to content

模块 liteyuki.message.matcher

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:51 @Author : snowykami @Email : snowykami@outlook.com @File : matcher.py @Software: PyCharm

class Matcher

func __init__(self, rule: Rule, priority: int, block: bool)

说明: 匹配器

参数:

  • rule: 规则
  • priority: 优先级 >= 0
  • block: 是否阻断后续优先级更低的匹配器
源代码在GitHub上查看
python
def __init__(self, rule: Rule, priority: int, block: bool):
-    """
-        匹配器
-        Args:
-            rule: 规则
-            priority: 优先级 >= 0
-            block: 是否阻断后续优先级更低的匹配器
-        """
     self.rule = rule
     self.priority = priority
     self.block = block
     self.handlers: list[EventHandler] = []

func handle(self) -> Callable[[EventHandler], EventHandler]

说明: 添加处理函数,装饰器

返回: 装饰器 handler

源代码在GitHub上查看
python
def handle(self) -> Callable[[EventHandler], EventHandler]:
-    """
-        添加处理函数,装饰器
-        Returns:
-            装饰器 handler
-        """
 
     def decorator(handler: EventHandler) -> EventHandler:
         self.handlers.append(handler)
         return handler
     return decorator

async func run(self, event: MessageEvent) -> None

说明: 运行处理函数

参数:

  • event:
源代码在GitHub上查看
python
async def run(self, event: MessageEvent) -> None:
-    """
-        运行处理函数
-        Args:
-            event:
-        Returns:
-        """
     if not await self.rule(event):
         return
     for handler in self.handlers:
@@ -54,7 +36,7 @@
             await handler(event)
         except Exception:
             traceback.print_exc()

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/dev/api/message/on.html b/dev/api/message/on.html index 55240402..c70680d8 100644 --- a/dev/api/message/on.html +++ b/dev/api/message/on.html @@ -8,9 +8,9 @@ - + - + @@ -34,7 +34,7 @@ async def on_keywords_rule(event: MessageEvent): return any((keyword in event.raw_message for keyword in keywords)) return on_message(on_keywords_rule & rule, priority, block)

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/dev/api/message/rule.html b/dev/api/message/rule.html index f08147f1..1363f9e6 100644 --- a/dev/api/message/rule.html +++ b/dev/api/message/rule.html @@ -8,9 +8,9 @@ - + - + @@ -36,7 +36,7 @@ return True

@Rule

async func is_su_rule(event: MessageEvent) -> bool

源代码在GitHub上查看
python
@Rule
 async def is_su_rule(event: MessageEvent) -> bool:
     return str(event.user_id) in _superusers

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/dev/api/message/session.html b/dev/api/message/session.html index 934699fd..e88b059a 100644 --- a/dev/api/message/session.html +++ b/dev/api/message/session.html @@ -8,9 +8,9 @@ - + - + @@ -20,7 +20,7 @@ - + \ No newline at end of file diff --git a/dev/api/mkdoc.html b/dev/api/mkdoc.html index 5ffeda0a..fce03a4d 100644 --- a/dev/api/mkdoc.html +++ b/dev/api/mkdoc.html @@ -8,11 +8,11 @@ - + - + - + @@ -20,18 +20,7 @@
Skip to content

模块 liteyuki.mkdoc

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 上午6:23 @Author : snowykami @Email : snowykami@outlook.com @File : mkdoc.py @Software: PyCharm

class DefType(Enum)

attr FUNCTION = 'function'

attr METHOD = 'method'

attr STATIC_METHOD = 'staticmethod'

attr CLASS_METHOD = 'classmethod'

attr PROPERTY = 'property'

class FunctionInfo(BaseModel)

attr name: str = NO_DEFAULT

attr args: list[tuple[str, str]] = NO_DEFAULT

attr return_type: str = NO_DEFAULT

attr docstring: str = NO_DEFAULT

attr source_code: str = ''

attr type: DefType = NO_DEFAULT

attr is_async: bool = NO_DEFAULT

class AttributeInfo(BaseModel)

attr name: str = NO_DEFAULT

attr type: str = NO_DEFAULT

attr value: Any = None

attr docstring: str = ''

class ClassInfo(BaseModel)

attr name: str = NO_DEFAULT

attr docstring: str = NO_DEFAULT

attr methods: list[FunctionInfo] = NO_DEFAULT

attr attributes: list[AttributeInfo] = NO_DEFAULT

attr inherit: list[str] = NO_DEFAULT

class ModuleInfo(BaseModel)

attr module_path: str = NO_DEFAULT

attr functions: list[FunctionInfo] = NO_DEFAULT

attr classes: list[ClassInfo] = NO_DEFAULT

attr attributes: list[AttributeInfo] = NO_DEFAULT

attr docstring: str = NO_DEFAULT

func get_relative_path(base_path: str, target_path: str) -> str

说明: 获取相对路径

参数:

  • base_path: 基础路径
  • target_path: 目标路径
源代码在GitHub上查看
python
def get_relative_path(base_path: str, target_path: str) -> str:
-    """
-    获取相对路径
-    Args:
-        base_path: 基础路径
-        target_path: 目标路径
-    """
     return os.path.relpath(target_path, base_path)

func write_to_files(file_data: dict[str, str])

说明: 输出文件

参数:

  • file_data: 文件数据 相对路径
源代码在GitHub上查看
python
def write_to_files(file_data: dict[str, str]):
-    """
-    输出文件
-    Args:
-        file_data: 文件数据 相对路径
-    """
     for rp, data in file_data.items():
         if not os.path.exists(os.path.dirname(rp)):
             os.makedirs(os.path.dirname(rp))
@@ -43,14 +32,6 @@
             if file.endswith(('.py', '.pyi')):
                 file_list.append(os.path.join(root, file))
     return file_list

func get_module_info_normal(file_path: str, ignore_private: bool = True) -> ModuleInfo

说明: 获取函数和类

参数:

  • file_path: Python 文件路径
  • ignore_private: 忽略私有函数和类

返回: 模块信息

源代码在GitHub上查看
python
def get_module_info_normal(file_path: str, ignore_private: bool=True) -> ModuleInfo:
-    """
-    获取函数和类
-    Args:
-        file_path: Python 文件路径
-        ignore_private: 忽略私有函数和类
-    Returns:
-        模块信息
-    """
     with open(file_path, 'r', encoding='utf-8') as file:
         file_content = file.read()
         tree = ast.parse(file_content)
@@ -96,16 +77,6 @@
                             attr_type = ast.unparse(node.value.annotation)
                         module_info.attributes.append(AttributeInfo(name=target.id, type=attr_type, value=ast.unparse(node.value) if node.value else None))
     return module_info

func generate_markdown(module_info: ModuleInfo, front_matter = None, lang: str = 'zh-CN') -> str

说明: 生成模块的Markdown 你可在此自定义生成的Markdown格式

参数:

  • module_info: 模块信息
  • front_matter: 自定义选项title, index, icon, category
  • lang: 语言

返回: Markdown 字符串

源代码在GitHub上查看
python
def generate_markdown(module_info: ModuleInfo, front_matter=None, lang: str='zh-CN') -> str:
-    """
-    生成模块的Markdown
-    你可在此自定义生成的Markdown格式
-    Args:
-        module_info: 模块信息
-        front_matter: 自定义选项title, index, icon, category
-        lang: 语言
-    Returns:
-        Markdown 字符串
-    """
     content = ''
     front_matter = '---\n' + '\n'.join([f'{k}: {v}' for k, v in front_matter.items()]) + '\n---\n\n'
     content += front_matter
@@ -147,15 +118,6 @@
         attr.docstring = attr.docstring.replace('\n', '\n\n')
         content += f'{attr.docstring}\n\n'
     return content

func generate_docs(module_folder: str, output_dir: str, with_top: bool = False, lang: str = 'zh-CN', ignored_paths = None)

说明: 生成文档

参数:

  • module_folder: 模块文件夹
  • output_dir: 输出文件夹
  • with_top: 是否包含顶层文件夹 False时例如docs/api/module_a, docs/api/module_b, True时例如docs/api/module/module_a.md, docs/api/module/module_b.md
  • ignored_paths: 忽略的路径
  • lang: 语言
源代码在GitHub上查看
python
def generate_docs(module_folder: str, output_dir: str, with_top: bool=False, lang: str='zh-CN', ignored_paths=None):
-    """
-    生成文档
-    Args:
-        module_folder: 模块文件夹
-        output_dir: 输出文件夹
-        with_top: 是否包含顶层文件夹 False时例如docs/api/module_a, docs/api/module_b, True时例如docs/api/module/module_a.md, docs/api/module/module_b.md
-        ignored_paths: 忽略的路径
-        lang: 语言
-    """
     if ignored_paths is None:
         ignored_paths = []
     file_data: dict[str, str] = {}
@@ -180,7 +142,7 @@
         print(f'Generate {pyfile_path} -> {abs_md_path}')
         file_data[abs_md_path] = md_content
     write_to_files(file_data)

var no_module_name_pyfile_path

  • 说明: 去头路径

  • 默认值: get_relative_path(module_folder, pyfile_path)

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/dev/api/plugin/index.html b/dev/api/plugin/index.html index 727deac1..6127a8e6 100644 --- a/dev/api/plugin/index.html +++ b/dev/api/plugin/index.html @@ -8,11 +8,11 @@ - + - + - + @@ -20,13 +20,8 @@
Skip to content

模块 liteyuki.plugin

func get_loaded_plugins() -> dict[str, Plugin]

说明: 获取已加载的插件

返回: dict[str, Plugin]: 插件字典

源代码在GitHub上查看
python
def get_loaded_plugins() -> dict[str, Plugin]:
-    """
-    获取已加载的插件
-    Returns:
-        dict[str, Plugin]: 插件字典
-    """
     return _plugins

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/dev/api/plugin/load.html b/dev/api/plugin/load.html index eae7a853..9c9fccc8 100644 --- a/dev/api/plugin/load.html +++ b/dev/api/plugin/load.html @@ -8,11 +8,11 @@ - + - + - + @@ -20,12 +20,6 @@
Skip to content

模块 liteyuki.plugin.load

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午11:59 @Author : snowykami @Email : snowykami@outlook.com @File : load.py @Software: PyCharm

func load_plugin(module_path: str | Path) -> Optional[Plugin]

说明: 加载单个插件,可以是本地插件或是通过 pip 安装的插件。

参数:

  • module_path: 插件名称 path.to.your.plugin
  • 或插件路径 pathlib.Path(path/to/your/plugin):
源代码在GitHub上查看
python
def load_plugin(module_path: str | Path) -> Optional[Plugin]:
-    """加载单个插件,可以是本地插件或是通过 `pip` 安装的插件。
-
-    参数:
-        module_path: 插件名称 `path.to.your.plugin`
-        或插件路径 `pathlib.Path(path/to/your/plugin)`
-    """
     module_path = path_to_module_name(Path(module_path)) if isinstance(module_path, Path) else module_path
     try:
         module = import_module(module_path)
@@ -50,12 +44,6 @@
         logger.opt(colors=True).success(f'Failed to load liteyuki plugin "<r>{module_path}</r>"')
         traceback.print_exc()
         return None

func load_plugins(*plugin_dir: str, *, ignore_warning: bool = True) -> set[Plugin]

说明: 导入文件夹下多个插件

参数:

  • plugin_dir: 文件夹路径
  • ignore_warning: 是否忽略警告,通常是目录不存在或目录为空
源代码在GitHub上查看
python
def load_plugins(*plugin_dir: str, ignore_warning: bool=True) -> set[Plugin]:
-    """导入文件夹下多个插件
-
-    参数:
-        plugin_dir: 文件夹路径
-        ignore_warning: 是否忽略警告,通常是目录不存在或目录为空
-    """
     plugins = set()
     for dir_path in plugin_dir:
         if not os.path.exists(dir_path):
@@ -82,15 +70,6 @@
                 if _plugins.get(module_name):
                     plugins.add(_plugins[module_name])
     return plugins

func format_display_name(display_name: str, plugin_type: PluginType) -> str

说明: 设置插件名称颜色,根据不同类型插件设置颜色

参数:

  • display_name: 插件名称
  • plugin_type: 插件类型

返回: str: 设置后的插件名称

源代码在GitHub上查看
python
def format_display_name(display_name: str, plugin_type: PluginType) -> str:
-    """
-    设置插件名称颜色,根据不同类型插件设置颜色
-    Args:
-        display_name: 插件名称
-        plugin_type: 插件类型
-
-    Returns:
-        str: 设置后的插件名称 <y>name</y>
-    """
     color = 'y'
     match plugin_type:
         case PluginType.APPLICATION:
@@ -102,7 +81,7 @@
         case PluginType.SERVICE:
             color = 'c'
     return f'<{color}>{display_name} [{plugin_type.name}]</{color}>'

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/dev/api/plugin/manager.html b/dev/api/plugin/manager.html index d3590d36..21b17522 100644 --- a/dev/api/plugin/manager.html +++ b/dev/api/plugin/manager.html @@ -8,9 +8,9 @@ - + - + @@ -20,7 +20,7 @@ - + \ No newline at end of file diff --git a/dev/api/plugin/model.html b/dev/api/plugin/model.html index 0b40eb6e..44ca1a3b 100644 --- a/dev/api/plugin/model.html +++ b/dev/api/plugin/model.html @@ -8,9 +8,9 @@ - + - + @@ -21,7 +21,7 @@
Skip to content

模块 liteyuki.plugin.model

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/24 上午12:02 @Author : snowykami @Email : snowykami@outlook.com @File : model.py @Software: PyCharm

class PluginType(Enum)

attr APPLICATION = 'application'

attr SERVICE = 'service'

attr MODULE = 'module'

attr UNCLASSIFIED = 'unclassified'

attr TEST = 'test'

class PluginMetadata(BaseModel)

attr name: str = NO_DEFAULT

attr description: str = ''

attr usage: str = ''

attr type: PluginType = PluginType.UNCLASSIFIED

attr author: str = ''

attr homepage: str = ''

attr extra: dict[str, Any] = {}

class Plugin(BaseModel)

func __hash__(self)

源代码在GitHub上查看
python
def __hash__(self):
     return hash(self.module_name)

attr model_config = {'arbitrary_types_allowed': True}

attr name: str = NO_DEFAULT

attr module: ModuleType = NO_DEFAULT

attr module_name: str = NO_DEFAULT

attr metadata: Optional[PluginMetadata] = None

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/dev/api/plugins/index.html b/dev/api/plugins/index.html index 3a1c8b2f..98776e90 100644 --- a/dev/api/plugins/index.html +++ b/dev/api/plugins/index.html @@ -8,9 +8,9 @@ - + - + @@ -20,7 +20,7 @@ - + \ No newline at end of file diff --git a/dev/api/plugins/liteecho.html b/dev/api/plugins/liteecho.html index 930c2a85..04cf3389 100644 --- a/dev/api/plugins/liteecho.html +++ b/dev/api/plugins/liteecho.html @@ -8,9 +8,9 @@ - + - + @@ -22,7 +22,7 @@
Skip to content

模块 liteyuki.plugins.liteecho

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/22 下午12:31 @Author : snowykami @Email : snowykami@outlook.com @File : liteecho.py @Software: PyCharm

@on_startswith(['liteecho'], rule=is_su_rule).handle()

async func liteecho(event: MessageEvent)

源代码在GitHub上查看
python
@on_startswith(['liteecho'], rule=is_su_rule).handle()
 async def liteecho(event: MessageEvent):
     event.reply(event.raw_message.strip()[8:].strip())

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/dev/api/plugins/plugin_loader/index.html b/dev/api/plugins/plugin_loader/index.html index a310c7b1..756ba668 100644 --- a/dev/api/plugins/plugin_loader/index.html +++ b/dev/api/plugins/plugin_loader/index.html @@ -8,11 +8,11 @@ - + - + - + @@ -20,14 +20,11 @@
Skip to content

模块 liteyuki.plugins.plugin_loader

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/11 下午10:02 @Author : snowykami @Email : snowykami@outlook.com @File : init.py.py @Software: PyCharm

func default_plugins_loader()

说明: 默认插件加载器,应在初始化时调用

源代码在GitHub上查看
python
def default_plugins_loader():
-    """
-    默认插件加载器,应在初始化时调用
-    """
     for plugin in get_config('liteyuki.plugins', []):
         load_plugin(plugin)
     for plugin_dir in get_config('liteyuki.plugin_dirs', ['src/liteyuki_plugins']):
         load_plugins(plugin_dir)

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/dev/api/utils.html b/dev/api/utils.html index 6d8ff6a6..e49872ee 100644 --- a/dev/api/utils.html +++ b/dev/api/utils.html @@ -8,11 +8,11 @@ - + - + - + @@ -20,27 +20,12 @@
Skip to content

模块 liteyuki.utils

一些常用的工具类,部分来源于 nonebot 并遵循其许可进行修改

func is_coroutine_callable(call: Callable[..., Any]) -> bool

说明: 判断是否为协程可调用对象

参数:

  • call: 可调用对象

返回: bool: 是否为协程可调用对象

源代码在GitHub上查看
python
def is_coroutine_callable(call: Callable[..., Any]) -> bool:
-    """
-    判断是否为协程可调用对象
-    Args:
-        call: 可调用对象
-    Returns:
-        bool: 是否为协程可调用对象
-    """
     if inspect.isroutine(call):
         return inspect.iscoroutinefunction(call)
     if inspect.isclass(call):
         return False
     func_ = getattr(call, '__call__', None)
     return inspect.iscoroutinefunction(func_)

func run_coroutine(*coro: Coroutine)

说明: 运行协程

参数:

  • coro:
源代码在GitHub上查看
python
def run_coroutine(*coro: Coroutine):
-    """
-    运行协程
-    Args:
-        coro:
-
-    Returns:
-
-    """
     try:
         loop = asyncio.get_running_loop()
         if loop.is_running():
@@ -56,40 +41,18 @@
         loop.close()
     except Exception as e:
         logger.error(f'Exception occurred: {e}')

func run_coroutine_in_thread(*coro: Coroutine)

说明: 在新线程中运行协程

参数:

  • coro:
源代码在GitHub上查看
python
def run_coroutine_in_thread(*coro: Coroutine):
-    """
-    在新线程中运行协程
-    Args:
-        coro:
-
-    Returns:
-
-    """
     threading.Thread(target=run_coroutine, args=coro, daemon=True).start()

func path_to_module_name(path: Path) -> str

说明: 转换路径为模块名

参数:

  • path: 路径a/b/c/d -> a.b.c.d

返回: str: 模块名

源代码在GitHub上查看
python
def path_to_module_name(path: Path) -> str:
-    """
-    转换路径为模块名
-    Args:
-        path: 路径a/b/c/d -> a.b.c.d
-    Returns:
-        str: 模块名
-    """
     rel_path = path.resolve().relative_to(Path.cwd().resolve())
     if rel_path.stem == '__init__':
         return '.'.join(rel_path.parts[:-1])
     else:
         return '.'.join(rel_path.parts[:-1] + (rel_path.stem,))

func async_wrapper(func: Callable[..., Any]) -> Callable[..., Coroutine]

说明: 异步包装器

参数:

  • func: Sync Callable

返回: Coroutine: Asynchronous Callable

源代码在GitHub上查看
python
def async_wrapper(func: Callable[..., Any]) -> Callable[..., Coroutine]:
-    """
-    异步包装器
-    Args:
-        func: Sync Callable
-    Returns:
-        Coroutine: Asynchronous Callable
-    """
 
     async def wrapper(*args, **kwargs):
         return func(*args, **kwargs)
     wrapper.__signature__ = inspect.signature(func)
     return wrapper

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/dev/comm.html b/dev/comm.html index cf7474ba..f02e19f5 100644 --- a/dev/comm.html +++ b/dev/comm.html @@ -8,9 +8,9 @@ - + - + @@ -62,7 +62,7 @@ shared_memory.set("key", "value") # 设置共享内存 value = shared_memory.get("key") # 获取共享内存

源代码:liteyuki/comm/storage.py

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/dev/guide.html b/dev/guide.html index 3c0d5028..4ef575cd 100644 --- a/dev/guide.html +++ b/dev/guide.html @@ -8,12 +8,12 @@ - + - + - - + + @@ -21,7 +21,7 @@
Skip to content

开发指南

如何开发

插件开发无需阅读本文档,请阅读插件开发文档API 引用

如需往轻雪仓库提交代码,请阅读以下内容:

  1. 首先fork一份轻雪仓库到你的个人/组织账户下。
  2. 在你的仓库中进行开发。
  3. 在你的仓库中创建一个新的分支,将你的代码提交到这个分支。
  4. 在你的仓库中创建一个Pull Request,将你的分支合并到轻雪仓库的main分支。

参与开发默认你已经了解Python语言和轻雪框架的基本使用方法,如果是文档相关的开发,请确保你了解Markdown语法和基本前端知识。 出现冲突请与仓库维护者联系。

建议

  • 开发过程中可以使用mypy, flake8, black等工具进行代码检查和格式化。
  • 启用开发者模式,可以在config.yml中设置dev_mode: true,这样可以在控制台看到更多的调试信息。

项目结构

  • main.py: 机器人入口文件
  • liteyuki: 框架目录(liteyukibot)
  • src: 机器人源码目录
    • liteyuki_plugins: 轻雪插件目录
    • nonebot_plugins: Nonebot插件目录
    • resources: 内置资源包目录
    • utils: 工具目录
  • tests: 单元测试目录
  • docs: 文档目录
    • en: 英文文档
    • zh: 中文文档
  • docker: Docker相关内容目录

其中,liteyuki框架是包含在LiteyukiBot应用中的,所以此项目既是LiteyukiBot应用仓库,同时也是liteyuki框架的仓库

src目录下为应用程序部分,业务逻辑请在此目录下进行开发,liteyuki_pluginsnonebot_plugins目录下为插件目录,插件开发请在此目录下进行开发。

规范化

  • 代码请遵循PEP8Google Python Style Guide
  • 提交到轻雪仓库的代码,请遵循以下规范:
    • 请确保代码是可运行的,没有危害的。
    • 请确保代码的类型提示是正确的。
    • 请确保注释风格为Google DocstringLiteyuki Docstring(推荐)以保证Litedoc能够正确解析并生成文档。
    • 字符串请使用双引号",尽量避免使用单引号',但在嵌套字符串时可以使用单引号。
    • 若有面向普通用户部分,请确保文档是完善的(每种语言都有对应的文档)。
  • commit message请遵循以下规范:
    • 应在每次完成一个功能或修复一个bug后提交代码,不要将多个功能或多个bug的代码混在一起提交。
    • 我们使用gitmoji来标记commit的类型,如:sparkles:表示引入新功能,:bug:表示修复bug等,具体请参考gitmoji
    • commit message的格式为<emoji> [type:] <message>,如:sparkles: feat: 给event添加新字段, 其中type字段为commit类型且可选,message字段为简短的描述,总结来说就是你干了什么。
    • 不限制commit message的语言,有条件可以使用中英双语。
  • 文档请遵循Markdown语法,并且支持vitepress相关内容:
    • 修订文档时,每个语言的文档都要修订。
    • 请确保文档内的链接是正确的,不要出现无法访问的死链接。
    • 请确保用户文档是通俗易懂的,开发文档是详细的。

最后

  • 本项目是一个非盈利的开源项目,我们欢迎任何人参与开发,你的贡献将会使轻雪变得更好。

感谢以下贡献者!

Contributors

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/dev/lyfunc.html b/dev/lyfunc.html index ce57a283..d75e8962 100644 --- a/dev/lyfunc.html +++ b/dev/lyfunc.html @@ -8,9 +8,9 @@ - + - + @@ -39,7 +39,7 @@ sleep 0.2 nohup function poke await

API

理论上所有基于onebotv11的api都可调用,不同Adapter api也有差别.

Onebot v11 API文档

结束关键字

由于LiteyukiBot基于异步运行, 所以在编写lyfunction时也要注意异步的调用,避免出现"单线程走到底"的情况是效率提升的关键.

await 异步任务结束关键字,用于结束当前已完成function的执行

WARNING

但若出现非单function的情况,有一个task任务没有完成而await被执行了,那么当前所有函数包的task都会被截停销毁

TIP

编写轻雪函数推荐你使用VS Code插件Liteyuki Function实现语法高亮

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/dev/plugin.html b/dev/plugin.html index 09824d8a..fc5661d9 100644 --- a/dev/plugin.html +++ b/dev/plugin.html @@ -8,9 +8,9 @@ - + - + @@ -51,7 +51,7 @@ liteyuki.restart_process("nonebot") # 调用重启进程方法

加载插件

方法1

  • 在配置文件中的liteyuki.plugins中添加你的插件路径,例如watchdog_plugin,重启轻雪即可加载插件。

方法2

  • 使用开发工具快速运行插件,无需手动创建实例
  • 创建入口文件,例如main.py,并在其中写入以下代码
python
from liteyuki.dev.plugin import run_plugins
 
 run_plugins("watchdog_plugin")

然后运行python main.py即可启动插件

启用插件后,我们在src/nonebot_plugins下创建一个文件,例如test.py,并在其中写入一些代码,保存后轻雪会自动重载NoneBot进程

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/dev/resource.html b/dev/resource.html index 8cd256db..034f6998 100644 --- a/dev/resource.html +++ b/dev/resource.html @@ -8,9 +8,9 @@ - + - + @@ -32,7 +32,7 @@ description: "资源包描述" # 你可以自定义一些信息,但请保证以上三个字段 ...
  • 资源包加载遵循一个优先级,即后加载的资源包会覆盖前面的资源包,例如,你在A包中定义了一个index.html文件,B包也定义了一个index.html文件,那么加载B包后,A包中的index.html文件会被覆盖
  • 对于不同资源包的不同文件,是可以相对引用的,例如你在A中定义了templates/index.html,在B中定义了templates/style.css,可以在A的index.html中用./style.css相对路径引用B中的css

TIP

资源包的结构会随着轻雪的更新而有变动,第三方资源包开发者需要注意版本兼容性,同时用户也应该自行选择可用的资源包

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/en/deploy/config.html b/en/deploy/config.html index 585ce319..499dc338 100644 --- a/en/deploy/config.html +++ b/en/deploy/config.html @@ -8,9 +8,9 @@ - + - + @@ -48,7 +48,7 @@ debug: false # Debug mode, if true, Liteyuki will output more detailed logs dev_mode: false # development mode, if true, Liteyuki will load all plugins in the development directory ...
yaml

Example: Configuration of OneBot implementation side connected to NoneBot

In production environments, it is recommended to use reverse WebSocket The fields provided by different implementation sides may be different, but basically the same. Here is a reference value

FieldsValueDescription
protocolReverse WebSocketLiteyuki-NoneBot as server
addressws://127.0.0.1:20216/onebot/v11/wsThe address depends on the configuration file, the default is `
AccessToken""If you have configured AccessToken for Liteyuki, please fill in the same value here
  • To use other communication methods, please visit OneBot Adapter for detailed information

Other

  • Liteyuki is not limited to the OneBot adapter and NoneBot2. You can use any adapter supported by NoneBot2 or use the Liteyuki message delivery plugin

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/deploy/fandq.html b/en/deploy/fandq.html index 55268bb0..c1885dab 100644 --- a/en/deploy/fandq.html +++ b/en/deploy/fandq.html @@ -8,9 +8,9 @@ - + - + @@ -20,7 +20,7 @@
Skip to content

FAQ

Frequently Asked Questions

  • There are too many python interpreters on my computer, how do I know which one to use?

    • You can specify which python interpreter to use by using the full path to the python executable, for example, /path/to/python main.py
    • Use virtual environments to avoid conflicts between different python interpreters
  • Why does the bot not respond after I start it?

    • Please check the configuration file command_start or superusers, make sure you have permission to use the command and send it correctly
    • Make sure the command header does not conflict with nickname{}, for example, a command is help, but the Bot nickname has a help, then it will be parsed as a nickname instead of a command
  • Update Liteyuki failed, error InvalidGitRepositoryError

    • Please install Git correctly and deploy Liteyuki using cloning instead of direct download
  • How to log in to chat platforms such as Telegram?

    • If you have this question, it means you don't know much about this project. This project does not implement the login function, only the message processing and response. The login function is provided by the implementation side (protocol side). The implementation side itself does not handle response logic. It processes and reports messages to Liteyuki according to the OneBot standard. You need to use an implementation side that complies with the OneBot standard to connect to Liteyuki and report messages to Liteyuki. Some recommended implementation sides have been listed below
  • Playwright installation failed

    • Enter playwright install to install the browser
  • Some plugins report errors after installation and cannot be started

    • Please refer to the plugin documentation first, confirm that the necessary configuration items of the plugin are intact, and if the problem persists, please contact the plugin author or start Liteyuki in safe mode safe_mode: true. In safe mode, you can use npm uninstall to uninstall problematic plugins

Other questions

  1. Lagrange.OneBot, based on Lagrange.Core, a Linux QQ implementation, supports OneBotv11 protocol
  2. LLOneBot, a plugin for Liteloader NTQQ, supports OneBotv11 protocol
  3. OpenShamrock, based on Lsposed, supports kritor protocol
  4. TRSS-Yunzai, based on Node.js, supports OneBotv11 protocol
  5. go-cqhttp,A QQ Client based on go, supports OneBotv11 protocol
  6. Gensokyo, use QQ protocol
  1. MinecraftOneBot, We develop a Minecraft server chat bot

Other project encountered issues, please prioritize the documentation and issues of the project itself, don't ask LiteyukiBot developers

Acknowledgements

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/deploy/install.html b/en/deploy/install.html index c2d14e32..d10cef30 100644 --- a/en/deploy/install.html +++ b/en/deploy/install.html @@ -8,9 +8,9 @@ - + - + @@ -27,7 +27,7 @@ pip install -r requirements.txt # start the bot! python main.py

TIP

It is recommended to use a virtual environment to run Liteyuki to avoid dependency conflicts. You can use python -m venv .venv to create a virtual environment, and then use .venv\Scripts\activate to activate the virtual environment (use source .venv/bin/activate to activate on Linux).

Run with Docker

  1. Install Docker
  2. Clone Repo git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1
  3. Change directory cd LiteyukiBot
  4. Build docker image docker build -t liteyukibot .
  5. Run container docker run -p 20216:20216 -v $(pwd):/liteyukibot -v $(pwd)/.cache:/root/.cache liteyukibot

TIP

If you are using Windows, please use the absolute project directory /path/to/LiteyukiBot instead of $&#40;pwd&#41;
If you have modified the port number, please replace 20216:20216 with your port number

Use TRSS Script

TRSS_Liteyuki Management Script, which provides a more convenient way to manage LiteyukiBot, recommended to use Arch Linux

Device Requirements

  • Windows system version minimum Windows10+/Windows Server 2019+
  • Linux system requires Python3.10+, recommended Ubuntu 20.04+
  • CPU: at least 1vCPU
  • Memory: Bot without other plugins will occupy 300~500MB, including chromium and node processes, other plugins depend on specific plugins, recommended 1GB or more
  • Disk: at least 1GB of space

WARNING

If there are multiple environments on the device, please use path/to/python -m pip install -r requirements.txt to install dependencies, path/to/python is the path to your Python executable

WARNING

Liteyuki's update function depends on Git. If you do not have Git installed and run the source code directly, you will not be able to use the update function

For other questions, please refer to FAQ

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/dev/api/bot/index.html b/en/dev/api/bot/index.html index fd667172..afad2b6d 100644 --- a/en/dev/api/bot/index.html +++ b/en/dev/api/bot/index.html @@ -8,11 +8,11 @@ - + - + - + @@ -20,12 +20,7 @@
Skip to content

Module liteyuki.bot

class LiteyukiBot

func __init__(self, **kwargs) -> None

Description: 初始化轻雪实例

Arguments:

  • **kwargs: 配置
Source code or View on GitHub
python
def __init__(self, **kwargs) -> None:
-    """
-        初始化轻雪实例
-        Args:
-            **kwargs: 配置
-        """
-    '常规操作'
+    """常规操作"""
     print_logo()
     global _BOT_INSTANCE
     _BOT_INSTANCE = self
@@ -44,9 +39,6 @@
     self.call_restart_count = 0
     '加载插件加载器'
     load_plugin('liteyuki.plugins.plugin_loader')

func run(self)

Description: 外部启动接口

Source code or View on GitHub
python
def run(self):
-    """
-        外部启动接口
-        """
     self.process_manager.start_all()
     try:
         asyncio.run(self._run())
@@ -54,9 +46,6 @@
         logger.opt(colors=True).info('<y>Liteyuki is stopping...</y>')
         self.stop()
     logger.opt(colors=True).info('<y>Liteyuki is stopped...</y>')

async func keep_alive(self)

Description: 保持轻雪运行

Source code or View on GitHub
python
async def keep_alive(self):
-    """
-        保持轻雪运行
-        """
     logger.info('Liteyuki is keeping alive...')
     try:
         while not self.stop_event.is_set():
@@ -64,11 +53,6 @@
     except Exception:
         logger.info('Liteyuki is exiting...')
         self.stop()

func restart(self, delay: int = 0)

Description: 重启轻雪本体

Arguments:

  • delay (int, optional): 延迟重启时间. Defaults to 0.
Source code or View on GitHub
python
def restart(self, delay: int=0):
-    """
-        重启轻雪本体
-        Args:
-            delay ([`int`](https%3A//docs.python.org/3/library/functions.html#int), optional): 延迟重启时间. Defaults to 0.
-        """
     if self.call_restart_count < 1:
         executable = sys.executable
         args = sys.argv
@@ -86,12 +70,6 @@
         threading.Thread(target=os.system, args=(f"{cmd} {executable} {' '.join(args)}",), daemon=True).start()
         sys.exit(0)
     self.call_restart_count += 1

func restart_process(self, name: Optional[str] = None)

Description: 停止轻雪

Arguments:

Source code or View on GitHub
python
def restart_process(self, name: Optional[str]=None):
-    """
-        停止轻雪
-        Args:
-            name ([`Optional`](https%3A//docs.python.org/3/library/typing.html#typing.Optional)[[`str`](https%3A//docs.python.org/3/library/stdtypes.html#str)]): 进程名. Defaults to None.
-        Returns:
-        """
     if name is not None:
         chan_active = get_channel(f'{name}-active')
         chan_active.send(1)
@@ -99,100 +77,23 @@
         for process_name in self.process_manager.processes:
             chan_active = get_channel(f'{process_name}-active')
             chan_active.send(1)

func init(self, *args, **kwargs)

Description: 初始化轻雪, 自动调用

Arguments:

  • *args: 参数
  • **kwargs: 关键字参数
Source code or View on GitHub
python
def init(self, *args, **kwargs):
-    """
-        初始化轻雪, 自动调用
-        Args:
-            *args: 参数
-            **kwargs: 关键字参数
-        """
     self.init_logger()

func init_logger(self)

Description: 初始化日志

Source code or View on GitHub
python
def init_logger(self):
-    """
-        初始化日志
-        """
     init_log(config=self.config)

func stop(self)

Description: 停止轻雪

Source code or View on GitHub
python
def stop(self):
-    """
-        停止轻雪
-        """
     self.process_manager.terminate_all()
     self.stop_event.set()

func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

Description: 注册启动前的函数

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:
-    """
-        注册启动前的函数
-        Args:
-            func ([`LIFESPAN_FUNC`](./lifespan#var-lifespan-func)): 生命周期函数
-        Returns:
-            [`LIFESPAN_FUNC`](./lifespan#var-lifespan-func): 生命周期函数
-        """
     return self.lifespan.on_before_start(func)

func on_after_start(self, func: LIFESPAN_FUNC)

Description: 注册启动后的函数

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_after_start(self, func: LIFESPAN_FUNC):
-    """
-        注册启动后的函数
-        Args:
-            func ([`LIFESPAN_FUNC`](./lifespan#var-lifespan-func)): 生命周期函数
-        Returns:
-            [`LIFESPAN_FUNC`](./lifespan#var-lifespan-func): 生命周期函数
-        """
     return self.lifespan.on_after_start(func)

func on_after_shutdown(self, func: LIFESPAN_FUNC)

Description: 注册停止后的函数:未实现

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_after_shutdown(self, func: LIFESPAN_FUNC):
-    """
-        注册停止后的函数:未实现
-        Args:
-            func ([`LIFESPAN_FUNC`](./lifespan#var-lifespan-func)): 生命周期函数
-        Returns:
-            [`LIFESPAN_FUNC`](./lifespan#var-lifespan-func): 生命周期函数
-        """
     return self.lifespan.on_after_shutdown(func)

func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC)

Description: 注册进程停止前的函数,为子进程停止时调用

Arguments:

Return: PROCESS_LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC):
-    """
-        注册进程停止前的函数,为子进程停止时调用
-        Args:
-            func ([`PROCESS_LIFESPAN_FUNC`](./lifespan#var-process-lifespan-func)): 生命周期函数
-        Returns:
-            [`PROCESS_LIFESPAN_FUNC`](./lifespan#var-process-lifespan-func): 生命周期函数
-        """
     return self.lifespan.on_before_process_shutdown(func)

func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC

Description: 注册进程重启前的函数,为子进程重启时调用

Arguments:

Return: PROCESS_LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC:
-    """
-        注册进程重启前的函数,为子进程重启时调用
-        Args:
-            func ([`PROCESS_LIFESPAN_FUNC`](./lifespan#var-process-lifespan-func)): 生命周期函数
-        Returns:
-            [`PROCESS_LIFESPAN_FUNC`](./lifespan#var-process-lifespan-func): 生命周期函数
-        """
     return self.lifespan.on_before_process_restart(func)

func on_after_restart(self, func: LIFESPAN_FUNC)

Description: 注册重启后的函数:未实现

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_after_restart(self, func: LIFESPAN_FUNC):
-    """
-        注册重启后的函数:未实现
-        Args:
-            func ([`LIFESPAN_FUNC`](./lifespan#var-lifespan-func)): 生命周期函数
-        Returns:
-            [`LIFESPAN_FUNC`](./lifespan#var-lifespan-func): 生命周期函数
-        """
     return self.lifespan.on_after_restart(func)

func get_bot() -> LiteyukiBot

Description: 获取轻雪实例

Return: LiteyukiBot: 轻雪实例

Source code or View on GitHub
python
def get_bot() -> LiteyukiBot:
-    """
-    获取轻雪实例
-    Returns:
-        [`LiteyukiBot`](#class-liteyukibot): 轻雪实例
-    """
     if IS_MAIN_PROCESS:
         if _BOT_INSTANCE is None:
             raise RuntimeError('Liteyuki instance not initialized.')
         return _BOT_INSTANCE
     else:
         raise RuntimeError("Can't get bot instance in sub process.")

func get_config(key: str, default: Any = None) -> Any

Description: 获取配置

Arguments:

  • key (str): 配置键
  • default (Any, optional): 默认值. Defaults to None.

Return: Any: 配置值

Source code or View on GitHub
python
def get_config(key: str, default: Any=None) -> Any:
-    """
-    获取配置
-    Args:
-        key ([`str`](https%3A//docs.python.org/3/library/stdtypes.html#str)): 配置键
-        default ([`Any`](https%3A//docs.python.org/3/library/functions.html#any), optional): 默认值. Defaults to None.
-    Returns:
-        [`Any`](https%3A//docs.python.org/3/library/functions.html#any): 配置值
-    """
     return get_bot().config.get(key, default)

func get_config_with_compat(key: str, compat_keys: tuple[str], default: Any = None) -> Any

Description: 获取配置,兼容旧版本

Arguments:

  • key (str): 配置键
  • compat_keys (tuplestr): 兼容键
  • default (Any, optional): 默认值. Defaults to None.

Return: Any: 配置值

Source code or View on GitHub
python
def get_config_with_compat(key: str, compat_keys: tuple[str], default: Any=None) -> Any:
-    """
-    获取配置,兼容旧版本
-    Args:
-        key ([`str`](https%3A//docs.python.org/3/library/stdtypes.html#str)): 配置键
-        compat_keys ([`tuple`](https%3A//docs.python.org/3/library/stdtypes.html#tuple)[`str`](https%3A//docs.python.org/3/library/stdtypes.html#str)): 兼容键
-        default ([`Any`](https%3A//docs.python.org/3/library/functions.html#any), optional): 默认值. Defaults to None.
-
-    Returns:
-        [`Any`](https%3A//docs.python.org/3/library/functions.html#any): 配置值
-    """
     if key in get_bot().config:
         return get_bot().config[key]
     for compat_key in compat_keys:
@@ -200,7 +101,7 @@
             logger.warning(f'Config key "{compat_key}" will be deprecated, use "{key}" instead.')
             return get_bot().config[compat_key]
     return default

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/dev/api/bot/lifespan.html b/en/dev/api/bot/lifespan.html index 5619ca7d..a9f255a6 100644 --- a/en/dev/api/bot/lifespan.html +++ b/en/dev/api/bot/lifespan.html @@ -8,11 +8,11 @@ - + - + - + @@ -20,9 +20,6 @@
Skip to content

Module liteyuki.bot.lifespan

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午8:24 @Author : snowykami @Email : snowykami@outlook.com @File : lifespan.py @Software: PyCharm

var SYNC_LIFESPAN_FUNC

  • Description: 同步生命周期函数

  • Type: TypeAlias

  • Default: Callable[[], Any]

var ASYNC_LIFESPAN_FUNC

  • Description: 异步生命周期函数

  • Type: TypeAlias

  • Default: Callable[[], Awaitable[Any]]

var LIFESPAN_FUNC

  • Description: 生命周期函数

  • Type: TypeAlias

  • Default: SYNC_LIFESPAN_FUNC | ASYNC_LIFESPAN_FUNC

var SYNC_PROCESS_LIFESPAN_FUNC

  • Description: 同步进程生命周期函数

  • Type: TypeAlias

  • Default: Callable[[str], Any]

var ASYNC_PROCESS_LIFESPAN_FUNC

  • Description: 异步进程生命周期函数

  • Type: TypeAlias

  • Default: Callable[[str], Awaitable[Any]]

var PROCESS_LIFESPAN_FUNC

  • Description: 进程函数

  • Type: TypeAlias

  • Default: SYNC_PROCESS_LIFESPAN_FUNC | ASYNC_PROCESS_LIFESPAN_FUNC

class Lifespan

func __init__(self) -> None

Description: 轻雪生命周期管理,启动、停止、重启

Source code or View on GitHub
python
def __init__(self) -> None:
-    """
-        轻雪生命周期管理,启动、停止、重启
-        """
     self.life_flag: int = 0
     self._before_start_funcs: list[LIFESPAN_FUNC] = []
     self._after_start_funcs: list[LIFESPAN_FUNC] = []
@@ -31,99 +28,33 @@
     self._before_process_restart_funcs: list[PROCESS_LIFESPAN_FUNC] = []
     self._after_restart_funcs: list[LIFESPAN_FUNC] = []

@staticmethod

async func run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None

Description: 并发运行异步函数

Arguments:

Source code or View on GitHub
python
@staticmethod
 async def run_funcs(funcs: Sequence[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC], *args, **kwargs) -> None:
-    """
-        并发运行异步函数
-        Args:
-            funcs ([`Sequence`](https%3A//docs.python.org/3/library/typing.html#typing.Sequence)[[`ASYNC_LIFESPAN_FUNC`](#var-lifespan-func) | [`PROCESS_LIFESPAN_FUNC`](#var-process-lifespan-func)]): 函数列表
-        Returns:
-        """
     tasks = [func(*args, **kwargs) if is_coroutine_callable(func) else async_wrapper(func)(*args, **kwargs) for func in funcs]
     await asyncio.gather(*tasks)

func on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

Description: 注册启动时的函数

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:
-    """
-        注册启动时的函数
-        Args:
-            func ([`LIFESPAN_FUNC`](#var-lifespan-func)): 生命周期函数
-        Returns:
-            [`LIFESPAN_FUNC`](#var-lifespan-func): 生命周期函数
-        """
     self._before_start_funcs.append(func)
     return func

func on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

Description: 注册启动时的函数

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:
-    """
-        注册启动时的函数
-        Args:
-            func ([`LIFESPAN_FUNC`](#var-lifespan-func)): 生命周期函数
-        Returns:
-            [`LIFESPAN_FUNC`](#var-lifespan-func): 生命周期函数
-        """
     self._after_start_funcs.append(func)
     return func

func on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC

Description: 注册进程停止前的函数

Arguments:

Return: PROCESS_LIFESPAN_FUNC: 进程生命周期函数

Source code or View on GitHub
python
def on_before_process_shutdown(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC:
-    """
-        注册进程停止前的函数
-        Args:
-            func ([`PROCESS_LIFESPAN_FUNC`](#var-process-lifespan-func)): 进程生命周期函数
-        Returns:
-            [`PROCESS_LIFESPAN_FUNC`](#var-process-lifespan-func): 进程生命周期函数
-        """
     self._before_process_shutdown_funcs.append(func)
     return func

func on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

Description: 注册停止后的函数

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:
-    """
-        注册停止后的函数
-        Args:
-            func ([`LIFESPAN_FUNC`](#var-lifespan-func)): 生命周期函数
-        Returns:
-            [`LIFESPAN_FUNC`](#var-lifespan-func): 生命周期函数
-        """
     self._after_shutdown_funcs.append(func)
     return func

func on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC

Description: 注册进程重启前的函数

Arguments:

Return: PROCESS_LIFESPAN_FUNC: 进程生命周期函数

Source code or View on GitHub
python
def on_before_process_restart(self, func: PROCESS_LIFESPAN_FUNC) -> PROCESS_LIFESPAN_FUNC:
-    """
-        注册进程重启前的函数
-        Args:
-            func ([`PROCESS_LIFESPAN_FUNC`](#var-process-lifespan-func)): 进程生命周期函数
-        Returns:
-            [`PROCESS_LIFESPAN_FUNC`](#var-process-lifespan-func): 进程生命周期函数
-        """
     self._before_process_restart_funcs.append(func)
     return func

func on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

Description: 注册重启后的函数

Arguments:

Return: LIFESPAN_FUNC: 生命周期函数

Source code or View on GitHub
python
def on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC:
-    """
-        注册重启后的函数
-        Args:
-            func ([`LIFESPAN_FUNC`](#var-lifespan-func)): 生命周期函数
-        Returns:
-            [`LIFESPAN_FUNC`](#var-lifespan-func): 生命周期函数
-        """
     self._after_restart_funcs.append(func)
     return func

async func before_start(self) -> None

Description: 启动前钩子

Source code or View on GitHub
python
async def before_start(self) -> None:
-    """
-        启动前钩子
-        """
     logger.debug('Running before_start functions')
     await self.run_funcs(self._before_start_funcs)

async func after_start(self) -> None

Description: 启动后钩子

Source code or View on GitHub
python
async def after_start(self) -> None:
-    """
-        启动后钩子
-        """
     logger.debug('Running after_start functions')
     await self.run_funcs(self._after_start_funcs)

async func before_process_shutdown(self, *args, **kwargs) -> None

Description: 停止前钩子

Source code or View on GitHub
python
async def before_process_shutdown(self, *args, **kwargs) -> None:
-    """
-        停止前钩子
-        """
     logger.debug('Running before_shutdown functions')
     await self.run_funcs(self._before_process_shutdown_funcs, *args, **kwargs)

async func after_shutdown(self) -> None

Description: 停止后钩子 未实现

Source code or View on GitHub
python
async def after_shutdown(self) -> None:
-    """
-        停止后钩子 未实现
-        """
     logger.debug('Running after_shutdown functions')
     await self.run_funcs(self._after_shutdown_funcs)

async func before_process_restart(self, *args, **kwargs) -> None

Description: 重启前钩子

Source code or View on GitHub
python
async def before_process_restart(self, *args, **kwargs) -> None:
-    """
-        重启前钩子
-        """
     logger.debug('Running before_restart functions')
     await self.run_funcs(self._before_process_restart_funcs, *args, **kwargs)

async func after_restart(self) -> None

Description: 重启后钩子 未实现

Source code or View on GitHub
python
async def after_restart(self) -> None:
-    """
-        重启后钩子 未实现
-        """
     logger.debug('Running after_restart functions')
     await self.run_funcs(self._after_restart_funcs)

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/dev/api/comm/channel.html b/en/dev/api/comm/channel.html index 689f209a..4d1407fe 100644 --- a/en/dev/api/comm/channel.html +++ b/en/dev/api/comm/channel.html @@ -8,11 +8,11 @@ - + - + - + @@ -20,12 +20,6 @@
Skip to content

Module liteyuki.comm.channel

本模块定义了一个通用的通道类,用于进程间通信

var SYNC_ON_RECEIVE_FUNC

  • Description: 同步接收函数

  • Type: TypeAlias

  • Default: Callable[[T], Any]

var ASYNC_ON_RECEIVE_FUNC

  • Description: 异步接收函数

  • Type: TypeAlias

  • Default: Callable[[T], Coroutine[Any, Any, Any]]

var ON_RECEIVE_FUNC

  • Description: 接收函数

  • Type: TypeAlias

  • Default: SYNC_ON_RECEIVE_FUNC | ASYNC_ON_RECEIVE_FUNC

var SYNC_FILTER_FUNC

  • Description: 同步过滤函数

  • Type: TypeAlias

  • Default: Callable[[T], bool]

var ASYNC_FILTER_FUNC

  • Description: 异步过滤函数

  • Type: TypeAlias

  • Default: Callable[[T], Coroutine[Any, Any, bool]]

var FILTER_FUNC

  • Description: 过滤函数

  • Type: TypeAlias

  • Default: SYNC_FILTER_FUNC | ASYNC_FILTER_FUNC

class Channel(Generic[T])

func __init__(self, name: str, type_check: Optional[bool] = None)

Description: 初始化通道

Arguments:

  • name: 通道ID
  • type_check: 是否开启类型检查, 若为空,则传入泛型默认开启,否则默认关闭
Source code or View on GitHub
python
def __init__(self, name: str, type_check: Optional[bool]=None):
-    """
-        初始化通道
-        Args:
-            name: 通道ID
-            type_check: 是否开启类型检查, 若为空,则传入泛型默认开启,否则默认关闭
-        """
     self.conn_send, self.conn_recv = Pipe()
     self._conn_send_inner, self._conn_recv_inner = Pipe()
     self._closed = False
@@ -48,11 +42,6 @@
         logger.debug(f'Channel {name} initialized in main process')
     else:
         logger.debug(f'Channel {name} initialized in sub process, should manually set in main process')

func send(self, data: T)

Description: 发送数据,发送函数为同步函数,没有异步的必要

Arguments:

  • data (T): 数据
Source code or View on GitHub
python
def send(self, data: T):
-    """
-        发送数据,发送函数为同步函数,没有异步的必要
-        Args:
-            data (T): 数据
-        """
     if self.type_check:
         _type = self._get_generic_type()
         if _type is not None and (not self._validate_structure(data, _type)):
@@ -60,31 +49,14 @@
     if self._closed:
         raise RuntimeError('Cannot send to a closed channel_')
     self.conn_send.send(data)

func receive(self) -> T

Description: 同步接收数据,会阻塞线程

Return: T: 数据

Source code or View on GitHub
python
def receive(self) -> T:
-    """
-        同步接收数据,会阻塞线程
-        Returns:
-            T: 数据
-        """
     if self._closed:
         raise RuntimeError('Cannot receive from a closed channel_')
     while True:
         data = self.conn_recv.recv()
         return data

async func async_receive(self) -> T

Description: 异步接收数据,会挂起等待

Return: T: 数据

Source code or View on GitHub
python
async def async_receive(self) -> T:
-    """
-        异步接收数据,会挂起等待
-        Returns:
-            T: 数据
-        """
     loop = asyncio.get_running_loop()
     data = await loop.run_in_executor(None, self.receive)
     return data

func on_receive(self, filter_func: Optional[FILTER_FUNC] = None) -> Callable[[Callable[[T], Any]], Callable[[T], Any]]

Description: 接收数据并执行函数

Arguments:

Return: Callable[[Callable[[T], Any]], Callable[[T], Any]]: 装饰器

Source code or View on GitHub
python
def on_receive(self, filter_func: Optional[FILTER_FUNC]=None) -> Callable[[Callable[[T], Any]], Callable[[T], Any]]:
-    """
-        接收数据并执行函数
-        Args:
-            filter_func ([`Optional`](https%3A//docs.python.org/3/library/typing.html#typing.Optional)[[`FILTER_FUNC`](#var-FILTER_FUNC)], optional): 过滤函数. Defaults to None.
-        Returns:
-            Callable[[Callable[[T], Any]], Callable[[T], Any]]: 装饰器
-        """
     if not IS_MAIN_PROCESS:
         raise RuntimeError('on_receive can only be used in main process')
 
@@ -110,12 +82,6 @@
         _func_id += 1
         return func
     return decorator

var active_channel

  • Description: 子进程可用的主动和被动通道

  • Type: Channel

  • Default: Channel(name='active_channel')

var passive_channel

  • Description: 被动通道

  • Type: Channel

  • Default: Channel(name='passive_channel')

var publish_channel

  • Description: 通道传递通道,主进程创建单例,子进程初始化时实例化

  • Type: Channel[tuple[str, dict[str, Any]]]

  • Default: Channel(name='publish_channel')

var channel_deliver_active_channel

  • Description: 通道传递通道,主进程创建单例,子进程初始化时实例化

  • Type: Channel[Channel[Any]]

  • Default: NO_DEFAULT

var channel_deliver_passive_channel

  • Description: 被动通道传递通道

  • Type: Channel[tuple[str, dict[str, Any]]]

  • Default: NO_DEFAULT

func set_channel(name: str, channel: Channel)

Description: 设置通道实例

Arguments:

  • name (str): 通道名称
  • channel (Channel): 通道实例
Source code or View on GitHub
python
def set_channel(name: str, channel: 'Channel'):
-    """
-    设置通道实例
-    Args:
-        name ([`str`](https%3A//docs.python.org/3/library/stdtypes.html#str)): 通道名称
-        channel ([`Channel`](#class-channel-generic-t)): 通道实例
-    """
     if not isinstance(channel, Channel):
         raise TypeError(f'channel_ must be an instance of Channel, {type(channel)} found')
     if IS_MAIN_PROCESS:
@@ -124,31 +90,14 @@
         _channel[name] = channel
     else:
         channel_deliver_passive_channel.send(('set_channel', {'name': name, 'channel_': channel}))

func set_channels(channels: dict[str, Channel])

Description: 设置通道实例

Arguments:

Source code or View on GitHub
python
def set_channels(channels: dict[str, 'Channel']):
-    """
-    设置通道实例
-    Args:
-        channels ([`dict`](https%3A//docs.python.org/3/library/stdtypes.html#dict)[[`str`](https%3A//docs.python.org/3/library/stdtypes.html#str), [`Channel`](#class-channel-generic-t)]): 通道实例
-    """
     for name, channel in channels.items():
         set_channel(name, channel)

func get_channel(name: str) -> Channel

Description: 获取通道实例

Arguments:

  • name (str): 通道名称

Return: Channel: 通道实例

Source code or View on GitHub
python
def get_channel(name: str) -> 'Channel':
-    """
-    获取通道实例
-    Args:
-        name ([`str`](https%3A//docs.python.org/3/library/stdtypes.html#str)): 通道名称
-    Returns:
-        [`Channel`](#class-channel-generic-t): 通道实例
-    """
     if IS_MAIN_PROCESS:
         return _channel[name]
     else:
         recv_chan = Channel[Channel[Any]]('recv_chan')
         channel_deliver_passive_channel.send(('get_channel', {'name': name, 'recv_chan': recv_chan}))
         return recv_chan.receive()

func get_channels() -> dict[str, Channel]

Description: 获取通道实例们

Return: dict[str, Channel]: 通道实例

Source code or View on GitHub
python
def get_channels() -> dict[str, 'Channel']:
-    """
-    获取通道实例们
-    Returns:
-        [`dict`](https%3A//docs.python.org/3/library/stdtypes.html#dict)[[`str`](https%3A//docs.python.org/3/library/stdtypes.html#str), [`Channel`](#class-channel-generic-t)]: 通道实例
-    """
     if IS_MAIN_PROCESS:
         return _channel
     else:
@@ -164,7 +113,7 @@
 def on_get_channels(data: tuple[str, dict[str, Any]]):
     recv_chan = data[1]['recv_chan']
     recv_chan.send(get_channels())

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/dev/api/comm/event.html b/en/dev/api/comm/event.html index 53088325..c47cadfc 100644 --- a/en/dev/api/comm/event.html +++ b/en/dev/api/comm/event.html @@ -8,9 +8,9 @@ - + - + @@ -22,7 +22,7 @@
Skip to content

Module liteyuki.comm.event

本模块用于轻雪主进程和子进程之间的通信的事件类

class Event

func __init__(self, name: str, data: dict[str, Any])

Source code or View on GitHub
python
def __init__(self, name: str, data: dict[str, Any]):
     self.name = name
     self.data = data

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/dev/api/comm/index.html b/en/dev/api/comm/index.html index 0130c7a1..868a0576 100644 --- a/en/dev/api/comm/index.html +++ b/en/dev/api/comm/index.html @@ -8,9 +8,9 @@ - + - + @@ -20,7 +20,7 @@ - + \ No newline at end of file diff --git a/en/dev/api/comm/rpc.html b/en/dev/api/comm/rpc.html index 15bb52d2..7060dee9 100644 --- a/en/dev/api/comm/rpc.html +++ b/en/dev/api/comm/rpc.html @@ -8,11 +8,11 @@ - + - + - + @@ -21,11 +21,8 @@
Skip to content

Module liteyuki.comm.rpc

本模块用于实现RPC(基于IPC)通信

class RPC

func __init__(self, on_calling: ON_CALLING_FUNC) -> None

Source code or View on GitHub
python
def __init__(self, on_calling: ON_CALLING_FUNC) -> None:
     self.on_calling = on_calling

func call(self, args: tuple, kwargs: dict) -> Any

Description: 调用

Source code or View on GitHub
python
def call(self, args: tuple, kwargs: dict) -> Any:
-    """
-        调用
-        """
     return self.on_calling(args, kwargs)

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/dev/api/comm/socks_channel.html b/en/dev/api/comm/socks_channel.html index f19bf2bf..5df561d7 100644 --- a/en/dev/api/comm/socks_channel.html +++ b/en/dev/api/comm/socks_channel.html @@ -8,11 +8,11 @@ - + - + - + @@ -20,32 +20,14 @@
Skip to content

Module liteyuki.comm.socks_channel

基于socket的通道

class SocksChannel

func __init__(self, name: str)

Description: 初始化通道

Arguments:

  • name: 通道ID
Source code or View on GitHub
python
def __init__(self, name: str):
-    """
-        初始化通道
-        Args:
-            name: 通道ID
-        """
     self._name = name
     self._conn_send = None
     self._conn_recv = None
     self._closed = False

func send(self, data)

Description: 发送数据

Arguments:

  • data: 数据
Source code or View on GitHub
python
def send(self, data):
-    """
-        发送数据
-        Args:
-            data: 数据
-        """
     pass

func receive(self)

Description: 接收数据

Return: data: 数据

Source code or View on GitHub
python
def receive(self):
-    """
-        接收数据
-        Returns:
-            data: 数据
-        """
     pass

func close(self)

Description: 关闭通道

Source code or View on GitHub
python
def close(self):
-    """
-        关闭通道
-        """
     pass

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/dev/api/comm/storage.html b/en/dev/api/comm/storage.html index 32977c16..d1864533 100644 --- a/en/dev/api/comm/storage.html +++ b/en/dev/api/comm/storage.html @@ -8,11 +8,11 @@ - + - + - + @@ -26,28 +26,12 @@ self.publish_channel = Channel[tuple[str, Any]](name='shared_memory-publish') self.is_main_receive_loop_running = False self.is_sub_receive_loop_running = False

func set(self, key: str, value: Any) -> None

Description: 设置键值对

Arguments:

  • key: 键
  • value: 值
Source code or View on GitHub
python
def set(self, key: str, value: Any) -> None:
-    """
-        设置键值对
-        Args:
-            key: 键
-            value: 值
-
-        """
     if IS_MAIN_PROCESS:
         lock = _get_lock(key)
         with lock:
             self._store[key] = value
     else:
         self.passive_chan.send(('set', {'key': key, 'value': value}))

func get(self, key: str, default: Optional[Any] = None) -> Optional[Any]

Description: 获取键值对

Arguments:

  • key: 键
  • default: 默认值

Return: Any: 值

Source code or View on GitHub
python
def get(self, key: str, default: Optional[Any]=None) -> Optional[Any]:
-    """
-        获取键值对
-        Args:
-            key: 键
-            default: 默认值
-
-        Returns:
-            Any: 值
-        """
     if IS_MAIN_PROCESS:
         lock = _get_lock(key)
         with lock:
@@ -56,14 +40,6 @@
         recv_chan = Channel[Optional[Any]]('recv_chan')
         self.passive_chan.send(('get', {'key': key, 'default': default, 'recv_chan': recv_chan}))
         return recv_chan.receive()

func delete(self, key: str, ignore_key_error: bool = True) -> None

Description: 删除键值对

Arguments:

  • key: 键
  • ignore_key_error: 是否忽略键不存在的错误
Source code or View on GitHub
python
def delete(self, key: str, ignore_key_error: bool=True) -> None:
-    """
-        删除键值对
-        Args:
-            key: 键
-            ignore_key_error: 是否忽略键不存在的错误
-
-        Returns:
-        """
     if IS_MAIN_PROCESS:
         lock = _get_lock(key)
         with lock:
@@ -76,34 +52,13 @@
                         raise e
     else:
         self.passive_chan.send(('delete', {'key': key}))

func get_all(self) -> dict[str, Any]

Description: 获取所有键值对

Return: dict[str, Any]: 键值对

Source code or View on GitHub
python
def get_all(self) -> dict[str, Any]:
-    """
-        获取所有键值对
-        Returns:
-            dict[str, Any]: 键值对
-        """
     if IS_MAIN_PROCESS:
         return self._store
     else:
         recv_chan = Channel[dict[str, Any]]('recv_chan')
         self.passive_chan.send(('get_all', {'recv_chan': recv_chan}))
         return recv_chan.receive()

func publish(self, channel_: str, data: Any) -> None

Description: 发布消息

Arguments:

  • channel_: 频道
  • data: 数据
Source code or View on GitHub
python
def publish(self, channel_: str, data: Any) -> None:
-    """
-        发布消息
-        Args:
-            channel_: 频道
-            data: 数据
-
-        Returns:
-        """
     self.active_chan.send(('publish', {'channel': channel_, 'data': data}))

func on_subscriber_receive(self, channel_: str) -> Callable[[ON_RECEIVE_FUNC], ON_RECEIVE_FUNC]

Description: 订阅者接收消息时的回调

Arguments:

  • channel_: 频道

Return: 装饰器

Source code or View on GitHub
python
def on_subscriber_receive(self, channel_: str) -> Callable[[ON_RECEIVE_FUNC], ON_RECEIVE_FUNC]:
-    """
-        订阅者接收消息时的回调
-        Args:
-            channel_: 频道
-
-        Returns:
-            装饰器
-        """
     if not IS_MAIN_PROCESS:
         raise RuntimeError('Cannot subscribe in sub process.')
 
@@ -125,16 +80,7 @@
         return wrapper
     return decorator

@staticmethod

async func run_subscriber_receive_funcs(channel_: str, data: Any)

Description: 运行订阅者接收函数

Arguments:

  • channel_: 频道
  • data: 数据
Source code or View on GitHub
python
@staticmethod
 async def run_subscriber_receive_funcs(channel_: str, data: Any):
-    """
-        运行订阅者接收函数
-        Args:
-            channel_: 频道
-            data: 数据
-        """
     [asyncio.create_task(func(data)) for func in _on_main_subscriber_receive_funcs[channel_]]

async func start_receive_loop(self)

Description: 启动发布订阅接收器循环,在主进程中运行,若有子进程订阅则推送给子进程

Source code or View on GitHub
python
async def start_receive_loop(self):
-    """
-        启动发布订阅接收器循环,在主进程中运行,若有子进程订阅则推送给子进程
-        """
     if not IS_MAIN_PROCESS:
         raise RuntimeError('Cannot start receive loop in sub process.')
     while True:
@@ -163,7 +109,7 @@
 def on_get_all(data: tuple[str, dict[str, Any]]):
     recv_chan = data[1]['recv_chan']
     recv_chan.send(shared_memory.get_all())

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/dev/api/config.html b/en/dev/api/config.html index 586c9a6c..f4597184 100644 --- a/en/dev/api/config.html +++ b/en/dev/api/config.html @@ -8,11 +8,11 @@ - + - + - + @@ -20,45 +20,21 @@
Skip to content

Module liteyuki.config

该模块用于常用配置文件的加载 多配置文件编写原则:

  1. 尽量不要冲突: 一个键不要多次出现
  2. 分工明确: 每个配置文件给一个或一类服务提供配置
  3. 扁平化编写: 配置文件尽量扁平化,不要出现过多的嵌套
  4. 注意冲突时的优先级: 项目目录下的配置文件优先级高于config目录下的配置文件
  5. 请不要将需要动态加载的内容写入配置文件,你应该使用其他储存方式

func flat_config(config: dict[str, Any]) -> dict[str, Any]

Description: 扁平化配置文件

{a:{b:{c:1}}} ->

Arguments:

  • config: 配置项目

Return: 扁平化后的配置文件,但也包含原有的键值对

Source code or View on GitHub
python
def flat_config(config: dict[str, Any]) -> dict[str, Any]:
-    """
-    扁平化配置文件
-
-    {a:{b:{c:1}}} -> {"a.b.c": 1}
-    Args:
-        config: 配置项目
-
-    Returns:
-        扁平化后的配置文件,但也包含原有的键值对
-    """
     new_config = copy.deepcopy(config)
     for key, value in config.items():
         if isinstance(value, dict):
             for k, v in flat_config(value).items():
                 new_config[f'{key}.{k}'] = v
     return new_config

func load_from_yaml(file_: str) -> dict[str, Any]

Description: Load config from yaml file

Source code or View on GitHub
python
def load_from_yaml(file_: str) -> dict[str, Any]:
-    """
-    Load config from yaml file
-
-    """
     logger.debug(f'Loading YAML config from {file_}')
     config = yaml.safe_load(open(file_, 'r', encoding='utf-8'))
     return flat_config(config if config is not None else {})

func load_from_json(file_: str) -> dict[str, Any]

Description: Load config from json file

Source code or View on GitHub
python
def load_from_json(file_: str) -> dict[str, Any]:
-    """
-    Load config from json file
-    """
     logger.debug(f'Loading JSON config from {file_}')
     config = json.load(open(file_, 'r', encoding='utf-8'))
     return flat_config(config if config is not None else {})

func load_from_toml(file_: str) -> dict[str, Any]

Description: Load config from toml file

Source code or View on GitHub
python
def load_from_toml(file_: str) -> dict[str, Any]:
-    """
-    Load config from toml file
-    """
     logger.debug(f'Loading TOML config from {file_}')
     config = toml.load(open(file_, 'r', encoding='utf-8'))
     return flat_config(config if config is not None else {})

func load_from_files(*files: str, *, no_warning: bool = False) -> dict[str, Any]

Description: 从指定文件加载配置项,会自动识别文件格式 默认执行扁平化选项

Source code or View on GitHub
python
def load_from_files(*files: str, no_warning: bool=False) -> dict[str, Any]:
-    """
-    从指定文件加载配置项,会自动识别文件格式
-    默认执行扁平化选项
-    """
     config = {}
     for file in files:
         if os.path.exists(file):
@@ -73,11 +49,6 @@
         elif not no_warning:
             logger.warning(f'Config file not found: {file}')
     return config

func load_configs_from_dirs(*directories: str, *, no_waring: bool = False) -> dict[str, Any]

Description: 从目录下加载配置文件,不递归 按照读取文件的优先级反向覆盖 默认执行扁平化选项

Source code or View on GitHub
python
def load_configs_from_dirs(*directories: str, no_waring: bool=False) -> dict[str, Any]:
-    """
-    从目录下加载配置文件,不递归
-    按照读取文件的优先级反向覆盖
-    默认执行扁平化选项
-    """
     config = {}
     for directory in directories:
         if not os.path.exists(directory):
@@ -88,15 +59,10 @@
             if file.endswith(_SUPPORTED_CONFIG_FORMATS):
                 config.update(load_from_files(os.path.join(directory, file), no_warning=no_waring))
     return config

func load_config_in_default(no_waring: bool = False) -> dict[str, Any]

Description: 从一个标准的轻雪项目加载配置文件 项目目录下的config.*和config目录下的所有配置文件 项目目录下的配置文件优先

Source code or View on GitHub
python
def load_config_in_default(no_waring: bool=False) -> dict[str, Any]:
-    """
-    从一个标准的轻雪项目加载配置文件
-    项目目录下的config.*和config目录下的所有配置文件
-    项目目录下的配置文件优先
-    """
     config = load_configs_from_dirs('config', no_waring=no_waring)
     config.update(load_from_files('config.yaml', 'config.toml', 'config.json', 'config.yml', no_warning=no_waring))
     return config

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/dev/api/core/index.html b/en/dev/api/core/index.html index 10720361..a3af8471 100644 --- a/en/dev/api/core/index.html +++ b/en/dev/api/core/index.html @@ -8,9 +8,9 @@ - + - + @@ -20,7 +20,7 @@ - + \ No newline at end of file diff --git a/en/dev/api/core/manager.html b/en/dev/api/core/manager.html index 895356a9..c377949c 100644 --- a/en/dev/api/core/manager.html +++ b/en/dev/api/core/manager.html @@ -8,11 +8,11 @@ - + - + - + @@ -28,20 +28,9 @@ self.lifespan = lifespan self.targets: dict[str, tuple[Callable, tuple, dict]] = {} self.processes: dict[str, Process] = {}

func start_all(self)

Description: 对外启动方法,启动所有进程,创建asyncio task

Source code or View on GitHub
python
def start_all(self):
-    """
-        对外启动方法,启动所有进程,创建asyncio task
-        """
     for name in self.targets:
         logger.debug(f'Starting process {name}')
         threading.Thread(target=self._run_process, args=(name,), daemon=True).start()

func add_target(self, name: str, target: TARGET_FUNC, args: tuple = (), kwargs = None)

Description: 添加进程

Arguments:

  • name: 进程名,用于获取和唯一标识
  • target: 进程函数
  • args: 进程函数参数
  • kwargs: 进程函数关键字参数,通常会默认传入chan_active和chan_passive
Source code or View on GitHub
python
def add_target(self, name: str, target: TARGET_FUNC, args: tuple=(), kwargs=None):
-    """
-        添加进程
-        Args:
-            name: 进程名,用于获取和唯一标识
-            target: 进程函数
-            args: 进程函数参数
-            kwargs: 进程函数关键字参数,通常会默认传入chan_active和chan_passive
-        """
     if kwargs is None:
         kwargs = {}
     chan_active: Channel = Channel(name=f'{name}-active')
@@ -50,14 +39,6 @@
     self.targets[name] = (_delivery_channel_wrapper, (target, channel_deliver, shared_memory, *args), kwargs)

func join_all(self)

Source code or View on GitHub
python
def join_all(self):
     for name, process in self.targets:
         process.join()

func terminate(self, name: str)

Description: 终止进程并从进程字典中删除

Arguments:

  • name:
Source code or View on GitHub
python
def terminate(self, name: str):
-    """
-        终止进程并从进程字典中删除
-        Args:
-            name:
-
-        Returns:
-
-        """
     if name not in self.processes:
         logger.warning(f'Process {name} not found.')
         return
@@ -69,18 +50,10 @@
     logger.success(f'Process {name} terminated.')

func terminate_all(self)

Source code or View on GitHub
python
def terminate_all(self):
     for name in self.targets:
         self.terminate(name)

func is_process_alive(self, name: str) -> bool

Description: 检查进程是否存活

Arguments:

  • name:
Source code or View on GitHub
python
def is_process_alive(self, name: str) -> bool:
-    """
-        检查进程是否存活
-        Args:
-            name:
-
-        Returns:
-
-        """
     if name not in self.targets:
         logger.warning(f'Process {name} not found.')
     return self.processes[name].is_alive()

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/dev/api/dev/index.html b/en/dev/api/dev/index.html index 4d3231b2..92904ffc 100644 --- a/en/dev/api/dev/index.html +++ b/en/dev/api/dev/index.html @@ -8,9 +8,9 @@ - + - + @@ -20,7 +20,7 @@ - + \ No newline at end of file diff --git a/en/dev/api/dev/observer.html b/en/dev/api/dev/observer.html index 7f5327c7..9ea99a10 100644 --- a/en/dev/api/dev/observer.html +++ b/en/dev/api/dev/observer.html @@ -8,11 +8,11 @@ - + - + - + @@ -20,9 +20,6 @@
Skip to content

Module liteyuki.dev.observer

此模块用于注册观察者函数,使用watchdog监控文件变化并重启bot 启用该模块需要在配置文件中设置dev_mode为True

var CALLBACK_FUNC

  • Description: 位置1为FileSystemEvent

  • Type: TypeAlias

  • Default: Callable[[FileSystemEvent], None]

var FILTER_FUNC

  • Description: 位置1为FileSystemEvent

  • Type: TypeAlias

  • Default: Callable[[FileSystemEvent], bool]

func debounce(wait)

Description: 防抖函数

Source code or View on GitHub
python
def debounce(wait):
-    """
-    防抖函数
-    """
 
     def decorator(func):
 
@@ -41,15 +38,6 @@
     self.on_modified(event)

func on_moved(self, event)

Source code or View on GitHub
python
def on_moved(self, event):
     self.on_modified(event)

func on_any_event(self, event)

Source code or View on GitHub
python
def on_any_event(self, event):
     self.on_modified(event)

func on_file_system_event(directories: tuple[str], recursive: bool = True, event_filter: FILTER_FUNC = None) -> Callable[[CALLBACK_FUNC], CALLBACK_FUNC]

Description: 注册文件系统变化监听器

Arguments:

  • directories: 监听目录们
  • recursive: 是否递归监听子目录
  • event_filter: 事件过滤器, 返回True则执行回调函数

Return: 装饰器,装饰一个函数在接收到数据后执行

Source code or View on GitHub
python
def on_file_system_event(directories: tuple[str], recursive: bool=True, event_filter: FILTER_FUNC=None) -> Callable[[CALLBACK_FUNC], CALLBACK_FUNC]:
-    """
-    注册文件系统变化监听器
-    Args:
-        directories: 监听目录们
-        recursive: 是否递归监听子目录
-        event_filter: 事件过滤器, 返回True则执行回调函数
-    Returns:
-        装饰器,装饰一个函数在接收到数据后执行
-    """
 
     def decorator(func: CALLBACK_FUNC) -> CALLBACK_FUNC:
 
@@ -63,7 +51,7 @@
             observer.schedule(code_modified_handler, directory, recursive=recursive)
         return func
     return decorator

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/dev/api/dev/plugin.html b/en/dev/api/dev/plugin.html index 580e053c..71caef9c 100644 --- a/en/dev/api/dev/plugin.html +++ b/en/dev/api/dev/plugin.html @@ -8,11 +8,11 @@ - + - + - + @@ -20,18 +20,13 @@
Skip to content

Module liteyuki.dev.plugin

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/18 上午5:04 @Author : snowykami @Email : snowykami@outlook.com @File : plugin.py @Software: PyCharm

func run_plugins(*module_path: str | Path)

Description: 运行插件,无需手动初始化bot

Arguments:

  • module_path: 插件路径,参考liteyuki.load_plugin的函数签名
Source code or View on GitHub
python
def run_plugins(*module_path: str | Path):
-    """
-    运行插件,无需手动初始化bot
-    Args:
-        module_path: 插件路径,参考`liteyuki.load_plugin`的函数签名
-    """
     cfg = load_config_in_default()
     plugins = cfg.get('liteyuki.plugins', [])
     plugins.extend(module_path)
     cfg['liteyuki.plugins'] = plugins
     bot = LiteyukiBot(**cfg)
     bot.run()

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/dev/api/exception.html b/en/dev/api/exception.html index 1e63271a..5e452728 100644 --- a/en/dev/api/exception.html +++ b/en/dev/api/exception.html @@ -8,9 +8,9 @@ - + - + @@ -20,7 +20,7 @@ - + \ No newline at end of file diff --git a/en/dev/api/index.html b/en/dev/api/index.html index 675119c1..a50c8d34 100644 --- a/en/dev/api/index.html +++ b/en/dev/api/index.html @@ -8,9 +8,9 @@ - + - + @@ -20,7 +20,7 @@ - + \ No newline at end of file diff --git a/en/dev/api/log.html b/en/dev/api/log.html index 5f27e8fd..ec25c269 100644 --- a/en/dev/api/log.html +++ b/en/dev/api/log.html @@ -8,11 +8,11 @@ - + - + - + @@ -24,11 +24,6 @@ return debug_format else: return default_format

func init_log(config: dict)

Description: 在语言加载完成后执行

Source code or View on GitHub
python
def init_log(config: dict):
-    """
-    在语言加载完成后执行
-    Returns:
-
-    """
     logger.remove()
     logger.add(sys.stdout, level=0, diagnose=False, format=get_format(config.get('log_level', 'INFO')))
     show_icon = config.get('log_icon', True)
@@ -37,7 +32,7 @@
     logger.level('SUCCESS', color='<green>', icon=f"{('✅' if show_icon else '')}SUCCESS")
     logger.level('WARNING', color='<yellow>', icon=f"{('⚠️' if show_icon else '')}WARNING")
     logger.level('ERROR', color='<red>', icon=f"{('⭕' if show_icon else '')}ERROR")

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/dev/api/message/event.html b/en/dev/api/message/event.html index dd1bba33..a4fb90b4 100644 --- a/en/dev/api/message/event.html +++ b/en/dev/api/message/event.html @@ -8,11 +8,11 @@ - + - + - + @@ -20,21 +20,6 @@
Skip to content

Module liteyuki.message.event

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:47 @Author : snowykami @Email : snowykami@outlook.com @File : event.py @Software: PyCharm

class MessageEvent

func __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel[MessageEvent]] = None, data: Optional[dict[str, Any]] = None)

Description: 轻雪抽象消息事件

Source code or View on GitHub
python
def __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, user_id: str, session_type: str, receive_channel: Optional[Channel['MessageEvent']]=None, data: Optional[dict[str, Any]]=None):
-    """
-        轻雪抽象消息事件
-        Args:
-
-            bot_id: 机器人ID
-            message: 消息,消息段数组[{type: str, data: dict[str, Any]}]
-            raw_message: 原始消息(通常为纯文本的格式)
-            message_type: 消息类型(private, group, other)
-
-            session_id: 会话ID(私聊通常为用户ID,群聊通常为群ID)
-            session_type: 会话类型(private, group)
-            receive_channel: 接收频道(用于回复消息)
-
-            data: 附加数据
-        """
     if data is None:
         data = {}
     self.message_type = message_type
@@ -46,16 +31,10 @@
     self.session_type = session_type
     self.user_id = user_id
     self.receive_channel = receive_channel

func reply(self, message: str | dict[str, Any])

Description: 回复消息

Arguments:

  • message:
Source code or View on GitHub
python
def reply(self, message: str | dict[str, Any]):
-    """
-        回复消息
-        Args:
-            message:
-        Returns:
-        """
     reply_event = MessageEvent(message_type=self.session_type, message=message, raw_message='', data={'message': message}, bot_id=self.bot_id, session_id=self.session_id, user_id=self.user_id, session_type=self.session_type, receive_channel=None)
     if self.receive_channel:
         self.receive_channel.send(reply_event)

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/dev/api/message/index.html b/en/dev/api/message/index.html index 24b72752..bf953dfd 100644 --- a/en/dev/api/message/index.html +++ b/en/dev/api/message/index.html @@ -8,9 +8,9 @@ - + - + @@ -20,7 +20,7 @@ - + \ No newline at end of file diff --git a/en/dev/api/message/matcher.html b/en/dev/api/message/matcher.html index 254c7c4a..d82a36b9 100644 --- a/en/dev/api/message/matcher.html +++ b/en/dev/api/message/matcher.html @@ -8,11 +8,11 @@ - + - + - + @@ -20,33 +20,15 @@
Skip to content

Module liteyuki.message.matcher

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 下午10:51 @Author : snowykami @Email : snowykami@outlook.com @File : matcher.py @Software: PyCharm

class Matcher

func __init__(self, rule: Rule, priority: int, block: bool)

Description: 匹配器

Arguments:

  • rule: 规则
  • priority: 优先级 >= 0
  • block: 是否阻断后续优先级更低的匹配器
Source code or View on GitHub
python
def __init__(self, rule: Rule, priority: int, block: bool):
-    """
-        匹配器
-        Args:
-            rule: 规则
-            priority: 优先级 >= 0
-            block: 是否阻断后续优先级更低的匹配器
-        """
     self.rule = rule
     self.priority = priority
     self.block = block
     self.handlers: list[EventHandler] = []

func handle(self) -> Callable[[EventHandler], EventHandler]

Description: 添加处理函数,装饰器

Return: 装饰器 handler

Source code or View on GitHub
python
def handle(self) -> Callable[[EventHandler], EventHandler]:
-    """
-        添加处理函数,装饰器
-        Returns:
-            装饰器 handler
-        """
 
     def decorator(handler: EventHandler) -> EventHandler:
         self.handlers.append(handler)
         return handler
     return decorator

async func run(self, event: MessageEvent) -> None

Description: 运行处理函数

Arguments:

  • event:
Source code or View on GitHub
python
async def run(self, event: MessageEvent) -> None:
-    """
-        运行处理函数
-        Args:
-            event:
-        Returns:
-        """
     if not await self.rule(event):
         return
     for handler in self.handlers:
@@ -54,7 +36,7 @@
             await handler(event)
         except Exception:
             traceback.print_exc()

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/dev/api/message/on.html b/en/dev/api/message/on.html index 17d90542..6ca327dd 100644 --- a/en/dev/api/message/on.html +++ b/en/dev/api/message/on.html @@ -8,9 +8,9 @@ - + - + @@ -34,7 +34,7 @@ async def on_keywords_rule(event: MessageEvent): return any((keyword in event.raw_message for keyword in keywords)) return on_message(on_keywords_rule & rule, priority, block)

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/dev/api/message/rule.html b/en/dev/api/message/rule.html index 163b6d5b..fa017d19 100644 --- a/en/dev/api/message/rule.html +++ b/en/dev/api/message/rule.html @@ -8,9 +8,9 @@ - + - + @@ -36,7 +36,7 @@ return True

@Rule

async func is_su_rule(event: MessageEvent) -> bool

Source code or View on GitHub
python
@Rule
 async def is_su_rule(event: MessageEvent) -> bool:
     return str(event.user_id) in _superusers

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/dev/api/message/session.html b/en/dev/api/message/session.html index a4e7588d..f893e45f 100644 --- a/en/dev/api/message/session.html +++ b/en/dev/api/message/session.html @@ -8,9 +8,9 @@ - + - + @@ -20,7 +20,7 @@ - + \ No newline at end of file diff --git a/en/dev/api/mkdoc.html b/en/dev/api/mkdoc.html index f117a26f..3b1caaf5 100644 --- a/en/dev/api/mkdoc.html +++ b/en/dev/api/mkdoc.html @@ -8,11 +8,11 @@ - + - + - + @@ -20,18 +20,7 @@
Skip to content

Module liteyuki.mkdoc

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/19 上午6:23 @Author : snowykami @Email : snowykami@outlook.com @File : mkdoc.py @Software: PyCharm

class DefType(Enum)

attr FUNCTION = 'function'

attr METHOD = 'method'

attr STATIC_METHOD = 'staticmethod'

attr CLASS_METHOD = 'classmethod'

attr PROPERTY = 'property'

class FunctionInfo(BaseModel)

attr name: str = NO_DEFAULT

attr args: list[tuple[str, str]] = NO_DEFAULT

attr return_type: str = NO_DEFAULT

attr docstring: str = NO_DEFAULT

attr source_code: str = ''

attr type: DefType = NO_DEFAULT

attr is_async: bool = NO_DEFAULT

class AttributeInfo(BaseModel)

attr name: str = NO_DEFAULT

attr type: str = NO_DEFAULT

attr value: Any = None

attr docstring: str = ''

class ClassInfo(BaseModel)

attr name: str = NO_DEFAULT

attr docstring: str = NO_DEFAULT

attr methods: list[FunctionInfo] = NO_DEFAULT

attr attributes: list[AttributeInfo] = NO_DEFAULT

attr inherit: list[str] = NO_DEFAULT

class ModuleInfo(BaseModel)

attr module_path: str = NO_DEFAULT

attr functions: list[FunctionInfo] = NO_DEFAULT

attr classes: list[ClassInfo] = NO_DEFAULT

attr attributes: list[AttributeInfo] = NO_DEFAULT

attr docstring: str = NO_DEFAULT

func get_relative_path(base_path: str, target_path: str) -> str

Description: 获取相对路径

Arguments:

  • base_path: 基础路径
  • target_path: 目标路径
Source code or View on GitHub
python
def get_relative_path(base_path: str, target_path: str) -> str:
-    """
-    获取相对路径
-    Args:
-        base_path: 基础路径
-        target_path: 目标路径
-    """
     return os.path.relpath(target_path, base_path)

func write_to_files(file_data: dict[str, str])

Description: 输出文件

Arguments:

  • file_data: 文件数据 相对路径
Source code or View on GitHub
python
def write_to_files(file_data: dict[str, str]):
-    """
-    输出文件
-    Args:
-        file_data: 文件数据 相对路径
-    """
     for rp, data in file_data.items():
         if not os.path.exists(os.path.dirname(rp)):
             os.makedirs(os.path.dirname(rp))
@@ -43,14 +32,6 @@
             if file.endswith(('.py', '.pyi')):
                 file_list.append(os.path.join(root, file))
     return file_list

func get_module_info_normal(file_path: str, ignore_private: bool = True) -> ModuleInfo

Description: 获取函数和类

Arguments:

  • file_path: Python 文件路径
  • ignore_private: 忽略私有函数和类

Return: 模块信息

Source code or View on GitHub
python
def get_module_info_normal(file_path: str, ignore_private: bool=True) -> ModuleInfo:
-    """
-    获取函数和类
-    Args:
-        file_path: Python 文件路径
-        ignore_private: 忽略私有函数和类
-    Returns:
-        模块信息
-    """
     with open(file_path, 'r', encoding='utf-8') as file:
         file_content = file.read()
         tree = ast.parse(file_content)
@@ -96,16 +77,6 @@
                             attr_type = ast.unparse(node.value.annotation)
                         module_info.attributes.append(AttributeInfo(name=target.id, type=attr_type, value=ast.unparse(node.value) if node.value else None))
     return module_info

func generate_markdown(module_info: ModuleInfo, front_matter = None, lang: str = 'zh-CN') -> str

Description: 生成模块的Markdown 你可在此自定义生成的Markdown格式

Arguments:

  • module_info: 模块信息
  • front_matter: 自定义选项title, index, icon, category
  • lang: 语言

Return: Markdown 字符串

Source code or View on GitHub
python
def generate_markdown(module_info: ModuleInfo, front_matter=None, lang: str='zh-CN') -> str:
-    """
-    生成模块的Markdown
-    你可在此自定义生成的Markdown格式
-    Args:
-        module_info: 模块信息
-        front_matter: 自定义选项title, index, icon, category
-        lang: 语言
-    Returns:
-        Markdown 字符串
-    """
     content = ''
     front_matter = '---\n' + '\n'.join([f'{k}: {v}' for k, v in front_matter.items()]) + '\n---\n\n'
     content += front_matter
@@ -147,15 +118,6 @@
         attr.docstring = attr.docstring.replace('\n', '\n\n')
         content += f'{attr.docstring}\n\n'
     return content

func generate_docs(module_folder: str, output_dir: str, with_top: bool = False, lang: str = 'zh-CN', ignored_paths = None)

Description: 生成文档

Arguments:

  • module_folder: 模块文件夹
  • output_dir: 输出文件夹
  • with_top: 是否包含顶层文件夹 False时例如docs/api/module_a, docs/api/module_b, True时例如docs/api/module/module_a.md, docs/api/module/module_b.md
  • ignored_paths: 忽略的路径
  • lang: 语言
Source code or View on GitHub
python
def generate_docs(module_folder: str, output_dir: str, with_top: bool=False, lang: str='zh-CN', ignored_paths=None):
-    """
-    生成文档
-    Args:
-        module_folder: 模块文件夹
-        output_dir: 输出文件夹
-        with_top: 是否包含顶层文件夹 False时例如docs/api/module_a, docs/api/module_b, True时例如docs/api/module/module_a.md, docs/api/module/module_b.md
-        ignored_paths: 忽略的路径
-        lang: 语言
-    """
     if ignored_paths is None:
         ignored_paths = []
     file_data: dict[str, str] = {}
@@ -180,7 +142,7 @@
         print(f'Generate {pyfile_path} -> {abs_md_path}')
         file_data[abs_md_path] = md_content
     write_to_files(file_data)

var no_module_name_pyfile_path

  • Description: 去头路径

  • Default: get_relative_path(module_folder, pyfile_path)

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/dev/api/plugin/index.html b/en/dev/api/plugin/index.html index d497d0f4..a197d768 100644 --- a/en/dev/api/plugin/index.html +++ b/en/dev/api/plugin/index.html @@ -8,11 +8,11 @@ - + - + - + @@ -20,13 +20,8 @@
Skip to content

Module liteyuki.plugin

func get_loaded_plugins() -> dict[str, Plugin]

Description: 获取已加载的插件

Return: dict[str, Plugin]: 插件字典

Source code or View on GitHub
python
def get_loaded_plugins() -> dict[str, Plugin]:
-    """
-    获取已加载的插件
-    Returns:
-        dict[str, Plugin]: 插件字典
-    """
     return _plugins

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/dev/api/plugin/load.html b/en/dev/api/plugin/load.html index f0a58aef..6a0c99e0 100644 --- a/en/dev/api/plugin/load.html +++ b/en/dev/api/plugin/load.html @@ -8,11 +8,11 @@ - + - + - + @@ -20,12 +20,6 @@
Skip to content

Module liteyuki.plugin.load

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/23 下午11:59 @Author : snowykami @Email : snowykami@outlook.com @File : load.py @Software: PyCharm

func load_plugin(module_path: str | Path) -> Optional[Plugin]

Description: 加载单个插件,可以是本地插件或是通过 pip 安装的插件。

Arguments:

  • module_path: 插件名称 path.to.your.plugin
  • 或插件路径 pathlib.Path(path/to/your/plugin):
Source code or View on GitHub
python
def load_plugin(module_path: str | Path) -> Optional[Plugin]:
-    """加载单个插件,可以是本地插件或是通过 `pip` 安装的插件。
-
-    参数:
-        module_path: 插件名称 `path.to.your.plugin`
-        或插件路径 `pathlib.Path(path/to/your/plugin)`
-    """
     module_path = path_to_module_name(Path(module_path)) if isinstance(module_path, Path) else module_path
     try:
         module = import_module(module_path)
@@ -50,12 +44,6 @@
         logger.opt(colors=True).success(f'Failed to load liteyuki plugin "<r>{module_path}</r>"')
         traceback.print_exc()
         return None

func load_plugins(*plugin_dir: str, *, ignore_warning: bool = True) -> set[Plugin]

Description: 导入文件夹下多个插件

Arguments:

  • plugin_dir: 文件夹路径
  • ignore_warning: 是否忽略警告,通常是目录不存在或目录为空
Source code or View on GitHub
python
def load_plugins(*plugin_dir: str, ignore_warning: bool=True) -> set[Plugin]:
-    """导入文件夹下多个插件
-
-    参数:
-        plugin_dir: 文件夹路径
-        ignore_warning: 是否忽略警告,通常是目录不存在或目录为空
-    """
     plugins = set()
     for dir_path in plugin_dir:
         if not os.path.exists(dir_path):
@@ -82,15 +70,6 @@
                 if _plugins.get(module_name):
                     plugins.add(_plugins[module_name])
     return plugins

func format_display_name(display_name: str, plugin_type: PluginType) -> str

Description: 设置插件名称颜色,根据不同类型插件设置颜色

Arguments:

  • display_name: 插件名称
  • plugin_type: 插件类型

Return: str: 设置后的插件名称

Source code or View on GitHub
python
def format_display_name(display_name: str, plugin_type: PluginType) -> str:
-    """
-    设置插件名称颜色,根据不同类型插件设置颜色
-    Args:
-        display_name: 插件名称
-        plugin_type: 插件类型
-
-    Returns:
-        str: 设置后的插件名称 <y>name</y>
-    """
     color = 'y'
     match plugin_type:
         case PluginType.APPLICATION:
@@ -102,7 +81,7 @@
         case PluginType.SERVICE:
             color = 'c'
     return f'<{color}>{display_name} [{plugin_type.name}]</{color}>'

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/dev/api/plugin/manager.html b/en/dev/api/plugin/manager.html index b02ad44a..1e035dec 100644 --- a/en/dev/api/plugin/manager.html +++ b/en/dev/api/plugin/manager.html @@ -8,9 +8,9 @@ - + - + @@ -20,7 +20,7 @@ - + \ No newline at end of file diff --git a/en/dev/api/plugin/model.html b/en/dev/api/plugin/model.html index 74844fe3..f2f3c086 100644 --- a/en/dev/api/plugin/model.html +++ b/en/dev/api/plugin/model.html @@ -8,9 +8,9 @@ - + - + @@ -21,7 +21,7 @@
Skip to content

Module liteyuki.plugin.model

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/7/24 上午12:02 @Author : snowykami @Email : snowykami@outlook.com @File : model.py @Software: PyCharm

class PluginType(Enum)

attr APPLICATION = 'application'

attr SERVICE = 'service'

attr MODULE = 'module'

attr UNCLASSIFIED = 'unclassified'

attr TEST = 'test'

class PluginMetadata(BaseModel)

attr name: str = NO_DEFAULT

attr description: str = ''

attr usage: str = ''

attr type: PluginType = PluginType.UNCLASSIFIED

attr author: str = ''

attr homepage: str = ''

attr extra: dict[str, Any] = {}

class Plugin(BaseModel)

func __hash__(self)

Source code or View on GitHub
python
def __hash__(self):
     return hash(self.module_name)

attr model_config = {'arbitrary_types_allowed': True}

attr name: str = NO_DEFAULT

attr module: ModuleType = NO_DEFAULT

attr module_name: str = NO_DEFAULT

attr metadata: Optional[PluginMetadata] = None

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/dev/api/plugins/index.html b/en/dev/api/plugins/index.html index bc3d533b..aee4318f 100644 --- a/en/dev/api/plugins/index.html +++ b/en/dev/api/plugins/index.html @@ -8,9 +8,9 @@ - + - + @@ -20,7 +20,7 @@ - + \ No newline at end of file diff --git a/en/dev/api/plugins/liteecho.html b/en/dev/api/plugins/liteecho.html index 65edc321..5cdf5e1d 100644 --- a/en/dev/api/plugins/liteecho.html +++ b/en/dev/api/plugins/liteecho.html @@ -8,9 +8,9 @@ - + - + @@ -22,7 +22,7 @@
Skip to content

Module liteyuki.plugins.liteecho

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/22 下午12:31 @Author : snowykami @Email : snowykami@outlook.com @File : liteecho.py @Software: PyCharm

@on_startswith(['liteecho'], rule=is_su_rule).handle()

async func liteecho(event: MessageEvent)

Source code or View on GitHub
python
@on_startswith(['liteecho'], rule=is_su_rule).handle()
 async def liteecho(event: MessageEvent):
     event.reply(event.raw_message.strip()[8:].strip())

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/dev/api/plugins/plugin_loader/index.html b/en/dev/api/plugins/plugin_loader/index.html index 42d1f366..6bdbd768 100644 --- a/en/dev/api/plugins/plugin_loader/index.html +++ b/en/dev/api/plugins/plugin_loader/index.html @@ -8,11 +8,11 @@ - + - + - + @@ -20,14 +20,11 @@
Skip to content

Module liteyuki.plugins.plugin_loader

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/11 下午10:02 @Author : snowykami @Email : snowykami@outlook.com @File : init.py.py @Software: PyCharm

func default_plugins_loader()

Description: 默认插件加载器,应在初始化时调用

Source code or View on GitHub
python
def default_plugins_loader():
-    """
-    默认插件加载器,应在初始化时调用
-    """
     for plugin in get_config('liteyuki.plugins', []):
         load_plugin(plugin)
     for plugin_dir in get_config('liteyuki.plugin_dirs', ['src/liteyuki_plugins']):
         load_plugins(plugin_dir)

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/dev/api/utils.html b/en/dev/api/utils.html index c8b2bab1..575505f6 100644 --- a/en/dev/api/utils.html +++ b/en/dev/api/utils.html @@ -8,11 +8,11 @@ - + - + - + @@ -20,27 +20,12 @@
Skip to content

Module liteyuki.utils

一些常用的工具类,部分来源于 nonebot 并遵循其许可进行修改

func is_coroutine_callable(call: Callable[..., Any]) -> bool

Description: 判断是否为协程可调用对象

Arguments:

  • call: 可调用对象

Return: bool: 是否为协程可调用对象

Source code or View on GitHub
python
def is_coroutine_callable(call: Callable[..., Any]) -> bool:
-    """
-    判断是否为协程可调用对象
-    Args:
-        call: 可调用对象
-    Returns:
-        bool: 是否为协程可调用对象
-    """
     if inspect.isroutine(call):
         return inspect.iscoroutinefunction(call)
     if inspect.isclass(call):
         return False
     func_ = getattr(call, '__call__', None)
     return inspect.iscoroutinefunction(func_)

func run_coroutine(*coro: Coroutine)

Description: 运行协程

Arguments:

  • coro:
Source code or View on GitHub
python
def run_coroutine(*coro: Coroutine):
-    """
-    运行协程
-    Args:
-        coro:
-
-    Returns:
-
-    """
     try:
         loop = asyncio.get_running_loop()
         if loop.is_running():
@@ -56,40 +41,18 @@
         loop.close()
     except Exception as e:
         logger.error(f'Exception occurred: {e}')

func run_coroutine_in_thread(*coro: Coroutine)

Description: 在新线程中运行协程

Arguments:

  • coro:
Source code or View on GitHub
python
def run_coroutine_in_thread(*coro: Coroutine):
-    """
-    在新线程中运行协程
-    Args:
-        coro:
-
-    Returns:
-
-    """
     threading.Thread(target=run_coroutine, args=coro, daemon=True).start()

func path_to_module_name(path: Path) -> str

Description: 转换路径为模块名

Arguments:

  • path: 路径a/b/c/d -> a.b.c.d

Return: str: 模块名

Source code or View on GitHub
python
def path_to_module_name(path: Path) -> str:
-    """
-    转换路径为模块名
-    Args:
-        path: 路径a/b/c/d -> a.b.c.d
-    Returns:
-        str: 模块名
-    """
     rel_path = path.resolve().relative_to(Path.cwd().resolve())
     if rel_path.stem == '__init__':
         return '.'.join(rel_path.parts[:-1])
     else:
         return '.'.join(rel_path.parts[:-1] + (rel_path.stem,))

func async_wrapper(func: Callable[..., Any]) -> Callable[..., Coroutine]

Description: 异步包装器

Arguments:

  • func: Sync Callable

Return: Coroutine: Asynchronous Callable

Source code or View on GitHub
python
def async_wrapper(func: Callable[..., Any]) -> Callable[..., Coroutine]:
-    """
-    异步包装器
-    Args:
-        func: Sync Callable
-    Returns:
-        Coroutine: Asynchronous Callable
-    """
 
     async def wrapper(*args, **kwargs):
         return func(*args, **kwargs)
     wrapper.__signature__ = inspect.signature(func)
     return wrapper

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/dev/comm.html b/en/dev/comm.html index 5063c158..0af5c78d 100644 --- a/en/dev/comm.html +++ b/en/dev/comm.html @@ -8,9 +8,9 @@ - + - + @@ -62,7 +62,7 @@ shared_memory.set("key", "value") # 设置共享内存 value = shared_memory.get("key") # 获取共享内存

源代码:liteyuki/comm/storage.py

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/dev/guide.html b/en/dev/guide.html index 9926229b..20298759 100644 --- a/en/dev/guide.html +++ b/en/dev/guide.html @@ -8,12 +8,12 @@ - + - + - - + + @@ -21,7 +21,7 @@
Skip to content

Development Guide

How to Develop

Please read the Plugin Development and API Reference documents if you are developing a plugin.

If you need to submit code to the Liteyuki repository, please read the following:

  1. First fork a copy of the Liteyuki repository to your personal/organization account.
  2. Develop in your repository.
  3. Create a new branch in your repository and submit your code to this branch.
  4. Create a Pull Request in your repository to merge your branch into the main branch of the Liteyuki repository.
  • Participation in development assumes that you are already familiar with the basic usage of the Python language and the Liteyuki framework.
  • If you are developing documentation, please ensure that you are familiar with Markdown syntax and basic front-end knowledge.
  • Contact the repository maintainer in case of conflicts.

Suggestions

  • During development, you can use tools such as mypy, flake8, and black for code checking and formatting.
  • Enable developer mode by setting dev_mode: true in config.yml to see more debugging information in the console.

Project Structure

  • main.py: Bot entry file
  • liteyuki: Framework directory (liteyukibot)
  • src: Bot application source code directory
    • liteyuki_plugins: Liteyuki plugin directory
    • nonebot_plugins: Nonebot plugin directory
    • resources: Built-in resource packs directory
    • utils: Utility directory
  • tests: Unit test directory
  • docs: Documentation directory
    • en: English documentation
    • zh: Chinese documentation
  • docker: Docker related content directory

The liteyuki framework is included in the LiteyukiBot application, so this project is both the LiteyukiBot application repository and the liteyuki framework repository.

The src directory is the application part, please develop business logic in this directory. liteyuki_plugins and nonebot_plugins directories are plugin directories, please develop plugins in these directories.

Standardization

  • Code should follow PEP8 and Google Python Style Guide.
  • In addition, code submitted to the Liteyuki repository should follow the following guidelines:
    • Ensure that the code is runnable and harmless.
    • Ensure that the type hints in the code are correct.
    • Ensure that the comment style is Google Docstring or Liteyuki Docstring(recommended) to ensure that Litedoc can parse and generate documentation correctly.
    • Strings should be enclosed in double quotes " as much as possible, and single quotes ' should be used when nesting strings.
    • If there is a part for ordinary users, ensure that the documentation is complete (each language has corresponding documentation).
  • commit message should follow the following guidelines:
    • You should commit the code after completing a feature or fixing a bug, and not mix the code of multiple features or bugs together.
    • We use gitmoji to mark the type of commit, such as :sparkles: for introducing new features, :bug: for fixing bugs, etc., please refer to gitmoji for details.
    • The format of the commit message is <emoji> [type:] <message>, such as :sparkles: feat: add new field to event, where the type field is the type of commit, not much is required, but please fill in as much as possible; the message field is a brief description, in summary, what you did.
    • There is no restriction on the language of the commit message, and bilingual use is possible if conditions permit.
  • The documentation should follow Markdown syntax and support vitepress-related content:
    • Revise the documentation for each language when editing.
    • Ensure that the links in the document are correct and do not lead to inaccessible links.
    • Ensure that the User Documentation is easy to understand and the Development Documentation is detailed.

Finally

  • This project is a non-profit open-source project, and we welcome anyone to participate in development. Your contributions will make Liteyuki better.

Thanks the following contributors!

Contributors

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/dev/lyfunc.html b/en/dev/lyfunc.html index 0acfb76e..cb6c05c9 100644 --- a/en/dev/lyfunc.html +++ b/en/dev/lyfunc.html @@ -8,9 +8,9 @@ - + - + @@ -39,7 +39,7 @@ sleep 0.2 nohup function poke await

API

理论上所有基于onebotv11的api都可调用,不同Adapter api也有差别.

Onebot v11 API文档

结束关键字

由于LiteyukiBot基于异步运行, 所以在编写lyfunction时也要注意异步的调用,避免出现"单线程走到底"的情况是效率提升的关键.

await 异步任务结束关键字,用于结束当前已完成function的执行

WARNING

但若出现非单function的情况,有一个task任务没有完成而await被执行了,那么当前所有函数包的task都会被截停销毁

TIP

编写轻雪函数推荐你使用VS Code插件Liteyuki Function实现语法高亮

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/dev/plugin.html b/en/dev/plugin.html index 8be1a639..66f6d32c 100644 --- a/en/dev/plugin.html +++ b/en/dev/plugin.html @@ -8,9 +8,9 @@ - + - + @@ -51,7 +51,7 @@ liteyuki.restart_process("nonebot") # 调用重启进程方法

加载插件

方法1

  • 在配置文件中的liteyuki.plugins中添加你的插件路径,例如watchdog_plugin,重启轻雪即可加载插件。

方法2

  • 使用开发工具快速运行插件,无需手动创建实例
  • 创建入口文件,例如main.py,并在其中写入以下代码
python
from liteyuki.dev.plugin import run_plugins
 
 run_plugins("watchdog_plugin")

然后运行python main.py即可启动插件

启用插件后,我们在src/nonebot_plugins下创建一个文件,例如test.py,并在其中写入一些代码,保存后轻雪会自动重载NoneBot进程

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/dev/resource.html b/en/dev/resource.html index a78d63da..1d6362a8 100644 --- a/en/dev/resource.html +++ b/en/dev/resource.html @@ -8,9 +8,9 @@ - + - + @@ -32,7 +32,7 @@ description: "资源包描述" # 你可以自定义一些信息,但请保证以上三个字段 ...
  • 资源包加载遵循一个优先级,即后加载的资源包会覆盖前面的资源包,例如,你在A包中定义了一个index.html文件,B包也定义了一个index.html文件,那么加载B包后,A包中的index.html文件会被覆盖
  • 对于不同资源包的不同文件,是可以相对引用的,例如你在A中定义了templates/index.html,在B中定义了templates/style.css,可以在A的index.html中用./style.css相对路径引用B中的css

TIP

资源包的结构会随着轻雪的更新而有变动,第三方资源包开发者需要注意版本兼容性,同时用户也应该自行选择可用的资源包

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/index.html b/en/index.html index 86e96c90..e31ab071 100644 --- a/en/index.html +++ b/en/index.html @@ -8,9 +8,9 @@ - + - + @@ -20,7 +20,7 @@ - + \ No newline at end of file diff --git a/en/store/plugin.html b/en/store/plugin.html index 808d9db9..3e6e7d48 100644 --- a/en/store/plugin.html +++ b/en/store/plugin.html @@ -8,9 +8,9 @@ - + - + @@ -20,7 +20,7 @@
Skip to content

Plugin Store

Content from the LightSnow Plugin Store, LightSnow supports NoneBot through the lpnonebot plugin, and references some NoneBot plugins

Liteyuki Only

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/store/resource.html b/en/store/resource.html index 85a08288..30912576 100644 --- a/en/store/resource.html +++ b/en/store/resource.html @@ -8,9 +8,9 @@ - + - + @@ -20,7 +20,7 @@
Skip to content

Resources Store

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/usage/agreement.html b/en/usage/agreement.html index 5fcc5222..5c495784 100644 --- a/en/usage/agreement.html +++ b/en/usage/agreement.html @@ -8,9 +8,9 @@ - + - + @@ -20,7 +20,7 @@
Skip to content

用户协议

  1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
  2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
    • 运行环境的设备信息:CPU,内存,系统信息及Python信息
    • 插件信息(不含插件数据)
    • 部分异常信息,
    • 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把auto_report设定为false
  3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
  4. 使用此项目代表你已经同意以上协议

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/usage/basic.html b/en/usage/basic.html index d183bcd2..39208840 100644 --- a/en/usage/basic.html +++ b/en/usage/basic.html @@ -8,9 +8,9 @@ - + - + @@ -20,7 +20,7 @@
Skip to content

基础插件


TIP

参数<param>为必填参数,[option]为可选参数。

命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。

轻雪命令liteyuki_command

命令说明权限举例可用参数
reload-liteyuki重载轻雪超级用户
update-liteyuki更新轻雪超级用户
liteecho查看当前bot 版本超级用户
status查看统计信息和状态超级用户
config set <key> value添加配置项,若存在则会覆盖,输入值会被执行以转换为正确的类型,"10"和10是不一样的超级用户config set name 'liteyuki-bot'<key>: 若存在则覆盖, 若不存在则创建于config.yml ; value: yml格式的所有合法内容
config get [key] 查询配置项,不带key返回配置项列表,推荐私聊使用超级用户config get name<key>: 若存在则返回, 若不存在则返回空
switch-image-mode 在普通图片和Markdown大图之间切换,该功能需要commit:505468b及以后的Lagrange.OneBot,默认普通图片超级用户switch-image-mode
/api api_name [args] 调用机器人API超级用户/api get_group_member_list group_id=1234567<args>: 参数列表, 格式为onebot v11协议api, 可用%20代替空格
/function function_name [args] [kwargs] 调用机器人函数(.lyfunction语法)超级用户/function send_group_msg group_id=1234567 message='hello'<args><kwargs>: 参数列表, api格式为onebot v11协议api
group enable/disable [group_id]在群聊启用/停用机器人,group_id仅超级用户可用超级用户,群聊仅群主、管理员、超级用户可用group enable 1145141919810<group_id>: 群号
liteyuki-docs查看轻雪文档所有人

命令别名

命令别名
status状态
reload-liteyuki重启轻雪
update-liteyuki更新轻雪
reload-resources重载资源
config配置, set 设置 / get 查询
switch-image-mode切换图片模式
liteyuki-docs轻雪文档
group群聊, enable 启用 / disable 停用

插件/包管理器 liteyuki_pacman

  • 插件管理
命令说明权限
npm update更新插件商店索引超级用户
npm install <plugin_name>安装插件超级用户
npm uninstall <plugin_name>卸载插件超级用户
npm search <keywords...>通过关键词搜索插件超级用户
npm enable-global/disable-global <plugin_name>全局启用/停用插件超级用户
npm enable/disable <plugin_name> [--group <group_id>]当前会话启用/停用插件群聊仅群主、管理员、超级用户可用,私聊所有人可用
npm list [page] [num]列出所有插件 page为页数,num为每页显示数量群聊仅群主、管理员、超级用户可用,私聊所有人可用
help <plugin_name>查看插件帮助所有人
  • 资源包管理
命令说明权限
rpm list [page] [num]列出所有资源包 page为页数,num为每页显示数量超级用户
rpm load <pack_name>加载资源包超级用户
rpm unload <pack_name>卸载资源包超级用户
rpm change <pack_name>修改优先级超级用户
rpm reload重载所有资源包超级用户

命令别名

命令别名
npm插件管理
update更新
install安装
uninstall卸载
search搜索
enable启用
disable停用
enable-global全局启用
disable-global全局停用
rpm资源包
load加载
unload卸载
change更改
reload重载
list列表
help帮助

WARNING

受限于NoneBot2钩子函数的依赖注入参数,插件停用只能阻断传入响应,对于主动推送的插件不生效,请阅读插件主页的说明。


用户管理liteyuki_user

命令说明权限
profile查看用户信息菜单所有人
profile set <key> [value]设置用户信息或打开属性设置菜单所有人
profile get <key>获取用户信息所有人

###命令别名

命令别名
profile个人信息
set设置
get查询

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/en/usage/extra.html b/en/usage/extra.html index 0f047d63..1e39d5d7 100644 --- a/en/usage/extra.html +++ b/en/usage/extra.html @@ -8,9 +8,9 @@ - + - + @@ -20,7 +20,7 @@
Skip to content

功能插件命令

轻雪天气liteyuki_weather

查询实时天气,支持绑定城市,支持中英文城市名,支持多个关键词查询。

配置项

yaml
weather_key: "" # 和风天气的天气key,会自动判断key版本

命令

shell
weather <keywords...> # Keywords为城市名,支持中英文

查询目标地实时天气,例如:"天气 北京 海淀", "weather Tokyo Shinjuku"

shell
bind-city <keywords...> # Keywords为城市名,支持中英文

绑定查询城市,个人全局生效

命令别名

命令别名
weather天气
bind-city绑定城市

统计信息liteyuki_statistics

统计信息 命令

shell
statistic message --duration <duration> --period <period> --group [current|group_id] --bot [current|bot_id]

功能: 用于统计Bot接收到的消息, 统计周期为period, 统计时间范围为duration

参数格式
duration使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
period使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
groupcurrent (当前群聊) 或 group_id (QQ群号)
botcurrent (当前Bot) 或 bot_id

命令别名

命令别名
statisticstat
messagem
--duration-d
--period`-p
--group-g
--bot-b
currentc

Documentation built with VitePress | API references generated by litedoc

- + \ No newline at end of file diff --git a/hashmap.json b/hashmap.json index 7af93d21..95bdb961 100644 --- a/hashmap.json +++ b/hashmap.json @@ -1 +1 @@ -{"deploy_config.md":"BBoJ_SVs","deploy_fandq.md":"D3AaSKzf","deploy_install.md":"DMcLeaSP","dev_api_bot_index.md":"CuMl1rvj","dev_api_bot_lifespan.md":"DR2MDUz6","dev_api_comm_channel.md":"B5pa646I","dev_api_comm_event.md":"0WEOopJJ","dev_api_comm_index.md":"BubSUNVe","dev_api_comm_rpc.md":"BvyY4W2E","dev_api_comm_socks_channel.md":"C9HkfsuW","dev_api_comm_storage.md":"azZ6WC8l","dev_api_config.md":"Dvcq1UWB","dev_api_core_index.md":"B0E7Phf1","dev_api_core_manager.md":"CYk6oifO","dev_api_dev_index.md":"Chgr0inF","dev_api_dev_observer.md":"r5tZ34Ke","dev_api_dev_plugin.md":"B0UWZ865","dev_api_exception.md":"Bo7F9S9r","dev_api_index.md":"mhROT_CR","dev_api_log.md":"DEgtvOME","dev_api_message_event.md":"CCba4fQM","dev_api_message_index.md":"Ox32xQC5","dev_api_message_matcher.md":"RkLnG-L_","dev_api_message_on.md":"C1h6vNQo","dev_api_message_rule.md":"D23FeG2K","dev_api_message_session.md":"Dvgy6WBS","dev_api_mkdoc.md":"BHVTt-3m","dev_api_plugin_index.md":"BEvzlWex","dev_api_plugin_load.md":"E8CzQJo7","dev_api_plugin_manager.md":"WWoouVFL","dev_api_plugin_model.md":"-ZrDVhyd","dev_api_plugins_index.md":"kWwCXP54","dev_api_plugins_liteecho.md":"a-DHFJ66","dev_api_plugins_plugin_loader_index.md":"CY6QBGMz","dev_api_utils.md":"B-jOjsY8","dev_comm.md":"cMJIV6AK","dev_guide.md":"Bk5y8hUs","dev_lyfunc.md":"D4LU5X67","dev_plugin.md":"phZolwS6","dev_resource.md":"CiEukBtC","en_deploy_config.md":"DdMT5vqs","en_deploy_fandq.md":"BKc7kj27","en_deploy_install.md":"C00Sx2cS","en_dev_api_bot_index.md":"DL6mnrEN","en_dev_api_bot_lifespan.md":"DTXU8rb1","en_dev_api_comm_channel.md":"Dn9eV_fi","en_dev_api_comm_event.md":"DVEQ_riJ","en_dev_api_comm_index.md":"BghEev94","en_dev_api_comm_rpc.md":"CrPeq6TE","en_dev_api_comm_socks_channel.md":"CvJGb0kT","en_dev_api_comm_storage.md":"Dm0GM8mR","en_dev_api_config.md":"xYJgIkUD","en_dev_api_core_index.md":"NuGEgKq2","en_dev_api_core_manager.md":"DbS9o93Z","en_dev_api_dev_index.md":"UZwSl7RN","en_dev_api_dev_observer.md":"5lqNCQBZ","en_dev_api_dev_plugin.md":"_CvA4vrZ","en_dev_api_exception.md":"HPP9FBE6","en_dev_api_index.md":"Bem5oMXv","en_dev_api_log.md":"PqB2h68g","en_dev_api_message_event.md":"B0wAhsAc","en_dev_api_message_index.md":"CTleW7FS","en_dev_api_message_matcher.md":"BKMMUxTe","en_dev_api_message_on.md":"DHqvXPYl","en_dev_api_message_rule.md":"CGEUsR9o","en_dev_api_message_session.md":"BJvZrFxU","en_dev_api_mkdoc.md":"Ct_avrHh","en_dev_api_plugin_index.md":"CKq64mgl","en_dev_api_plugin_load.md":"MWafzOLA","en_dev_api_plugin_manager.md":"LGDmEnuh","en_dev_api_plugin_model.md":"Roi4BP47","en_dev_api_plugins_index.md":"CBJItUz2","en_dev_api_plugins_liteecho.md":"Bq_UeUyc","en_dev_api_plugins_plugin_loader_index.md":"0ZrZ4ySj","en_dev_api_utils.md":"CvtH68Fd","en_dev_comm.md":"DWySVBZ2","en_dev_guide.md":"Juefj7oz","en_dev_lyfunc.md":"BhYjNK3N","en_dev_plugin.md":"CKzO3RVR","en_dev_resource.md":"Q8AwzAyN","en_index.md":"DS37TlOH","en_store_plugin.md":"C0UyBVv2","en_store_resource.md":"Ci-LBCav","en_usage_agreement.md":"vFfahjeR","en_usage_basic.md":"DVpsBy5w","en_usage_extra.md":"DU-WQhbO","index.md":"Dl11pd1E","store_plugin.md":"BhQadjel","store_resource.md":"CgUrr2wJ","usage_agreement.md":"BYijSUyJ","usage_basic.md":"CS9J19pD","usage_extra.md":"CPLcG44C"} +{"deploy_config.md":"BBoJ_SVs","deploy_fandq.md":"D3AaSKzf","deploy_install.md":"DMcLeaSP","dev_api_bot_index.md":"DNY8cUbE","dev_api_bot_lifespan.md":"cXpYfBFa","dev_api_comm_channel.md":"Rby8KuoW","dev_api_comm_event.md":"0WEOopJJ","dev_api_comm_index.md":"BubSUNVe","dev_api_comm_rpc.md":"CATS97wW","dev_api_comm_socks_channel.md":"DowR8ySw","dev_api_comm_storage.md":"BTq8RCp9","dev_api_config.md":"DBrWZGxB","dev_api_core_index.md":"B0E7Phf1","dev_api_core_manager.md":"CEfbZ5pK","dev_api_dev_index.md":"Chgr0inF","dev_api_dev_observer.md":"1UR7dS3y","dev_api_dev_plugin.md":"C_CkUgwx","dev_api_exception.md":"Bo7F9S9r","dev_api_index.md":"mhROT_CR","dev_api_log.md":"CJtELCL9","dev_api_message_event.md":"z4kIykti","dev_api_message_index.md":"Ox32xQC5","dev_api_message_matcher.md":"Dl6noJmI","dev_api_message_on.md":"C1h6vNQo","dev_api_message_rule.md":"D23FeG2K","dev_api_message_session.md":"Dvgy6WBS","dev_api_mkdoc.md":"KHhZ0jbQ","dev_api_plugin_index.md":"CcmFWY5K","dev_api_plugin_load.md":"CssacMr6","dev_api_plugin_manager.md":"WWoouVFL","dev_api_plugin_model.md":"-ZrDVhyd","dev_api_plugins_index.md":"kWwCXP54","dev_api_plugins_liteecho.md":"a-DHFJ66","dev_api_plugins_plugin_loader_index.md":"VShWijpV","dev_api_utils.md":"BCCrA2Tn","dev_comm.md":"cMJIV6AK","dev_guide.md":"Dy0vCFVc","dev_lyfunc.md":"D4LU5X67","dev_plugin.md":"phZolwS6","dev_resource.md":"CiEukBtC","en_deploy_config.md":"DdMT5vqs","en_deploy_fandq.md":"BKc7kj27","en_deploy_install.md":"C00Sx2cS","en_dev_api_bot_index.md":"Etpbg95G","en_dev_api_bot_lifespan.md":"B5dt163D","en_dev_api_comm_channel.md":"Db8NECOS","en_dev_api_comm_event.md":"DVEQ_riJ","en_dev_api_comm_index.md":"BghEev94","en_dev_api_comm_rpc.md":"CY-ENZCj","en_dev_api_comm_socks_channel.md":"CndQIApl","en_dev_api_comm_storage.md":"CBNLmX3O","en_dev_api_config.md":"Dm7JCHCl","en_dev_api_core_index.md":"NuGEgKq2","en_dev_api_core_manager.md":"BEvIQjQG","en_dev_api_dev_index.md":"UZwSl7RN","en_dev_api_dev_observer.md":"B50F8CO1","en_dev_api_dev_plugin.md":"CGOTYIDu","en_dev_api_exception.md":"HPP9FBE6","en_dev_api_index.md":"Bem5oMXv","en_dev_api_log.md":"DR6xjPic","en_dev_api_message_event.md":"DPY-2dlG","en_dev_api_message_index.md":"CTleW7FS","en_dev_api_message_matcher.md":"EXm6yebY","en_dev_api_message_on.md":"DHqvXPYl","en_dev_api_message_rule.md":"CGEUsR9o","en_dev_api_message_session.md":"BJvZrFxU","en_dev_api_mkdoc.md":"DyhS85pU","en_dev_api_plugin_index.md":"BlDLlzQ8","en_dev_api_plugin_load.md":"CNTMTSZw","en_dev_api_plugin_manager.md":"LGDmEnuh","en_dev_api_plugin_model.md":"Roi4BP47","en_dev_api_plugins_index.md":"CBJItUz2","en_dev_api_plugins_liteecho.md":"Bq_UeUyc","en_dev_api_plugins_plugin_loader_index.md":"Dyg-8Oyz","en_dev_api_utils.md":"pu8aZDZV","en_dev_comm.md":"DWySVBZ2","en_dev_guide.md":"Cex6uBmZ","en_dev_lyfunc.md":"BhYjNK3N","en_dev_plugin.md":"CKzO3RVR","en_dev_resource.md":"Q8AwzAyN","en_index.md":"DS37TlOH","en_store_plugin.md":"C0UyBVv2","en_store_resource.md":"Ci-LBCav","en_usage_agreement.md":"vFfahjeR","en_usage_basic.md":"DVpsBy5w","en_usage_extra.md":"DU-WQhbO","index.md":"Dl11pd1E","store_plugin.md":"BhQadjel","store_resource.md":"CgUrr2wJ","usage_agreement.md":"BYijSUyJ","usage_basic.md":"CS9J19pD","usage_extra.md":"CPLcG44C"} diff --git a/index.html b/index.html index c5b00f04..47fb9031 100644 --- a/index.html +++ b/index.html @@ -8,9 +8,9 @@ - + - + @@ -20,7 +20,7 @@ - + \ No newline at end of file diff --git a/store/plugin.html b/store/plugin.html index a00ae8b4..c1784542 100644 --- a/store/plugin.html +++ b/store/plugin.html @@ -8,9 +8,9 @@ - + - + @@ -20,7 +20,7 @@
Skip to content

插件商店

内容来自轻雪插件商店,轻雪通过lpnonebot插件对NoneBot实现支持,引用了部分NoneBot插件

仅轻雪

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/store/resource.html b/store/resource.html index 6ab47f24..1f3ce611 100644 --- a/store/resource.html +++ b/store/resource.html @@ -8,9 +8,9 @@ - + - + @@ -20,7 +20,7 @@
Skip to content

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/usage/agreement.html b/usage/agreement.html index 1dd62623..8b9bf14e 100644 --- a/usage/agreement.html +++ b/usage/agreement.html @@ -8,9 +8,9 @@ - + - + @@ -20,7 +20,7 @@
Skip to content

用户协议

  1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
  2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
    • 运行环境的设备信息:CPU,内存,系统信息及Python信息
    • 插件信息(不含插件数据)
    • 部分异常信息,
    • 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把auto_report设定为false
  3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
  4. 使用此项目代表你已经同意以上协议

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/usage/basic.html b/usage/basic.html index 46d3bf05..6b4b45c7 100644 --- a/usage/basic.html +++ b/usage/basic.html @@ -8,9 +8,9 @@ - + - + @@ -20,7 +20,7 @@
Skip to content

基础插件


TIP

参数<param>为必填参数,[option]为可选参数。

命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。

轻雪命令liteyuki_command

命令说明权限举例可用参数
reload-liteyuki重载轻雪超级用户
update-liteyuki更新轻雪超级用户
liteecho查看当前bot 版本超级用户
status查看统计信息和状态超级用户
config set <key> value添加配置项,若存在则会覆盖,输入值会被执行以转换为正确的类型,"10"和10是不一样的超级用户config set name 'liteyuki-bot'<key>: 若存在则覆盖, 若不存在则创建于config.yml ; value: yml格式的所有合法内容
config get [key] 查询配置项,不带key返回配置项列表,推荐私聊使用超级用户config get name<key>: 若存在则返回, 若不存在则返回空
switch-image-mode 在普通图片和Markdown大图之间切换,该功能需要commit:505468b及以后的Lagrange.OneBot,默认普通图片超级用户switch-image-mode
/api api_name [args] 调用机器人API超级用户/api get_group_member_list group_id=1234567<args>: 参数列表, 格式为onebot v11协议api, 可用%20代替空格
/function function_name [args] [kwargs] 调用机器人函数(.lyfunction语法)超级用户/function send_group_msg group_id=1234567 message='hello'<args><kwargs>: 参数列表, api格式为onebot v11协议api
group enable/disable [group_id]在群聊启用/停用机器人,group_id仅超级用户可用超级用户,群聊仅群主、管理员、超级用户可用group enable 1145141919810<group_id>: 群号
liteyuki-docs查看轻雪文档所有人

命令别名

命令别名
status状态
reload-liteyuki重启轻雪
update-liteyuki更新轻雪
reload-resources重载资源
config配置, set 设置 / get 查询
switch-image-mode切换图片模式
liteyuki-docs轻雪文档
group群聊, enable 启用 / disable 停用

插件/包管理器 liteyuki_pacman

  • 插件管理
命令说明权限
npm update更新插件商店索引超级用户
npm install <plugin_name>安装插件超级用户
npm uninstall <plugin_name>卸载插件超级用户
npm search <keywords...>通过关键词搜索插件超级用户
npm enable-global/disable-global <plugin_name>全局启用/停用插件超级用户
npm enable/disable <plugin_name> [--group <group_id>]当前会话启用/停用插件群聊仅群主、管理员、超级用户可用,私聊所有人可用
npm list [page] [num]列出所有插件 page为页数,num为每页显示数量群聊仅群主、管理员、超级用户可用,私聊所有人可用
help <plugin_name>查看插件帮助所有人
  • 资源包管理
命令说明权限
rpm list [page] [num]列出所有资源包 page为页数,num为每页显示数量超级用户
rpm load <pack_name>加载资源包超级用户
rpm unload <pack_name>卸载资源包超级用户
rpm change <pack_name>修改优先级超级用户
rpm reload重载所有资源包超级用户

命令别名

命令别名
npm插件管理
update更新
install安装
uninstall卸载
search搜索
enable启用
disable停用
enable-global全局启用
disable-global全局停用
rpm资源包
load加载
unload卸载
change更改
reload重载
list列表
help帮助

WARNING

受限于NoneBot2钩子函数的依赖注入参数,插件停用只能阻断传入响应,对于主动推送的插件不生效,请阅读插件主页的说明。


用户管理liteyuki_user

命令说明权限
profile查看用户信息菜单所有人
profile set <key> [value]设置用户信息或打开属性设置菜单所有人
profile get <key>获取用户信息所有人

###命令别名

命令别名
profile个人信息
set设置
get查询

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file diff --git a/usage/extra.html b/usage/extra.html index dd6bafc2..85921590 100644 --- a/usage/extra.html +++ b/usage/extra.html @@ -8,9 +8,9 @@ - + - + @@ -20,7 +20,7 @@
Skip to content

功能插件命令

轻雪天气liteyuki_weather

查询实时天气,支持绑定城市,支持中英文城市名,支持多个关键词查询。

配置项

yaml
weather_key: "" # 和风天气的天气key,会自动判断key版本

命令

shell
weather <keywords...> # Keywords为城市名,支持中英文

查询目标地实时天气,例如:"天气 北京 海淀", "weather Tokyo Shinjuku"

shell
bind-city <keywords...> # Keywords为城市名,支持中英文

绑定查询城市,个人全局生效

命令别名

命令别名
weather天气
bind-city绑定城市

统计信息liteyuki_statistics

统计信息 命令

shell
statistic message --duration <duration> --period <period> --group [current|group_id] --bot [current|bot_id]

功能: 用于统计Bot接收到的消息, 统计周期为period, 统计时间范围为duration

参数格式
duration使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
period使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
groupcurrent (当前群聊) 或 group_id (QQ群号)
botcurrent (当前Bot) 或 bot_id

命令别名

命令别名
statisticstat
messagem
--duration-d
--period`-p
--group-g
--bot-b
currentc

文档由 VitePress 构建 | API引用由 litedoc 生成

- + \ No newline at end of file