How to make help command
how can i make a help command which lets user choose the command category which will be the different subfolders inside the command folder in VSC using a select menu and when they press on the option an embed with the names of the command and description will show up. Below the embed will be buttons allowing using to change between embeds to the next page in the first embed had reached a maximum number of commands?
6 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!If you're unsure how to read command files, you'll likely want to familiarize yourself with fs
If you're unsure how to paginate the embeds, there's plenty of examples of pagination in general online
in the first embed had reached a maximum number of commandsNot sure what you're referring to here
isn't there a limit on how many fields you can have in an embed?
Learn more about embed limits at the Discord Developer Documentation
so if i have like 40 commands
then i can only fit 25 fields on each embed
so i will need to first check that 25 fields have been appended o the first embed
then create a new embed to append on?
@Qjuh