Why is this not working pleas help me,

// commands/transcript.js

const { SlashCommandBuilder, AttachmentBuilder, EmbedBuilder,ApplicationIntegrationType,InteractionContextType } = require('discord.js');
const { loadResponses } = require('../utils/dataHandler');
const { logToChannel } = require('../utils/logger');
const { createTranscript } = require('discord-html-transcripts');

module.exports = {
data: new SlashCommandBuilder()
.setName('transcript')
.setDescription('Generate a transcript of the last 1,000 messages in this channel.')
.setIntegrationTypes(ApplicationIntegrationType.UserInstall, ApplicationIntegrationType.GuildInstall)
.setContexts(InteractionContextType.Guild, InteractionContextType.PrivateChannel),
Was this page helpful?