You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ImportError: cannot import name 'on_command' from 'app' (/home/runner/work/AxTBot-PluginStore/AxTBot-PluginStore/axtbot/src/app/__init__.py)
Traceback (most recent call last):
File "/home/runner/work/AxTBot-PluginStore/AxTBot-PluginStore/axtbot/../.github/scripts/verify_plugin.py", line 18, in <module>
mod = __import__(pkg)
^^^^^^^^^^^^^^^
File "/home/runner/work/AxTBot-PluginStore/AxTBot-PluginStore/axtbot/src/axtbot_plugin_atinfo/__init__.py", line 1, in <module>
from app import on_command
ImportError: cannot import name 'on_command' from 'app' (/home/runner/work/AxTBot-PluginStore/AxTBot-PluginStore/axtbot/src/app/__init__.py)
📋 完整运行日志
点击展开完整日志
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pip in /usr/lib/python3/dist-packages (24.0)
Collecting pip
Downloading pip-26.2.1-py3-none-any.whl.metadata (4.6 kB)
Downloading pip-26.2.1-py3-none-any.whl (1.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 14.0 MB/s eta 0:00:00
Installing collected packages: pip
Successfully installed pip-26.2.1
{
"name": "状态信息",
"pypi": "axtbot-plugin-atinfo",
"repo_owner": "AxT-Team",
"repo_name": "axtbot-plugin-atinfo",
"category": "工具",
"tags": "状态",
"description": "该插件为官方插件,通过'/atinfo' 获取当前机器人的在线时间、群聊/私聊收发消息数",
"tags_list": [
"状态"
],
"author": "AxT-Team",
"repo": "https://github.com/AxT-Team/axtbot-plugin-atinfo"
}
Cloning into 'plugin_repo'...
{
"name": "状态信息",
"version": "1.0.0",
"author": "Shanshui2024",
"description": "该插件通过'/atinfo' 获取当前机器人的在线时间、群聊/私聊收发消息数"
}
{
"name": "状态信息",
"version": "1.0.0",
"author": "AxT-Team",
"description": "该插件为官方插件,通过'/atinfo' 获取当前机器人的在线时间、群聊/私聊收发消息数",
"pypi": "axtbot-plugin-atinfo",
"pypi_url": "https://pypi.org/project/axtbot-plugin-atinfo/",
"official": false,
"category": "工具",
"tags": [
"状态"
],
"homepage": "https://github.com/AxT-Team/axtbot-plugin-atinfo",
"repo": "https://github.com/AxT-Team/axtbot-plugin-atinfo",
"updated_at": "2026-08-06T14:00:17Z"
}
Defaulting to user installation because normal site-packages is not writeable
Collecting axtbot-plugin-atinfo
Downloading axtbot_plugin_atinfo-1.0.0-py3-none-any.whl.metadata (1.3 kB)
Downloading axtbot_plugin_atinfo-1.0.0-py3-none-any.whl (3.0 kB)
Installing collected packages: axtbot-plugin-atinfo
Successfully installed axtbot-plugin-atinfo-1.0.0
Cloning into 'axtbot'...
{
"ok": false,
"error": "ImportError: cannot import name 'on_command' from 'app' (/home/runner/work/AxTBot-PluginStore/AxTBot-PluginStore/axtbot/src/app/__init__.py)\nTraceback (most recent call last):\n File \"/home/runner/work/AxTBot-PluginStore/AxTBot-PluginStore/axtbot/../.github/scripts/verify_plugin.py\", line 18, in <module>\n mod = __import__(pkg)\n ^^^^^^^^^^^^^^^\n File \"/home/runner/work/AxTBot-PluginStore/AxTBot-PluginStore/axtbot/src/axtbot_plugin_atinfo/__init__.py\", line 1, in <module>\n from app import on_command\nImportError: cannot import name 'on_command' from 'app' (/home/runner/work/AxTBot-PluginStore/AxTBot-PluginStore/axtbot/src/app/__init__.py)\n"
}
Activity
github-actions commentedon Aug 6, 2026
❌ 【自动】插件验证失败
📦 插件元数据
❌ 错误信息(Traceback)
📋 完整运行日志
点击展开完整日志
🟡 等待人工审核:维护者将通过评论
/approve(批准合并)或/reject(拒绝)。Shanshui2024 commentedon Aug 6, 2026
/approve
chore(assess): 合并插件 #3
github-actions commentedon Aug 6, 2026
✅ 已人工审核通过。元数据已合入
assess/,感谢贡献!