Slash Command Builder Default Option Values
Good morning all!
I'm working w/
For example,
I would want to use something like
Where it posts an ephemeral post by default unless the user explicitly sets
I've also tried logging the value of
Any help would be appreciated! Thanks!
discord.js@14.13.0node v18.12.0I'm working w/
SlashCommandBuilder and am trying to figure out how to set a default value for an option (e.g. String, Boolean, etc.) in the event the user doesn't provide a valueFor example,
I would want to use something like
.setDefault(true) so if the user didn't give anything I could use private to do something likeWhere it posts an ephemeral post by default unless the user explicitly sets
private to falseI've also tried logging the value of
private with and without user input to see if I can bootleg my way around it but always get null for some reason...Any help would be appreciated! Thanks!
