NoneBotNoneBot

NoneBot CLI

CLI for NoneBot 2

out of box

开箱即用

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

Installation
$ pipx install nb-cli
$ nb
d8b db .d88b. d8b db d88888b d8888b. .d88b. d888888b
888o 88 .8P Y8. 888o 88 88' 88 `8D .8P Y8. `~~88~~'
88V8o 88 88 88 88V8o 88 88ooooo 88oooY' 88 88 88
88 V8o88 88 88 88 V8o88 88~~~~~ 88~~~b. 88 88 88
88 V888 `8b d8' 88 V888 88. 88 8D `8b d8' 88
VP V8P `Y88P' VP V8P Y88888P Y8888P' `Y88P' YP
[?] What do you want to do?
❯ Create a NoneBot project.
Run the bot in current folder
Generate entry file of your bot
Manage bot plugins.
Manage bot adapters.
Manage bot driver.
...

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