Nonebot2 HikariBot,支持战舰世界水表查询
Project description
HikariBot
战舰世界水表Bot,基于Nonebot2
水表人,出击!wws me recent!!!
如果觉得本插件还不错的话请点个Star哦~
Hoshino版插件
特点
- 账号总体、单船、近期战绩
- 全指令支持参数乱序
- 快速切换绑定账号
- 支持@快速查询
快速部署(作为独立bot)
-
执行下列两条命令安装nonebot2和hikari-bot插件
pip install nb-cli pip install hikari-bot
-
打开一个合适的文件夹,鼠标右键——Git Bash here,输入以下命令克隆本Hoshino仓库
git clone https://github.com/benx1n/HikariBot.git cd HikariBot
-
编辑.env.prod文件
API_TOKEN = xxxxxxxx #无需引号
-
运行bot
nb run
此时若没有报错,您可以打开http://127.0.0.1:8080/go-cqhttp/
点击左侧添加账号,重启bot即可在网页上看到相应信息(大概率需要扫码)
快速部署(作为插件)
- 如果您已经有了一个基于Nonebot2的机器人(例如真寻),您可以直接
pip install hikari-bot
- 在bot的bot.py中加入
nonebot.load_plugin('hikari-bot')
- 重启bot
更新
pip install --upgrade hikari-bot
cd HikariBot
git pull
感谢
开源协议
MIT
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
hikari-bot-0.1.1.tar.gz
(16.0 kB
view details)
Built Distribution
File details
Details for the file hikari-bot-0.1.1.tar.gz
.
File metadata
- Download URL: hikari-bot-0.1.1.tar.gz
- Upload date:
- Size: 16.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.4 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c65b6c37ec3e2e63929b682311b401c2e5d4014b0d0acfa5b4cda4025d443978 |
|
MD5 | 323ec1336bacf40862835322b062019f |
|
BLAKE2b-256 | aae9c84cf906cdb12aa52528a5201ea6d297ffc2bdc5b2425a31be2ff0ca75a4 |
Provenance
File details
Details for the file hikari_bot-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: hikari_bot-0.1.1-py3-none-any.whl
- Upload date:
- Size: 20.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.4 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1631a5208272add97e5842efed8c4f52d7943fe2fa232a373eabc36c132e5df |
|
MD5 | 6856a5b38898169c325efcd69d4c8f89 |
|
BLAKE2b-256 | 378396b979689e5f3e2695262d44458eabc197a534610e0a8286f47b4945bfa6 |