Skip to content

Commit

Permalink
Update plan.py
Browse files Browse the repository at this point in the history
属性名更改,使用全小写以符合规范
  • Loading branch information
SaYa-t authored Dec 2, 2023
1 parent c41e5d1 commit 25ef965
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nonebot_plugin_mystool/plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ async def perform_bbs_sign(user: UserData, user_ids: Iterable[str], matcher: Mat
class_type: Type[BaseMission]
mission_obj: BaseMission = class_type(account)
if matcher:
await matcher.send(f'🆔账户 {account.bbs_uid} ⏳开始在分区『{class_type.NAME}』执行米游币任务...')
await matcher.send(f'🆔账户 {account.bbs_uid} ⏳开始在分区『{class_type.name}』执行米游币任务...')

# 执行任务
sign_status, read_status, like_status, share_status = (
Expand All @@ -353,7 +353,7 @@ async def perform_bbs_sign(user: UserData, user_ids: Iterable[str], matcher: Mat

if matcher:
await matcher.send(
f"🆔账户 {account.bbs_uid} 🎮『{class_type.NAME}』米游币任务执行情况:\n"
f"🆔账户 {account.bbs_uid} 🎮『{class_type.name}』米游币任务执行情况:\n"
f"📅签到:{'✓' if sign_status else '✕'} +{sign_points or '0'} 米游币🪙\n"
f"📰阅读:{'✓' if read_status else '✕'}\n"
f"❤️点赞:{'✓' if like_status else '✕'}\n"
Expand Down

0 comments on commit 25ef965

Please sign in to comment.