#builders discussion
16 messages · Page 1 of 1 (latest)
@bright dagger @sharp sundial @dense moss
I'm PR-ing a function to the SlashCommandBuilder that essentially allows users to specify default_permission on slash commands.
I'm thinking the function be named setDefaultPermission(value: boolean) but it sounds off, any ideas?
did I forget to add that?
yes
.w.
setDefaultPermission it is imo
i was also thinking setDefaultVisibility
Ew
we're sticking to api
^
kk
#19 in discordjs/builders by Fyko opened <t:1628378012:R> (review required)
feat(SlashCommandBuilder): create setDefaultPermission function
📥 npm i Fyko/djs-builders#feat/setDefaultPermission
I'll review tomorrow
Hello,
Is there any documentation on discord.js / builders? (For example setting permissions)
You mean .setDefaultPermission?
Yes