Coder Social home page Coder Social logo

starwishsama / comet-bot Goto Github PK

View Code? Open in Web Editor NEW
192.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 projectsekai telegram-bot pjsk

comet-bot's Introduction

彗星 Bot (Comet)

项目名来源于 星街彗星

本项目处于开发阶段, 且所有配置文件模板并不稳定, 并伴随可能的破坏性更改, 请谨慎使用

Telegram Bot 实例: @CometIsNotBot

Demo/交流群:725656262

一切开发旨在学习,请勿用于非法用途

Issues Stars Release Wiki

🎉 它能干什么?

  • 签到
  • Project Sekai: Colorful Stage!
    • 当期活动 pt 预测
    • 查询当前活动 pt
    • 查询玩家信息
    • 查询玩家段位
    • 查询音乐谱面
    • 查询音乐信息
  • 能不能好好说话 - 缩写查询
  • 哔哩哔哩视频/UP主/动态查询
  • 推特推文/用户信息查询
  • Bangumi 番剧查询
  • 番剧放送表查询
  • 工具
    • 查询世界时间
    • 查询 IP 地址归属信息
  • Arcaea
    • 查询自己的 ptt 及近期游玩信息
    • 查询 Best 30 曲目
  • Apex Legends
    • 查询玩家信息
  • Minecraft
    • 查询服务器信息
    • rcon [todo]
  • RSS 订阅系统
  • 以图搜图

☑ To-Do 列表

详见 Issues

💽 如何使用

查看 Wiki 开始使用 Comet

📜 协议

一切开发旨在学习,请勿用于非法用途

本项目使用 MIT 协议

comet-mirai-wrapper 使用 AGPL v3 协议, 在使用此子项目代码时必须遵守.


Copyright (c) StarWishsama

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

🔈 鸣谢

IntelliJ IDEA 是一个功能强大、符合人体工程学且智能的 IDE, 适用于 JVM 平台语言的开发.

特别感谢 JetBrains 为开源项目提供免费的 IntelliJ IDEA 等 IDE 的授权

comet-bot's People

Contributors

colerar avatar dependabot[bot] avatar renovate[bot] avatar starwishsama avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

comet-bot's Issues

调试模式

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

点歌系统

利用 [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.

Mirai Edition TODO 列表

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

公共命令冷却

  • 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.