19 days ago
i'm trying to start my bot,, but it keeps crashing every time i try to run it, i can't seem to get it working.
Pinned Solution
19 days ago
Oh okay that's a new issue, mind changing the:
type: 2,to
"type": 2,21 Replies
19 days ago
This thread has been opened as a bounty so the community can help solve it.
Status changed to Open Railway • 19 days ago
dev
Mind sharing your logs if you see errors there?
19 days ago
here are the logs
19 days ago
Okay there is logs, that's helpful! Can you click the download icon in the top right there and share here? Will make it easier for me to see all of it
19 days ago
witch one of the 3 options
19 days ago
its to much
19 days ago
i can max send 5000 and its more then 5000
19 days ago
You can download it as a file by clicking the top-most Plain Text option and upload the file
19 days ago
logs
19 days ago
It looks like some of your code is malformed. If you go into your codebase under src/config/bot.js, find the line state: "Raving, you just have to change that to state: "Raving" (note the " at the end)
19 days ago
ok i will see if it works!
19 days ago
no it dont work it says now this
19 days ago
mind sharing the error again? you can just copy and paste the last few lines of the logs, I suspect a , may be missing (which is my bad)
19 days ago
[email protected] start
node src/app.js
file:///usr/src/app/src/config/bot.js:28
type: 2, // Custom
^^^^SyntaxError: Unexpected identifier 'type'
at compileSourceTextModule (node:internal/modules/esm/utils:346:16)
at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:146:18)
at #translate (node:internal/modules/esm/loader:497:12)
at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:544:27)Node.js v20.20.2
19 days ago
yeah thx!!
dev
All issues fixed now?
19 days ago
i gonne see now!
19 days ago
yeah all issues fixed! thx for you help!
Status changed to Awaiting User Response Railway • 19 days ago
Status changed to Solved dev • 19 days ago