22 lines
609 B
JavaScript
22 lines
609 B
JavaScript
const customEmbeds = require('../CustomModules/Embeds.js');
|
|
|
|
module.exports = {
|
|
baseEvent(interaction) {
|
|
console.log(interaction.component.customId);
|
|
switch (interaction.component.customId) {
|
|
// Any of the gifsPage Buttons
|
|
case 'prevGifsPage' || 'nextGifsPage' :
|
|
break;
|
|
default:
|
|
return;
|
|
}
|
|
},
|
|
gifsPage(interaction, gifs, page) {
|
|
switch (buttonId) {
|
|
case 'prevGifsPage':
|
|
return 'previous';
|
|
case 'nextGifsPage':
|
|
return 'next';
|
|
}
|
|
}
|
|
} |