Display all commands in guild a member has permissions on
I cant figure it out
guild.commands.cache.filter((c) =>member.permissions )
10 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.Try using c.permissions instead of member.permissions
I want to to create clickable commands. There are members who can't type them 😄
Another way would be to just show commands which are public
to type something 😄 😄
enter
If a member cannot type a command then they cannot use them at all.
They dont understand how to use slash commands in the chat
so giving them just a click is easier xD
Clickable commands => click it and it puts it in the message bar to run.
you can do that ?
yeah thats what i plan to achieve
/Command:12345668901224567890
It is
/:name:id
correct?
No need side carrots too
Gotchabut for me they are not clickable
/airhorn
okk only mobile
thanks !!
Thanks guys
