See More

A very common reason is a wrong site baseUrl configuration.\n

Current configured baseUrl = / (default value)\n

We suggest trying baseUrl = \n\n',document.body.prepend(n);var e=document.getElementById("__docusaurus-base-url-issue-banner-suggestion-container"),s=window.location.pathname;e.innerHTML="/"===s.substr(-1)?s:s+"/"}

Skip to main content

NoneBot CLI

CLI for NoneBot 2

out of box

开箱即用

使用 NB-CLI 快速构建属于你的机器人

Installation
$ pipx install nb-cli
$ nb
[?] What do you want to do?
❯ Create a NoneBot project.
Run the bot in current folder.
Manage bot driver.
Manage bot adapters.
Manage bot plugins.
...

plugin system

插件系统

支持插件和执行脚本

[project.entry-points.nb]
plugin_name = "cli_plugin.plugin:install"
[project.entry-points.nb_scripts]
foo = "awesome_bot.module:function"

i18n support

跨语言支持

支持多种语言,自动识别系统语言

[?] 你想要进行什么操作?
❯ 创建一个 NoneBot 项目.
管理 bot 插件.
管理 bot 适配器.
管理 bot 驱动器.