Giter Club home page Giter Club logo

amiyabot-timer-plugin's Introduction

amiyabot-timer-plugin

Amiyabot插件,通过修改群名片的方式进行事件的倒计时提醒。

用法

  • [管理员指令] 兔兔开启提醒
  • [管理员指令] 兔兔关闭提醒
  • [管理员指令] 兔兔刷新提醒
  • [超级管理员指令] 兔兔添加提醒 {提醒名} {时间}
  • [超级管理员指令] 兔兔删除提醒 {提醒名}

配置

控制台 >> 插件管理 >> 插件配置

  1. 本插件依赖【明日方舟数据解析】插件,且需要及时更新游戏数据才能保证准时提醒
  2. 仅支持LLOnebot
  3. 活动部分支持提醒活动开始、活动结束、活动奖励兑换结束
  4. 自定义提醒时间解析规则如下:
  1. 限定时间的:若没有限定某个时间单位,则会自动尝试该上一级时间单位的下一个数值。
  2. 未限定时间的:时间部分默认限定为16:00,然后按限定时间的解析规则解析。

eg:

# 此时为 2024年3月6日01:00, 以下为发送的时间字符串、说明和对应的解析结果
"2024-03-07 16:00"  # 完全限定时间 # 2024-03-07 16:00:00
"03-07 16:00"  # 不限定年份,当年 # 2024-03-07 16:00:00
"03-05 16:00"  # 不限定年份,次年 # 2025-03-05 16:00:00
"07 16:00"  # 不限定年份和月份,当月 # 2024-03-07 16:00:00
"05 16:00"  # 不限定年份和月份,次月 # 2024-04-05 16:00:00
"16:00"  # 仅限定时间,当天 # 2024-03-06 16:00:00
"00:00"  # 仅限定时间,次天 # 2024-03-07 00:00:00
"03-07"  # 不限定年份与时间,当年,16:00 # 2024-03-07 16:00:00
"03-05"  # 不限定年份与时间,次年,16:00 # 2025-03-05 16:00:00
"07"  # 不限定年份和月份,当月,16:00 # 2024-03-07 16:00:00
"05"  # 不限定年份和月份,次月,16:00 # 2024-04-05 16:00:00

amiyabot-timer-plugin's People

Contributors

evative7 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.