ZodError in discord.js?
Zod is a part of the discord.js builders. This is because the command names are uppercase. Make both the command name and option name lowercase
module.exports = {
data: new SlashCommandBuilder()
.setName('title')
.setDescription('Bottom text')
.addUserOption(option =>
option.setName('subtitle')
.setDescription('Lorem Ipsum')
.setRequired(true)),
async execute(interaction) {
await interaction.reply('Not defined yet');
},
}