Discord.js undefined reading "member" of interaction

I was following a discord js guide for making a discord music bot, and im running into an error where interaction is not defined in play.js. Any ideas with what is wrong with my code?

Repl link: https://replit.com/@24cheniv/Bruh-Bot)

index.js

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

    const command = client.commands.get(interaction.commandName);
    if(!command) return;

    try
    {
        await command.execute({client, interaction});
    }
    catch(error)
    {
        console.error(error);
        await interaction.reply({content: "There was an error executing this command"});
    }
});

play.js

execute: async ({ client, interaction }) => {
        // Make sure the user is inside a voice channel
    if (!interaction.member.voice.channel) return interaction.reply("You need to be in a Voice Channel to play a song.");
}

when you call execute, how many arguments are you passing into it? If not 2, then “interaction” would be undefined.