Bu gördüğüm hata:
client.elevation = message => {
SyntaxError: Unexpected identifier
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at
Module._compile (module.js:617:28)
at Object.Module._extensions…js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Function.Module.runMain (module.js:694:10)
at startup (bootstrap_node.js:204:16)
at bootstrap_node.js:625:3
Since you need help with your bot, I’ve moved it to #discord-help
Can you show some code please?
Şöyle bir fotoğraf atabilirim burdan anlayabilirmisiniz ?
You can’t really diagnose code with a screenshot, especially on a mobile phone. Could you send the project link?
Hello @parzival13-del,
That error happens when you have an issue with an array.
Arrays should look like this:
("data", "data")
Do any of your arrays look like this?
("data," "data")
or ("data" "data)
The ready event listener right above the client.elevation
line has an extra curly bracket.
client.on("ready", () => {
client.channels.get("").join();
});
} // <- delete this