Comments (26)
你使用
nonebot_plugin_localstore
插件前没有 require。有啊 Line17
你应该在
import nonebot_plugin_localstore as store
这个语句之前 require。
已修改
from nonebot2.
📃 商店发布检查结果
Plugin: nonebot-plugin-bf1marneserverlist
✅ 所有测试通过,一切准备就绪!
详情
✅ 项目 nonebot-plugin-bf1marneserverlist 已发布至 PyPI。 ✅ 项目 主页 返回状态码 200。 ✅ 标签: server-#ea5252。 ✅ 插件类型: application。 ✅ 插件支持的适配器: nonebot.adapters.onebot.v11。 ✅ 插件 加载测试 通过。
💡 如需修改信息,请直接修改 issue,机器人会自动更新检查结果。
💡 当插件加载测试失败时,请发布新版本后在当前页面下评论任意内容以触发测试。
♻️ 评论已更新至最新检查结果
💪 Powered by NoneFlow
from nonebot2.
1.不要重复开 issue,在此 issue 下评论即可重新测试
from nonebot2.
retry
from nonebot2.
2.你的插件没有添加依赖 nonebot2
和 nonebot-adapter-onebot
3.插件修改后需要发布一个新版本到 PyPI
4.你的插件使用了 requests
,建议使用异步 http 库如 httpx
aiohttp
替换
5.你的插件的 Config
正在使用 Pydantic v1 用法,这可能会导致不兼容
6.issue 中的 “插件配置项” 需使用你在 .env.*
里面的配置
from nonebot2.
retry plz
from nonebot2.
1
from nonebot2.
2
from nonebot2.
你插件结构也不对
from nonebot2.
retry
from nonebot2.
21312321
from nonebot2.
from nonebot2.
sadasd
from nonebot2.
插件结构不对,看看文档或社区的插件
from nonebot2.
retry 21213
from nonebot2.
asdf
from nonebot2.
a
from nonebot2.
😭感谢几位大佬
from nonebot2.
- 不要在机器人目录下随意存储数据文件,请考虑使用
localhost
插件 - 插件
Config
为 Pydantic v1 用法,这可能会导致不兼容- 由于仅设置
extra=ignore
,可以删去此Config
中的Config
- 由于仅设置
class Config(BaseModel):
marne_url: str
marne_plugin_enabled: bool = True
marne_data_dir: str = './data/marne_data/'
- class Config:
- extra = "ignore"
- 对于
_command_arg(state)
的调用可改为 依赖注入
from nonebot2.
1 2 已修改
3不会
from nonebot2.
1
from nonebot2.
你使用 nonebot_plugin_localstore
插件前没有 require。
from nonebot2.
你使用
nonebot_plugin_localstore
插件前没有 require。
有啊
Line17
from nonebot2.
你使用
nonebot_plugin_localstore
插件前没有 require。有啊 Line17
你应该在 import nonebot_plugin_localstore as store
这个语句之前 require。
from nonebot2.
测试还没通过?
from nonebot2.
...不应该啊?之前都通过了的
重试一遍
from nonebot2.
Related Issues (20)
- Plugin: 【QQ官机】恶魔轮盘 HOT 2
- Plugin: 狼人杀 HOT 1
- Plugin: 次元星辰 HOT 4
- Bug: 使用消息ID获取不到消息内容 HOT 1
- Plugin: nonebot-plugin-tarina-lang-turbo HOT 1
- Plugin: nonebot-plugin-witff HOT 2
- Plugin: WITFF HOT 6
- Plugin: 二维码生成器 HOT 6
- Plugin: nonebot-plugin-githubmodels HOT 2
- Plugin: githubmodels HOT 4
- Plugin: nonebot-plugin-nailongremove HOT 4
- Plugin: nonebot-plugin-nailongremove HOT 2
- Plugin: weather-rank HOT 2
- Plugin: nonebot-plugin-nailongremove HOT 2
- Plugin: nonebot-plugin-nailongremove HOT 1
- Plugin: nonebot-plugin-brecreport HOT 7
- Plugin: NailongRemove HOT 8
- Plugin: nonebot-plugin-logstream HOT 3
- Plugin: nonebot-plugin-logstream HOT 1
- Plugin: SSE日志输出流 HOT 9
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.