一个从 hoshino 搬过来的 nonebot2 插件
Project description
📖 介绍
一个从 hoshino 抄借鉴的 nonebot2 签到插件
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-hoshino-sign
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-hoshino-sign
pdm
pdm add nonebot-plugin-hoshino-sign
poetry
poetry add nonebot-plugin-hoshino-sign
conda
conda install nonebot-plugin-hoshino-sign
打开 nonebot2 项目根目录下的 pyproject.toml
文件, 在 [tool.nonebot]
部分追加写入
plugins = ["nonebot_plugin_hoshino_sign"]
⚙️ 配置
在 nonebot2 项目的.env
文件中添加下表中的必填配置
配置项 | 必填 | 默认值 | 说明 |
---|---|---|---|
NICKNAME | 是 | 脑积水 | 正经人一般都填了叭 |
安装后不含资源文件,手动下载或克隆本仓库,将 image
和 stamp
两个目录以及 arial.ttf
字体放到插件目录下。
安装后不含资源文件,手动下载或克隆本仓库,将 image
和 stamp
两个目录以及 arial.ttf
字体放到插件目录下。
安装后不含资源文件,手动下载或克隆本仓库,将 image
和 stamp
两个目录以及 arial.ttf
字体放到插件目录下。
🎉 使用
指令表
指令 | 权限 | 需要@ | 范围 | 说明 |
---|---|---|---|---|
签到/盖章/妈! | 所有人 | 否 | 群聊、私聊、频道 | 签到(获得好感和 pcr 的印章) |
收集册(+QQ号/艾特) | 所有人 | 否 | 群聊、私聊、频道 | 查看自己或他人的收集进度 |
效果图
(来自原作者的话) ↓↓↓
红的是已经收集到的,灰的是没收集的
有群排行(卷,都可以卷)
素材来源:
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
Close
Hashes for nonebot_plugin_hoshino_sign-2.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8df740a7dce1e36bc8763aa9429ac6c73c8cda610f2755a4efc5079917d431ad |
|
MD5 | 267e22783ef6c7a6544471650337da1d |
|
BLAKE2b-256 | 9aed8e81c39e136dddb41a96fa6695da562abd233c9960b60a036988efc5aafb |