Merge pull request #1119 from nagisa77/codex/update-lottery-time-from-23-to-15

Adjust coffee bot draw schedule
This commit is contained in:
Tim
2025-10-28 18:58:05 +08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ name: Coffee Bot
on:
schedule:
- cron: "0 1 * * *"
- cron: "0 1 * * 1-5"
workflow_dispatch:
jobs:

View File

@@ -22,7 +22,7 @@ class CoffeeBot extends BotFather {
const now = new Date(Date.now() + 8 * 60 * 60 * 1000);
const weekday = WEEKDAY_NAMES[now.getDay()];
const drawTime = new Date(now);
drawTime.setHours(23, 0, 0, 0);
drawTime.setHours(15, 0, 0, 0);
return `
请立即在 https://www.open-isle.com 使用 create_post 发表一篇帖子,遵循以下要求: