ohh my bot!
Reason this release was yanked:
不可用
Project description
NoneBot Plugin OMB
Ohh My Bot!
作用
在 onebot v11
和 nonebot-plugin-alconna
只响应 SUPERUSER
的消息
安装方式
依赖管理
pip install nonebot-plugin-omb
poetry add nonebot-plugin-omb
pdm add nonebot-plugin-omb
在
bot.py
中添加nonebot.load_plugin("nonebot_plugin_omb")
nb-cli
nb plugin install nonebot-plugin-omb
配置项
必要配置项
# 在 nonebot-plugin-alconna>=0.53.0 版本中, 务必配置
ALCONNA_RESPONSE_SELF=True
# 记得配置 SUPERUSERS
# 仅测试下面这种配置方式
SUPERUSERS=["xxxxxx"]
依赖项
python = "^3.9"
nonebot2 = "^2.3.0"
nonebot-adapter-onebot = "^2.1.0"
nonebot-plugin-alconna = { version = ">=0.53.0", optional = true }
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_omb-0.1.0.tar.gz
.
File metadata
- Download URL: nonebot_plugin_omb-0.1.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8dee853115ea3c03f8f25a4bbd0ad3c7b6d198a1628ddb78dbdd7652e4eda3fe |
|
MD5 | a9e27ed53d7692c96a91561eec0b12b9 |
|
BLAKE2b-256 | 3d802205981ec142c1b5be6ec1505cef94bddd3dd72ffd1ed8db83de4c16593e |
File details
Details for the file nonebot_plugin_omb-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: nonebot_plugin_omb-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db824910d9118d5f5938026317635d09773ad178adf0c80b68ceb8240517737a |
|
MD5 | 95ef0edc69fb3bd537587b98b9178615 |
|
BLAKE2b-256 | 718bff5d93a25ea2a8e8b7b3b246a0d30ec9d7a1885dd2beb2d104e71208c432 |