hi! so i’m making a discord bot using glitch and my friend remixed her project to my bot. my bot isn’t going online (in discord) so i tried to format the file but it keeps saying line 29 ->
bot.commands.set(props.help.name, ( props = ));
has a syntax error. i’m not familiar with coding and i really need help with this. it’ll be great if someone could help edit the project-
SyntaxError: Unexpected token )
12:29 AM
at createScript (vm.js:80:10)
12:29 AM
at Object.runInThisContext (vm.js:139:10)
12:29 AM
at Module._compile (module.js:617:28)
12:29 AM
at Object.Module._extensions…js (module.js:664:10)
12:29 AM
at Module.load (module.js:566:32)
12:29 AM
at tryModuleLoad (module.js:506:12)
12:29 AM
at Function.Module._load (module.js:498:3)
12:29 AM
at Function.Module.runMain (module.js:694:10)
12:29 AM
at startup (bootstrap_node.js:204:16)
12:29 AM
at bootstrap_node.js:625:3
12:29 AM
a few seconds ago
Jump To/app/bot.js:29
12:29 AM
bot.commands.set(props.help.name, ( props = ));
12:29 AM
^
12:29 AM
12:29 AM
SyntaxError: Unexpected token )
12:29 AM
at createScript (vm.js:80:10)
12:29 AM
at Object.runInThisContext (vm.js:139:10)
12:29 AM
at Module._compile (module.js:617:28)
12:29 AM
at Object.Module._extensions…js (module.js:664:10)
12:29 AM
at Module.load (module.js:566:32)
12:29 AM
at tryModuleLoad (module.js:506:12)
12:29 AM
at Function.Module._load (module.js:498:3)
12:29 AM
at Function.Module.runMain (module.js:694:10)
12:29 AM
at startup (bootstrap_node.js:204:16)
12:29 AM
at bootstrap_node.js:625:3