From 708559dcaccb0437642927bfd9c79c463cffa9c1 Mon Sep 17 00:00:00 2001 From: "Jill \"oatmealine\" Monoids" Date: Mon, 27 Nov 2023 15:16:57 +0300 Subject: [PATCH] oups --- src/commands/color.ts | 2 +- src/commands/pronouns.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/color.ts b/src/commands/color.ts index a2179ad..26441a4 100644 --- a/src/commands/color.ts +++ b/src/commands/color.ts @@ -46,7 +46,7 @@ export default { .addBooleanOption((option) => option.setName('preview').setDescription('Preview the color instead of applying it') ) - .setDefaultPermission(0), + .setDefaultPermission(false), execute: async (interaction: CommandInteraction) => { if (!interaction.isChatInputCommand()) return; diff --git a/src/commands/pronouns.ts b/src/commands/pronouns.ts index 76bcb5d..5afb59a 100644 --- a/src/commands/pronouns.ts +++ b/src/commands/pronouns.ts @@ -18,7 +18,7 @@ export default { .setRequired(true) .setChoices(...Array.from(pronouns.values()).map(extendOption)) ) - .setDefaultPermission(0), + .setDefaultPermission(false), execute: async (interaction: CommandInteraction) => { if (!interaction.isChatInputCommand()) return;