How do I make commands only visible to certain users?

Question's in the title. How do I make (interaction) commands visible to only certain users?
Solution:
use #setDefaultMemberPermissions maybe?
Jump to solution
4 Replies
UndiedGFX
UndiedGFX8mo ago
Sapphire Framework
What are preconditions and how do they work? | Sapphire
Preconditions are classes that will determine whether or not a command should be ran according to certain conditions.
Upsided
UpsidedOP8mo ago
Is that not for if a command can be run, and not for visibility of that command?
Solution
UndiedGFX
UndiedGFX8mo ago
use #setDefaultMemberPermissions maybe?
Upsided
UpsidedOP8mo ago
that might be the one, thanks!

Did you find this page helpful?