📖 介绍
你好,世界
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-helloworld
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-helloworld
pdm
pdm add nonebot-plugin-helloworld
poetry
poetry add nonebot-plugin-helloworld
conda
conda install nonebot-plugin-helloworld
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_helloworld"]
🎉 使用
指令表
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|---|---|---|---|---|
| hello | 无 | 否 | 私聊/群聊 | world |
Release files for nonebot-plugin-helloworld 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nonebot-plugin-helloworld-0.2.0.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_helloworld-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.6 kB
Release files / nonebot-plugin-helloworld-0.2.0.tar.gz
| Download URL | nonebot-plugin-helloworld-0.2.0.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a08c684a5d51ce1865dc190c2bced2987a52159789a82e548414b4f1130436d
|
|
BLAKE2b-256 checksum How to use checksums |
709eb63f6d39d2ff11d2229b6c0a07c17d740368124cec7b3ed1fd0e4d0093f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.3
|
Release files / nonebot_plugin_helloworld-0.2.0-py3-none-any.whl
| Download URL | nonebot_plugin_helloworld-0.2.0-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1040e76a50fcb5d92b7649158c1a5f0551a71ac058e9cf882684e97ed167a9dc
|
|
BLAKE2b-256 checksum How to use checksums |
61883c9f1c7ab1c2468c4e4c3b4afa95dcb148a86a782d583050e99763f922f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.3
|