This commit is contained in:
Jill 2023-11-27 15:16:57 +03:00
parent 1b6f23d75f
commit 708559dcac
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ export default {
.addBooleanOption((option) => .addBooleanOption((option) =>
option.setName('preview').setDescription('Preview the color instead of applying it') option.setName('preview').setDescription('Preview the color instead of applying it')
) )
.setDefaultPermission(0), .setDefaultPermission(false),
execute: async (interaction: CommandInteraction) => { execute: async (interaction: CommandInteraction) => {
if (!interaction.isChatInputCommand()) return; if (!interaction.isChatInputCommand()) return;

View File

@ -18,7 +18,7 @@ export default {
.setRequired(true) .setRequired(true)
.setChoices(...Array.from(pronouns.values()).map(extendOption)) .setChoices(...Array.from(pronouns.values()).map(extendOption))
) )
.setDefaultPermission(0), .setDefaultPermission(false),
execute: async (interaction: CommandInteraction) => { execute: async (interaction: CommandInteraction) => {
if (!interaction.isChatInputCommand()) return; if (!interaction.isChatInputCommand()) return;