discord-api-docs icon indicating copy to clipboard operation
discord-api-docs copied to clipboard

GET guilds/../webhooks 504ing

Open Jupith opened this issue 1 year ago • 1 comments

Description

If a guild has a few webhooks trying to retrive them all will endup with the request timing out.

Solution

Add a guild limit of like 1k and bump up per channel limits to 25 per type as followed channel hooks sharing the same limit as ordinary just makes no sense

Steps to Reproduce

Try to fetch a guilds webhooks where there are a few channels with lots of webhooks

Expected Behavior

The guild has a limit on the total amount of webhooks allows so this situation is not possible.

Current Behavior

A single guild can have 5000~ webhooks which is just insane lol.

Screenshots/Videos

No response

Client and System Information

N/A

Jupith avatar Aug 05 '22 23:08 Jupith

😃😃😃

ratelimit-thief avatar Aug 10 '22 04:08 ratelimit-thief

The final change ended up being adding a per guild webhook limit of 1000 and bumping the per channel webhook limit to 15.

hemu avatar Dec 21 '22 22:12 hemu