I was trying to make a discord bot But I get this error SyntaxError: Identifier 'clientId' has already been declared
const { REST, Routes } = require('discord.js');require('dotenv').config();const { clientId, guildId, token } = require('./config.json');const clientId = process.env.ClientId;const token = process.env.BOT_TOKEN;const fs = require('node:fs');
help me correct this
I hope can help me, it's the first time I've used dontev for a discord.js bot