Giter Club home page Giter Club logo

Comments (3)

GreyElaina avatar GreyElaina commented on August 16, 2024

没有, 考虑到 mirai-console 未来的发展趋势, 我不会做这个功能

其实要做也简单, 使用监听器层面的参数解析器注入就可以了, 不过没必要

from application.

SK-415 avatar SK-415 commented on August 16, 2024

不太清楚未来的发展趋势指的什么。我是想把我在nonebot上做的哔哩哔哩开播提醒和动态转发的机器人移植过来。因为一个QQ账号每天@全体有上限,同时B站api每分钟抓取次数少得可怜。为了节省api调用次数和服务器性能开支,我一直都是一个脚本连多个机器人在不同的群推送这样的形式。

对我来说最重要的两个功能就是 scheduler 和同时连多个bot。看到 #11 提到未来会有定时任务非常高兴,介于本人技术力低下,如果大佬不愿意做多连,我也只能用些非常简单粗暴的方法实现(一个bot负责获取,其他的转发它的消息……)

from application.

GreyElaina avatar GreyElaina commented on August 16, 2024

看到 #11 提到未来会有定时任务非常高兴

你现在就可以实现:

async def always_running_fetch():
    if is_it_time():
        # 你的send.

loop.create_task(always_running_fetch())

app.launch_blocking()

from application.

Related Issues (20)

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.