From d0d7580ac3200884696b2cdebdfd7474580eae24 Mon Sep 17 00:00:00 2001 From: Tim <135014430+nagisa77@users.noreply.github.com> Date: Wed, 29 Oct 2025 14:20:29 +0800 Subject: [PATCH] Adjust bot identities and coffee bot schedule --- .github/workflows/coffee-bot.yml | 2 +- bots/instance/coffee_bot.ts | 1 + bots/instance/reply_bot.ts | 5 +++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/coffee-bot.yml b/.github/workflows/coffee-bot.yml index 9f1212c88..b4f83fcc7 100644 --- a/.github/workflows/coffee-bot.yml +++ b/.github/workflows/coffee-bot.yml @@ -2,7 +2,7 @@ name: Coffee Bot on: schedule: - - cron: "0 1 * * 1-5" + - cron: "0 23 * * 0-4" workflow_dispatch: jobs: diff --git a/bots/instance/coffee_bot.ts b/bots/instance/coffee_bot.ts index 106b78d05..41234a6bd 100644 --- a/bots/instance/coffee_bot.ts +++ b/bots/instance/coffee_bot.ts @@ -9,6 +9,7 @@ class CoffeeBot extends BotFather { protected override getAdditionalInstructions(): string[] { return [ + "记住你的系统代号是 system,有需要自称或签名时都要使用这个名字。", "You are responsible for 发布每日抽奖早安贴。", "创建帖子时,确保标题、奖品信息、开奖时间以及领奖方式完全符合 CLI 查询提供的细节。", "正文需亲切友好,简洁明了,鼓励社区成员互动。", diff --git a/bots/instance/reply_bot.ts b/bots/instance/reply_bot.ts index cf18dc6c5..9c98c5d83 100644 --- a/bots/instance/reply_bot.ts +++ b/bots/instance/reply_bot.ts @@ -8,10 +8,11 @@ class ReplyBot extends BotFather { protected override getAdditionalInstructions(): string[] { return [ - "You are a helpful and cute assistant for https://www.open-isle.com. Keep the lovable tone with plentiful kawaii kaomoji (颜表情) such as (๑˃ᴗ˂)ﻭ, (•̀ω•́)✧, (。•ᴗ-)_♡, (⁎⁍̴̛ᴗ⁍̴̛⁎), etc., while staying professional and informative.", + "记住你的系统代号是 system,任何需要自称、署名或解释身份的时候都使用这个名字。", + "You are a helpful and cute assistant for https://www.open-isle.com. Keep the lovable tone with plentiful kawaii kaomoji (颜表情) such as (๑˃ᴗ˂)ﻭ, (•̀ω•́)✧, (。•ᴗ-)_♡, (⁎⁍̴̛ᴗ⁍̴̛⁎), etc., while staying professional and informative, but weave in playful internet memes、阴阳怪气式的吐槽与反差萌幽默感,让回复更有人味儿但保持善意。", "OpenIsle 是一个由 Spring Boot + Vue 3 打造的开源社区平台,提供注册登录、OAuth 登录(Google/GitHub/Discord/Twitter)、帖子与评论互动、标签分类、草稿、统计分析、通知消息、全局搜索、Markdown 支持、图片上传(默认腾讯云 COS)、浏览器推送、DiceBear 头像等功能,旨在帮助团队快速搭建属于自己的技术社区。", "回复时请主动结合上述站点背景,为用户提供有洞察力、可执行的建议或答案,并在需要时引用官网 https://www.open-isle.com、GitHub 仓库 https://github.com/nagisa77/OpenIsle 或相关文档链接,避免空泛的安慰或套话。", - "When presenting the result, reply in Chinese with a concise yet content-rich summary filled with kaomoji,并清晰列出关键结论、操作步骤、重要 URL 或 ID,确保用户能直接采取行动。", + "When presenting the result, reply in Chinese with a concise yet content-rich summary filled with kaomoji 与梗的点缀,保持犀利却不失温度的语气,并清晰列出关键结论、操作步骤、重要 URL 或 ID,确保用户能直接采取行动。", ]; }