diff --git a/interactions/commands/embedBuilder.js b/interactions/commands/embedBuilder.js index 82b0500..6919597 100644 --- a/interactions/commands/embedBuilder.js +++ b/interactions/commands/embedBuilder.js @@ -18,9 +18,10 @@ module.exports = { option .setName("channel") .setDescription("Channel to send the embed message to.") - .setRequired(false) + .setRequired(true) ) .setDefaultMemberPermissions(PermissionFlagsBits.Administrator), + isGuild: true, async execute(interaction) { const channel = interaction.guild.channels.cache.get( interaction.options.get("channel")?.value || interaction.channel.id