How to end this argument string? (and how to make the code.. work?)

Developing in replit, giving me an error with syntax errors, argument string errors and the bunch. Thanks for the help.

const { Client, GatewayIntentBits, EmbedBuilder, ActivityType,  ActionRowBuilder, ButtonBuilder, ButtonStyle, Events, ModalBuilder, TextInputBuilder, TextInputStyle } = require('discord.js');
const client = new Client({ intents: [GatewayIntentBits.Guilds] });

const TOKEN = process.env['TOKEN']

client.on('ready', () => {
  console.log(`Logged in as ${client.user.tag}!`);

    client.user.setPresence({ activities: [{ name: 'over a ton of cheeseburgers.', type: ActivityType.Watching }], status: 'online' })

});
const embednew = EmbedBuilder(
        .setTitle("embeddy embed")
        .setDescription("this is an embed")
        .setColor(0x01611F))
        

client.on('interactionCreate', async interaction => {
  if (!interaction.isChatInputCommand()) return;

  if (interaction.commandName === 'cheeseburger') {
    await interaction.reply (embeds: [embednew])
   
  }
});  

client.login(TOKEN);
image.png
Was this page helpful?