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

用户菜单操作和输入限流 #44

Open
flynncao opened this issue Feb 11, 2025 · 0 comments
Open

用户菜单操作和输入限流 #44

flynncao opened this issue Feb 11, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@flynncao
Copy link
Owner

用户的网络环境和操作习惯可能会导致点击菜单或者输入多次,这会导致意想不到的错误,

例如:

Image

源自在输入/create 之后输入了两次${bangumiID}, ${threadID}组合从而导致query串出现不应该出现的模式。

除了施加更严格的输入匹配外,也可以考虑增加操作延迟(这在一般的captcha bot中也很常见),例如固定延迟或等待telegram api返回。

@flynncao flynncao added the enhancement New feature or request label Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant