NCBM / nonediag

NoneBot2 error diagnosing tool.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nonediag

NoneBot2 error diagnosing tool.

NoneBot2 错误诊断工具。

Supported Function | 支持功能

nonediag 目前支持以下类型的错误诊断:

  • 模块/适配器缺失
  • Python 版本不适配
  • 错误导入抽象基类
  • bot.py 手动导入检查及重复导入
  • nonebot.exportnonebot.params.State 检查
  • 端口占用提示

Installation | 安装

在 bot 环境中安装 nonediag

pip install nonediag

Usage | 使用

  1. 在命令行中输入下列指令:

    cd /path/to/bot
    nonediag
  2. 输入你的错误信息;

  3. 输入完成后敲入 3-4 个换行即可。

About

NoneBot2 error diagnosing tool.

License:MIT License


Languages

Language:Python 100.0%