Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
HuaWaterED opened this issue Oct 11, 2023 · 5 comments
Labels
t:feature 类型: 新特性

Comments

@HuaWaterED
Copy link

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

@HuaWaterED HuaWaterED added the t:feature 类型: 新特性 label Oct 11, 2023
@MrXiaoM
Copy link
Contributor

MrXiaoM commented Oct 11, 2023

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

@HuaWaterED
Copy link
Author

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

@dragon0629
Copy link

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

@landall
Copy link

landall commented Dec 1, 2023

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

@MrY-Cat
Copy link
Contributor

MrY-Cat commented Dec 26, 2023

可以自己写)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t:feature 类型: 新特性
Projects
None yet
Development

No branches or pull requests

5 participants