how to this type of advanced help menu
https://srcb.in/aatGdT2Ff5
https://srcb.in/IrPCEw0UZu
This is my cmd handler
It gives when we type /afk help it gives afk related commands such that i need the commands add on selection menu what i do for it
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!Discord.js 14.12
Node 17.9.1
Heey anyone here
To build a StringSelectMenu:
implement a new menu with:
const menu = new StringSelectMenuBuilder()
and make sure you require StringSelectMenuBuilder
from discord.js
Personally, I would have a single help command rather than setting a help argument in each command.
give it a custom_id, placeholder (optional), and options like this
Bro but how to get the afk commands it will give that?
So run the help command and send the menu with the overview embed. When you select an option in the menu, you need to edit the original embed with the new embed and resend the menu.
When you select an option, discord reads a menu selection as
[interaction.values]
so
What i want to do 1st?
create the menu and overview embed and send it
Ok
Like this want to do?
<@371759410009341952>