Skip to content

Commit

Permalink
feat: 新增活动周期的提示
Browse files Browse the repository at this point in the history
  • Loading branch information
fzls committed Nov 7, 2024
1 parent 8e53fa1 commit a57e1e4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
7 changes: 3 additions & 4 deletions notice.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,9 @@ def main():
nm = NoticeManager(load_from_remote=False)

# note: 在这里添加公告
title = "24.9 请假通知"
message = """9.12-9.14去外地出差了,14号晚上回家,不一定有空添加新的蚊子腿,各位朋友12/13这两天请先自行点一下网页活动
可以参考colg的活动整合帖
title = "24.11 活动周期提示"
message = """前几天大家可能有看到版本可能太老的提示弹窗,不要担心,这个就是最新版本,也不用担心跑路了。其实是因为自从9.12国庆版本以来,暂时都没有新的活动,所以小助手没有发布任何新版本。
根据往年的经验,下次活动很可能是嘉年华,大约会在11.27左右,请耐心等候下~
"""
open_url = ""
show_only_before_version = ""
Expand Down
10 changes: 10 additions & 0 deletions utils/notices.txt
Original file line number Diff line number Diff line change
Expand Up @@ -398,5 +398,15 @@
"open_url": "",
"expire_at": "2024-09-19 21:36:38",
"show_only_before_version": ""
},
{
"sender": "风之凌殇",
"title": "24.11 活动周期提示",
"message": "前几天大家可能有看到版本可能太老的提示弹窗,不要担心,这个就是最新版本,也不用担心跑路了。其实是因为自从9.12国庆版本以来,暂时都没有新的活动,所以小助手没有发布任何新版本。\n根据往年的经验,下次活动很可能是嘉年华,大约会在11.27左右,请耐心等候下~\n",
"send_at": "2024-11-07 20:33:56",
"show_type": "once",
"open_url": "",
"expire_at": "2024-11-14 20:33:56",
"show_only_before_version": ""
}
]

0 comments on commit a57e1e4

Please sign in to comment.