1 résultat trouvé

par Natant5534
28 janv. 2023, 23:16
Forum : Javascript
Sujet : Problème "SyntaxError: Identifier 'Client' has already been declared"
Réponses : 2
Vues : 5028

Problème "SyntaxError: Identifier 'Client' has already been declared"

Voici mon code : const { Client, GatewayIntentBits, Client } = require("discord.js"); const client = new Discord.Client({ intent: [ GatewayIntentBits.Guilds ] }); client.on("ready", () => { console.log("bot opérationnel") }); client.login("Mon Token Bot Discord"); Je ne trouve pas pour quoi sa me di...