Coder Social home page Coder Social logo

starwishsama / comet-bot Goto Github PK

View Code? Open in Web Editor NEW
190.0 5.0 20.0 40.48 MB

☄ 支持多 IM 平台的机器人

License: MIT License

Kotlin 99.76% Shell 0.16% Dockerfile 0.09%
saucenao arknights qqbot qq-bot mirai mirai-bot mirai-plugin bilibili rcon kotlin

comet-bot's Issues

Mirai Edition TODO 列表

  • 以图搜图
  • 优化抽卡模拟器体验 (井机制, 舟游50连恰保底)
  • 优化交互体验, 加入命令帮助菜单方便使用
  • 关键词禁言系统, 支持正则表达式
  • 命令权限系统 (Mirai side)
  • 强制注册机器人账号 (Mirai side)
  • 使用 LocalDateTime API 统一时间
  • 宠物系统
  • 类蚂蚁庄园养花
  • BiliBili 直播推送

点歌系统

利用 [CQ:music] 的 CQ 码实现多平台点歌功能

  • 在 JCQ 上利用 CC.music 方法实现分享音乐
  • 在 HTTP-API 上利用标准 CQ 码实现多平台分享音乐
  • 一个获取音乐 ID 的方法, 参数为 songName
  • 是否测试

连续签到 Daily Check-in

目前的连续签到此处应该只是累计签到次数?
实现思路:

  • Compare LastCheckinTime with current Time.
  • If this day is the next day of LastCheckInTime, how many times ++ ; else, turn it to 1.
  • The point could be multiplied by a certain coefficient (CumP). For example. assume a player should get 5 pts for today's check-in, who have checked in for 5 days.
    We may set a DailyP = 0.1, and CumP = 1 + DailyP * (Days - 1) = 1 + 0.1 * (5-1) = 1.4.
    Consequently the player can get 5 * 1.4 = 7 pts.
  • However, the player should not get too much award for continuous check-in. We may limit the CumP up to 3 (that is 20 days) — this could be adjusted whatever.

关键词禁言系统

自定义关键词禁言群友的系统, 支持正则表达式

  • 实现功能
  • 测试

公共命令冷却

  • hasCoolDown 方法判断是否在冷却中
  • 可自定义的冷却时间
  • HashMap<Long, Date> 储存冷却时间信息
  • Timer 自动取消冷却状态 (异步?)
  • 是否测试

调试模式

在调试模式下对有权限的用户输出调试信息

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.