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 驱动器.