你甚至可以电子钓鱼
Project description
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-fishing
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-fishing
pdm
pdm add nonebot-plugin-fishing
poetry
poetry add nonebot-plugin-fishing
conda
conda install nonebot-plugin-fishing
打开 nonebot2 项目根目录下的 pyproject.toml
文件, 在 [tool.nonebot]
部分追加写入
plugins = ["nonebot_plugin_fishing"]
⚙️ 配置
在 nonebot2 项目的.env
文件中添加下表中的必填配置
配置项 | 必填 | 说明 |
---|---|---|
fishes | 否 | 使用(名称, 等待时间, 权重) 的格式配置 |
fishing_limit | 否 | 填入每次钓鱼后,限制钓鱼的秒数 |
🎉 使用
指令表
指令 | 权限 | 需要@ | 范围 | 说明 |
---|---|---|---|---|
钓鱼 | 群员 | 否 | 群聊/私聊 | 放下鱼竿 |
统计信息 | 群员 | 否 | 群聊/私聊 | 查看钓鱼次数 |
背包 | 群员 | 否 | 群聊/私聊 | 查看背包 |
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
Close
Hashes for nonebot-plugin-fishing-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92bbc5344aa0f8bb46ca6a2e0817f72e6eaa26c33b84ed9864d04bd1a5b4a7e7 |
|
MD5 | a5ce1fdc6fb9bdc84e47ff00ca9a9383 |
|
BLAKE2b-256 | 538944134d39c9d4d8105e60f4dd794ceee0b23af039748abc05dc6406cecdde |
Close
Hashes for nonebot_plugin_fishing-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1a1e66b55ffabf443a3d0a565c5620e195f9fcf898c4bb44541e9851c65f31b |
|
MD5 | 35c47f68e40a1b4130f842ee898b6e88 |
|
BLAKE2b-256 | f3575db5471f77f3551188371f076754a4744eb18141ff4b9479a81a0817e4e0 |