I’m trying to build a discord bot that generates image but I faced this problem.. I’m following a toturial on YouTube I hope someone helps me resolve this matter.
`const { SlashCommandBuilder, EmbedBuilder} = require(`discord.js`);
const { Configuration, OpenAIApi } = require("openai");
const configuration = new Configuration({
apiKey: 'My Key'
});
const openai = new OpenAIApi(configuration);`
# I think this is a tough one since its a command building integrated with openai Api