Discord Webhook 限制
根据 2024.8.20 的 Discord 官方回复,目前 webhook 存在如下限制:
- 每个 Webhook 最多可以每 2 秒发送 5 个请求
- 每 2 秒最多创建或删除 5 次 Webhook
- 每个频道每分钟最多发送 30 次请求
如果你的消息量超过了官方的限制,那么你很有可能会触发 rate limit 限制,从而导致无法正常发送消息
以下为官方回复原文:
I just heard back from the team and the rate limit on webhooks is 5 requests every two seconds per webhook ID. This limit is also applied to webhook creation and deletion. Moreover, there is a limit of 30 requests per minute per channel.