Kyan
Kyan
DIAdiscord.js - Imagine an app
Created by Kyan on 11/26/2023 in #djs-questions
Importing multiple from discord.js having issues
Hello I have the line const { Discord, EmbedBuilder } = require('discord.js'); This causes issues with const client = new Discord.Client({ with the error
const client = new Discord.Client({
^
TypeError: Cannot read properties of undefined (reading 'Client')
const client = new Discord.Client({
^
TypeError: Cannot read properties of undefined (reading 'Client')
9 replies