Comments (23)
第一,你这个插件完全可以使用 plugin-session
来判断会话等级,而不是强依赖于onebot11适配器的GroupMessageEvent
,让你这个插件只能在ob11下使用。我推荐你换用 nonebot-plugin-session
第二,你使用的 on_regex 的正则表达式里面存在泛匹配 (.*
),在特殊情况下这会对机器人性能造成很大影响。请换用精准一点的表达式(例如 [\w|-]*
)
from nonebot2.
第一,你这个插件完全可以使用
plugin-session
来判断会话等级,而不是强依赖于onebot11适配器的GroupMessageEvent
,让你这个插件只能在ob11下使用。我推荐你换用 nonebot-plugin-session第二,你使用的 on_regex 的正则表达式里面存在泛匹配 (
.*
),在特殊情况下这会对机器人性能造成很大影响。请换用精准一点的表达式(例如[\w|-]*
)
行,下个版本整x
from nonebot2.
已更新
from nonebot2.
你插件有一部分拿at的,可以去用plugin-alconna的UniMessage去提取At
from nonebot2.
你插件有一部分拿at的,可以去用plugin-alconna的UniMessage去提取At
谢谢,正发愁呢x
from nonebot2.
已更新x
from nonebot2.
supported_adapters
请使用 inherit_supported_adapters
从依赖的插件继承。在使用第三方插件时需要先require
,最好把 require 放在插件最初导入的部分。
from nonebot2.
已更新
from nonebot2.
你同时用了alconna和session插件,你应该同时继承他们两个支持的适配器列表,直接添加inherit_supported_adapters
的参数即可。
from nonebot2.
已更新
from nonebot2.
等下我漏看了一个,你还要继承localstore的(((
from nonebot2.
等下我漏看了一个,你还要继承localstore的(((
loaclstore不是本地插件数据吗,好像和适配器没关系吧(
from nonebot2.
哪怕他和适配器没关系也需要继承,因为他也是插件
from nonebot2.
哪怕他和适配器没关系也需要继承,因为他也是插件
行,更新了
from nonebot2.
你没有require localstore。。
from nonebot2.
你没有require localstore。。
在plugins_data里,启动时若配置不存在启用 localstore ,若配置存在则不会使用localstore(import和require都不会执行)
from nonebot2.
如果你可能使用一个插件就需要声明依赖,哪怕不使用
from nonebot2.
如果你可能使用一个插件就需要声明依赖,哪怕不使用
但是声明在plugins_data里(
from nonebot2.
你需要在 inherit 前声明依赖
from nonebot2.
你需要在 继承 前声明依赖
哦,懂了,马上去修)
from nonebot2.
已修复
from nonebot2.
/update
from nonebot2.
📃 商店发布检查结果
Plugin: 插件响应鉴权
✅ 所有测试通过,一切准备就绪!
详情
✅ 项目 nonebot-plugin-authrespond 已发布至 PyPI。 ✅ 项目 主页 返回状态码 200。 ✅ 标签: 黑名单-#e81616, cubplugins-#28a5d1, 权限控制-#c75d59。 ✅ 插件类型: application。 ✅ 插件支持的适配器: nonebot.adapters.console, nonebot.adapters.discord, nonebot.adapters.dodo, nonebot.adapters.feishu, nonebot.adapters.kaiheila, nonebot.adapters.onebot.v11, nonebot.adapters.onebot.v12, nonebot.adapters.qq, nonebot.adapters.red, nonebot.adapters.satori, nonebot.adapters.telegram。 ✅ 插件 加载测试 通过。
💡 如需修改信息,请直接修改 issue,机器人会自动更新检查结果。
💡 当插件加载测试失败时,请发布新版本后在当前页面下评论任意内容以触发测试。
♻️ 评论已更新至最新检查结果
💪 Powered by NoneFlow
from nonebot2.
Related Issues (20)
- Plugin: nonebot-plugin-daily-task HOT 3
- Check your dependencies Python requirement
- Plugin: ai唱歌 HOT 8
- Plugin: QQShell HOT 13
- Plugin: nonebot-plugin-lynchpined HOT 7
- Plugin: 学园偶像大师算分插件 HOT 8
- Plugin: 颜值评分 HOT 3
- Plugin: nonebot-plugin-multigpt HOT 5
- Plugin: 多模态AI工具 HOT 28
- Plugin: nonebot-plugin-xjie-weather HOT 12
- 连接LLOneBot后无法正常发送消息 HOT 4
- Plugin: nonebot-plugin-figure HOT 3
- Plugin: AnyMate小助手 HOT 31
- Plugin: 鸣潮抽卡记录分析 HOT 9
- Plugin: 峯驰外包 HOT 1
- Plugin: nonebot-plugin-easymarkdown HOT 5
- Plugin: Daily Task HOT 16
- Plugin: MCSM小助手 HOT 9
- Plugin: 绝地潜兵信息查询小助手 HOT 6
- Plugin: asmr HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nonebot2.