Constants for max pins | threads?

Does discord.js have a constants file somewhere for the max number of pins for a channel or the max number of threads in a guild?
4 Replies
zay!
zay!2y ago
it's 50 per channel, not sure for threads - the same?
NovaKevin
NovaKevin2y ago
Right but is there somewhere I can reference the limit instead of creating my own constant? In case it changes then discord.js could update that constant and bots wouldn't need to change it
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
NovaKevin
NovaKevin2y ago
I think it would fit well within discord.js, I'd be willing to do a PR with hard limits like max pins per channel, max threads per guild, max message characters, etc, if others thought it fits too