#builders discussion

16 messages · Page 1 of 1 (latest)

burnt pebble

general builders discussion

@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?

sharp sundial

did I forget to add that?

burnt pebble

yes

sharp sundial

.w.

setDefaultPermission it is imo

burnt pebble

i was also thinking setDefaultVisibility

dense moss

Ew

sharp sundial

we're sticking to api

bright dagger

^

burnt pebble

kk

knotty cosmosBOT

pr_open #19 in discordjs/builders by Fyko opened <t:1628378012:R> (review required)
feat(SlashCommandBuilder): create setDefaultPermission function
📥 npm i Fyko/djs-builders#feat/setDefaultPermission

bright dagger

I'll review tomorrow

main spoke

Hello,
Is there any documentation on discord.js / builders? (For example setting permissions)

sharp sundial

You mean .setDefaultPermission?

main spoke

Yes