mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
🐛 版本锁定
This commit is contained in:
parent
e37f1c6165
commit
0074483280
1613
poetry.lock
generated
1613
poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@ -25,6 +25,7 @@ ujson = "^5.9.0"
|
|||||||
nonebot-adapter-kaiheila = "^0.3.0"
|
nonebot-adapter-kaiheila = "^0.3.0"
|
||||||
nb-cli = "^1.3.0"
|
nb-cli = "^1.3.0"
|
||||||
nonebot2 = "^2.1.3"
|
nonebot2 = "^2.1.3"
|
||||||
|
pydantic = "1.10.18"
|
||||||
nonebot-adapter-discord = "^0.1.3"
|
nonebot-adapter-discord = "^0.1.3"
|
||||||
nonebot-adapter-dodo = "^0.1.4"
|
nonebot-adapter-dodo = "^0.1.4"
|
||||||
pillow = "9.5"
|
pillow = "9.5"
|
||||||
@ -46,7 +47,7 @@ dateparser = "^1.2.0"
|
|||||||
bilireq = "0.2.3post0"
|
bilireq = "0.2.3post0"
|
||||||
python-jose = { extras = ["cryptography"], version = "^3.3.0" }
|
python-jose = { extras = ["cryptography"], version = "^3.3.0" }
|
||||||
python-multipart = "^0.0.9"
|
python-multipart = "^0.0.9"
|
||||||
nonebot-plugin-alconna = "^0.51.1"
|
nonebot-plugin-alconna = "0.51.1"
|
||||||
|
|
||||||
[tool.poetry.dev-dependencies]
|
[tool.poetry.dev-dependencies]
|
||||||
nonebug = "^0.3.2"
|
nonebug = "^0.3.2"
|
||||||
|
|||||||
@ -1,22 +1,21 @@
|
|||||||
from nonebot.plugin import PluginMetadata
|
from nonebot.plugin import PluginMetadata
|
||||||
|
from nonebot_plugin_session import EventSession
|
||||||
|
from nonebot_plugin_apscheduler import scheduler
|
||||||
from nonebot_plugin_alconna import (
|
from nonebot_plugin_alconna import (
|
||||||
Alconna,
|
|
||||||
Args,
|
Args,
|
||||||
Arparma,
|
|
||||||
Option,
|
Option,
|
||||||
|
Alconna,
|
||||||
|
Arparma,
|
||||||
on_alconna,
|
on_alconna,
|
||||||
store_true,
|
store_true,
|
||||||
)
|
)
|
||||||
from nonebot_plugin_apscheduler import scheduler
|
|
||||||
from nonebot_plugin_session import EventSession
|
|
||||||
|
|
||||||
from zhenxun.configs.utils import PluginCdBlock, PluginExtraData, RegisterConfig
|
|
||||||
from zhenxun.services.log import logger
|
from zhenxun.services.log import logger
|
||||||
from zhenxun.utils.depends import UserName
|
from zhenxun.utils.depends import UserName
|
||||||
from zhenxun.utils.message import MessageUtils
|
from zhenxun.utils.message import MessageUtils
|
||||||
|
from zhenxun.configs.utils import PluginCdBlock, RegisterConfig, PluginExtraData
|
||||||
|
|
||||||
from ._data_source import SignManage
|
from ._data_source import SignManage
|
||||||
from .goods_register import driver
|
|
||||||
from .utils import clear_sign_data_pic
|
from .utils import clear_sign_data_pic
|
||||||
|
|
||||||
__plugin_meta__ = PluginMetadata(
|
__plugin_meta__ = PluginMetadata(
|
||||||
@ -91,7 +90,6 @@ _sign_matcher = on_alconna(
|
|||||||
Option(
|
Option(
|
||||||
"-l|--list",
|
"-l|--list",
|
||||||
Args["num", int, 10],
|
Args["num", int, 10],
|
||||||
action=store_true,
|
|
||||||
help_text="好感度排行",
|
help_text="好感度排行",
|
||||||
),
|
),
|
||||||
Option("-g|--global", action=store_true, help_text="全局排行"),
|
Option("-g|--global", action=store_true, help_text="全局排行"),
|
||||||
@ -165,4 +163,4 @@ async def _():
|
|||||||
clear_sign_data_pic()
|
clear_sign_data_pic()
|
||||||
logger.info("清理日常签到图片数据数据完成...", "签到")
|
logger.info("清理日常签到图片数据数据完成...", "签到")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(f"清理日常签到图片数据数据失败...", e=e)
|
logger.error("清理日常签到图片数据数据失败...", e=e)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user