! M O V E ⚡
DIAdiscord.js - Imagine an app
•Created by ! M O V E ⚡ on 12/10/2024 in #djs-questions
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),
10 replies