NoneBot2 Hello World
Project description
📖 介绍
你好,世界
💿 安装
使用 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 |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nonebot-plugin-helloworld-0.2.0.tar.gz
.
File metadata
- Download URL: nonebot-plugin-helloworld-0.2.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a08c684a5d51ce1865dc190c2bced2987a52159789a82e548414b4f1130436d |
|
MD5 | 74ed8218d1bba1eafd54c75c882f902f |
|
BLAKE2b-256 | 709eb63f6d39d2ff11d2229b6c0a07c17d740368124cec7b3ed1fd0e4d0093f9 |
File details
Details for the file nonebot_plugin_helloworld-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: nonebot_plugin_helloworld-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1040e76a50fcb5d92b7649158c1a5f0551a71ac058e9cf882684e97ed167a9dc |
|
MD5 | 2e9e66932efa9e6b046bbab425c5573d |
|
BLAKE2b-256 | 61883c9f1c7ab1c2468c4e4c3b4afa95dcb148a86a782d583050e99763f922f0 |