6 Replies
d.js toolkit
d.js toolkit12mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by OP
unnreaal
unnreaalOP12mo ago
well @Qjuh. I im creating a webhook and saving in a cache (a class that extends the native Map) per 5m. I want to delete this webhook from the cache when a webhook is deleted (I know how to do this, I just need to know how I will know if a webhook was deleted in the webhooksUpdate event) The second case is that I want to know if the channel has reached the maximum size of webhooks allowed on that channel, and then delete the webhook from the cache how to know it?
xx_lavaboy_xx123
xx_lavaboy_xx12312mo ago
the limit is 15 so check if the collection size u got from fetching webhooks equals to 15, im not sure what webhook u want to delete there tho
unnreaal
unnreaalOP12mo ago
Yes, I thought about it, but I wanted to hear an answer. Another question, I heard that the limit was 10, is it really 15?
xx_lavaboy_xx123
xx_lavaboy_xx12312mo ago
yes it's 15, u can check it yourself
No description
unnreaal
unnreaalOP12mo ago
ok
Want results from more Discord servers?
Add your server