-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
cqhttp能设置个延时回复吗 #2495
Labels
Comments
用随机数和休眠自己写一个随机延时就好了 |
这个我会写,问题是不知道加在哪里,在cqhttp哪里添加这个
发自我的iPhone
…------------------ 原始邮件 ------------------
发件人: LengYue12138 ***@***.***>
发送时间: 2023年11月16日 17:08
收件人: Mrs4s/go-cqhttp ***@***.***>
抄送: q-sue ***@***.***>, Author ***@***.***>
主题: Re: [Mrs4s/go-cqhttp] cqhttp能设置个延时回复吗 (Issue #2495)
用随机数和休眠自己写一个随机延时就好了
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
加到发送消息的方法里面,每次发消息前休眠一段随机时间 |
自己代码上加上延迟 |
这样操作的话,建议别直接写在路由绑定的那个函数里面,因为http请求response还是第一时间返回去比较好,可以用 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
发现机器人回复太快会封号,有办法加个随机延时吗
The text was updated successfully, but these errors were encountered: