it sends this error how do i fix this?
`const paginationEmbed = require('discordjs-button-pagination');
// Use MessageEmbed to make pages
// Keep in mind that Embeds should't have their footers set since the pagination method sets page info there
const { MessageEmbed , MessageButton} = require('discord.js');
module.exports = {
name: "inv",
description: "test",
category: "n",
callback: async ({interaction, message, user}) => {
const embed1 = new MessageEmbed()
.setTitle('First Page')
.setDescription('This is the first page');
const embed2 = new MessageEmbed()
.setTitle('Second Page')
.setDescription('This is the second page');
const button1 = new MessageButton()
.setCustomId('previousbtn')
.setLabel('Previous')
.setStyle('DANGER');
const button2 = new MessageButton()
.setCustomId('nextbtn')
.setLabel('Next')
.setStyle('SUCCESS');
pages = [
embed1,
embed2,
];
buttonList = [
button1,
button2
]
timeout = "100000"
paginationEmbed(interaction, pages, buttonList, timeout);
},
}`