mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-acgnshow.git
synced 2024-11-30 09:04:50 +08:00
🐛v0.2.3.1,考虑id_bind为2的情况(???),添加可退票提示
This commit is contained in:
parent
eccba542ad
commit
945112d4c5
@ -1,6 +1,5 @@
|
||||
import traceback
|
||||
|
||||
from nonebot.typing import T_State
|
||||
from typing import Optional
|
||||
from .acgnapis import *
|
||||
from nonebot_plugin_htmlrender import template_to_pic, html_to_pic
|
||||
|
@ -39,8 +39,10 @@
|
||||
{% endmacro %}
|
||||
{% if show.is_refund == 0 %}
|
||||
{{ icon('no') }} 不可退
|
||||
{% else %}
|
||||
{{ icon('yes') }} 支持退
|
||||
{% endif %}
|
||||
{% if show.id_bind == 1 %}
|
||||
{% if show.id_bind >= 1 %}
|
||||
{{ icon('yes') }} 实名制
|
||||
{% endif %}
|
||||
{% if show.has_eticket %}
|
||||
|
@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "nonebot-plugin-acgnshow"
|
||||
version = "0.2.3"
|
||||
version = "0.2.3.1"
|
||||
description = "Nonebot2插件,从哔哩哔哩会员购获取简易展览数据"
|
||||
readme = "README.md"
|
||||
requires-python = "<4.0,>=3.9"
|
||||
|
Loading…
Reference in New Issue
Block a user