Feature:希望在控制台增加一个"控制是否显示警告消息"的开关
- Dominant language
- TypeScript
- Stars
- 4
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the problem related to the feature request
**### 我对新版koishi集成了rate-limit功能非常非常的高兴。**
**但是,我使用rate-limit的绝大部分原因是**为了防止在聊天平台有人恶意刷屏**,因此我提交这个issue希望开发者添加一个
"控制是否显示警告消息"的开关集成在koishi控制台中。**
在使用rate-limit对"jrrp"命令的调用中,可以发现,rate-limit虽然的确阻止了jrrp信息的发出,但是**却仍然发送了警告消息**_(如图)_,**且发送不止一次**。

这对于原本想要**防止刷屏**的我来讲实际上这个"rate-limit"却失去了它使用的价值。
### Describe the solution you'd like
我希望开发者能腾出一点点时间给rate-limit_添加一个_:
**"是否显示警告消息"**
的开关在koishi的控制台中,**让rate-limit不发送这类警告消息,不发送已限制的命令的任何消息到聊天平台中。**
### Describe alternatives you've considered
如果可以,希望开发者可以**再费一点点小心思**,把问题解决的更完美一点:
可以添加一个:
**"仅发送一次(或多次,可设置)警告消息"的开关或者添加项。**
这样一方面**可以让发送消息的用户意识到聊天冷却**,**另一方面也防止用户认为koishi没有反应而进一步刷屏**。
### Additional context
截图中举例使用的插件:
插件市场:koishi-plugin-jrrp
Github:https://github.com/idlist/koishi-plugin-jrrp#readme
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the rate-limit plugin and its Koishi console configuration entry point; the issue names no repository files or tests. Reproduce the jrrp rate-limit behavior, then define whether completion means suppressing warnings entirely or also supporting a configurable warning count, with the selected setting preventing unwanted messages on the chat platform.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- full-stack
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100