Answer the question
In order to leave comments, you need to log in
The bot does not start, how to start?
Good afternoon, help me solve the problem, I have a bot that I created through the program.
On the PC, when I start the discord bot via cmd, everything works, it starts without errors.
When I put the bot on vps (installed all libraries, etc.), nothing works.
Gives the following error:
/root/tupajenek/bot.js:1237
} catch {}
^
SyntaxError: Unexpected token {
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:616:28)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3
[email protected]:~/tupajenek#
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question