Giter Site home page Giter Site logo

能不能尝试出一个消息频率限制?比如收到消息后随机等5-30秒后再回复,这层限制能否直接加载mirai上并且提供可配置的文件?就是如果有其他插件直接调用mirai的发消息,也可以有限制这个样子的。 因为我这边的情况是,消息回复速度过快,或者说几乎一瞬间发送很多条消息,会直接导致被冻结账号 about mirai HOT 5 OPEN

HuaWaterED avatar HuaWaterED commented on June 16, 2024
能不能尝试出一个消息频率限制?比如收到消息后随机等5-30秒后再回复,这层限制能否直接加载mirai上并且提供可配置的文件?就是如果有其他插件直接调用mirai的发消息,也可以有限制这个样子的。 因为我这边的情况是,消息回复速度过快,或者说几乎一瞬间发送很多条消息,会直接导致被冻结账号

from mirai.

Comments (5)

landall avatar landall commented on June 16, 2024 1

这个不是应该你业务层控制的东西么?

from mirai.

MrXiaoM avatar MrXiaoM commented on June 16, 2024

有消息预发送事件,这个功能可以用插件来实现

from mirai.

HuaWaterED avatar HuaWaterED commented on June 16, 2024

不好意思,刚刚才反应过来,我删除了刚刚的回复

from mirai.

dragon0629 avatar dragon0629 commented on June 16, 2024

他意思应该是别人写的插件无法控制
加载其他的插件一瞬间回复的意思
希望有个全局开关设置。

from mirai.

MrY-Cat avatar MrY-Cat commented on June 16, 2024

可以自己写)

from mirai.

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.