const config = require('./settings.json')
const token = config.token
const { Client } = require('discord.js')
const Client = new Client({intents:[]})
client.once("ready", () => {
console.log ('Ich bin Online')
client.user.setActivity({name: "The Void", type: "PLAYING"})
})
client.login(token)
I’m new to coding and trying to code my own discord bot but every time I try to start the bot I get the error JS- SyntaxError: Identifier ‘Client’ has already been declared.