Skip to content

Commit

Permalink
🚰v0.2.3.3.1,优化帮助文本,又是水
Browse files Browse the repository at this point in the history
  • Loading branch information
Asankilp committed Oct 2, 2024
1 parent dbfbbbc commit 049ca92
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 14 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ _✨ 从哔哩哔哩会员购获取展览简易信息 ✨_

| 配置项 | 必填 | 默认值 | 说明 |
| :---------------: | :--: | :----: | :----------------------------------------------------------: |
| ACGNSHOW_PAGESIZE || 8 | 单个图片的条目数,最大为 20,条目数过大可能导致 Bot 无法发送 |
| ACGNSHOW_PAGESIZE || 10 | 单个图片的条目数,最大为 20,条目数过大可能导致 Bot 无法发送 |
| ACGNSHOW_BGIMAGE_PATH || 插件内置背景图 | 插件返回图片的背景图目录路径 |
| ACGNSHOW_SEND_SHOW_DETAILS_HTML || false | 是否发送展览的 HTML 详情信息图片(会员购的“活动介绍”栏目),实验性功能 |
| ACGNSHOW_SHOW_DETAILS_HTML_SCALE || 0.6 | HTML 详情信息图片的缩放比例,过大可能导致 Bot 无法发送 |
Expand Down
20 changes: 8 additions & 12 deletions nonebot_plugin_acgnshow/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,20 @@
from nonebot import get_driver
from .config import ConfigModel

usage = """命令格式:
展览 <地区> [页码]
<地区>展览 [页码]
获取指定地区的展览列表
usage = """用法:
展览 <地区> [页码] 或 <地区>展览 [页码] : 获取指定地区的展览列表
其中地区为省级行政区或地级行政区(不包含后缀)
(如北京,福建,平顶山,绍兴,香港...,或海外/全国)
展览详情 <ID>
获取指定展览ID的详细信息
展览详情 <ID> : 获取指定展览ID的详细信息
其中ID为展览列表处返回的ID
示例:
展览 福建 2
福建展览 2
全国展览
海外展览
展览详情 86827
- 展览 福建 2
- 福建展览 2
- 全国展览
- 海外展览
- 展览详情 86827
※数据来源于哔哩哔哩会员购,由于API返回结果与实际存在差异,数据可能不准确。"""
__author__ = "Asankilp"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "nonebot-plugin-acgnshow"
version = "0.2.3.3"
version = "0.2.3.3.1"
description = "Nonebot2插件,从哔哩哔哩会员购获取简易展览数据"
readme = "README.md"
requires-python = "<4.0,>=3.9"
Expand Down

0 comments on commit 049ca92

Please sign in to comment.