Elements Limits / Max Length
Hello, I am looking for a page with all the "limits"
For example, max length for "name" of /cmd, max length for embed fields etc
8 Replies
- 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!Learn more about embed limits at the Discord Developer Documentation
Learn more about slash command limits at the Discord Developer Documentation
Thank you, in fact as there are 3 official sites with the documentation it's a bit complicated to find certain information but thank you I got what I was looking for thanks to you!
I'm not aware of any other official documentation for the discord api
if you're thinking of the discord.js docs and the discord.js guide, these are not official discord documentation as discord.js is not maintained by discord
in general, api limits will be documented in the api documentation
though it's true that our guide does also list embed limits
Okok good to know
The package i use is
@sapphire/discord.js-utilities
https://www.npmjs.com/package/@sapphire/discord.js-utilitiesnpm
@sapphire/discord.js-utilities
Discord.js specific utilities for your JavaScript/TypeScript bots. Latest version: 7.2.1, last published: 14 days ago. Start using @sapphire/discord.js-utilities in your project by running
npm i @sapphire/discord.js-utilities
. There are 7 other projects in the npm registry using @sapphire/discord.js-utilities.Where you can import EmbedLimits
UserNameLimits
ChannelNameLimits
etc etc
Ho verry nice !
Thx !