mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-15 09:10:00 +08:00
🎨 修改早安时间
This commit is contained in:
@@ -62,7 +62,6 @@ def build_plugin_data(classify: dict[str, list[Item]]) -> list[dict[str, str]]:
|
|||||||
for menu, value in classify.items()
|
for menu, value in classify.items()
|
||||||
]
|
]
|
||||||
plugin_list = build_line_data(plugin_list)
|
plugin_list = build_line_data(plugin_list)
|
||||||
|
|
||||||
plugin_list.insert(
|
plugin_list.insert(
|
||||||
0,
|
0,
|
||||||
build_plugin_line(
|
build_plugin_line(
|
||||||
|
|||||||
@@ -34,8 +34,8 @@ async def check(bot: Bot, group_id: str) -> bool:
|
|||||||
# 早上好
|
# 早上好
|
||||||
@scheduler.scheduled_job(
|
@scheduler.scheduled_job(
|
||||||
"cron",
|
"cron",
|
||||||
hour=14,
|
hour=6,
|
||||||
minute=52,
|
minute=1,
|
||||||
)
|
)
|
||||||
async def _():
|
async def _():
|
||||||
message = MessageUtils.build_message(["早上好", IMAGE_PATH / "zhenxun" / "zao.jpg"])
|
message = MessageUtils.build_message(["早上好", IMAGE_PATH / "zhenxun" / "zao.jpg"])
|
||||||
|
|||||||
Reference in New Issue
Block a user