On hamza
Membre
- Inscription
- 1 Mai 2019
- Messages
- 3
- Réactions
- 0
- Points
- 617
Voila le code du bot
Voila la errere
JavaScript:
const Discord = require('index.js');
const bot = new Discord.Client();
bot.on('ready) => {
console.log('je suis dans les ou le discord});
bot.login("TOKEN")
Code:
storage/emulated/0/bot/index.js:4
bot.on('ready) => {
^^^^^^^^^^^^
SyntaxError: Invalid or unexpected token
at Module._compile (internal/modules/cjs/loader.js:749:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:816:10)
at Module.load (internal/modules/cjs/loader.js:672:32)
at tryModuleLoad (internal/modules/cjs/loader.js:612:12)
at Function.Module._load (internal/modules/cjs/loader.js:604:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:868:12)
at internal/main/run_main_module.js:21:11