remove deprecated stuff

This commit is contained in:
Jill 2023-11-27 17:21:44 +03:00
parent f2f20a5ea4
commit b6e92b2a52
Signed by: oat
GPG Key ID: 33489AA58A955108
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(false), .setDefaultMemberPermissions(0),
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(false), .setDefaultMemberPermissions(0),
execute: async (interaction: CommandInteraction) => { execute: async (interaction: CommandInteraction) => {
if (!interaction.isChatInputCommand()) return; if (!interaction.isChatInputCommand()) return;