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
UndiedGFX6mo 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
UpsidedOP6mo ago
Is that not for if a command can be run, and not for visibility of that command?
Solution
UndiedGFX
UndiedGFX6mo ago
use #setDefaultMemberPermissions maybe?
Upsided
UpsidedOP6mo ago
that might be the one, thanks!
Want results from more Discord servers?
Add your server