mark9804/Adachi-BOT-fork

zao_bot

Closed this issue · 1 comments

输入:早上好/晚安
输出:

const replies = {
    good_morning: "早安,早上的状态会为一天奠定基调,就算仍有困意,也要强迫自己打起精神来!",
    already_woken: "我记得你今天已经起床过了,不会是刚才背着我偷偷跑去睡回笼觉了吧?",
    good_night: "辛苦了,祝你好梦。我吗?…嗯,还有十来件事要处理,做完就能休息了。",
    sleep_too_early: "才刚起床就睡觉?劳逸结合是不错,但也别放松过头!",
    not_woken_yet: "还没起床就睡觉??耽误太多时间,事情可就做不完了!"
  };

const ExampleMessage = `你今天已经清醒了${awakenHour}小时${awakenMinutes}分钟。${replies.good_night}`;

数据库结构:

{
  "user": [
    {
      "qqid": 123456789,
      "time": 1645855478105
    },
    {
      "qqid": 987654321,
      "time": 1645855806591
    }
  ]
}