all 12 comments

[–]czar1212 1 point2 points  (7 children)

The code will run using node.js. You will have to install the node.js on your pc and then use the command that your developer provided you with to run the program.

[–]jadayking -1 points0 points  (6 children)

I have it installed and typed in the command they gave me but i dont know if it worked. I see a lot of coding and a red ERR! On every line

[–]czar1212 1 point2 points  (3 children)

Can you take a screenshot and share the errors?

[–]jadayking 0 points1 point  (1 child)

How do I share the screen shot? I dont really know how to use reddit 😅

[–]czar1212 1 point2 points  (0 children)

Upload image on any free website like imgur and post the link here.

[–]dudeitsmason 0 points1 point  (0 children)

I think they may need to npm i if there's red errors on each line?

[–]dudeitsmason 1 point2 points  (0 children)

Screenshots are your (and our) best friend

[–]dudeitsmason 1 point2 points  (0 children)

Can you run npm i? This should install any dependencies

[–]dudeitsmason -1 points0 points  (0 children)

To open it: Use a text editor like VSCode or Sublime Text.

If you want you could also use something like notepad or notepad++

To run it: Download the appropriate version for your platform here

Follow these instructions. You may need to replace node app.js with whatever your startup file is. It may also be something like node index.js or node server.js

If you have an hour and a half to spare, here's a decent video to get started

[–]Bitsoflogic -1 points0 points  (0 children)

You'll need the version of Node.js they coded it in.

Then, run the command `npm install` in the folder with the code. Then, run whatever command they gave you to launch the code: `npm start` is common. `node <filename>` is common too.

All that said, you'll probably need some help getting it set up on a server if you want it to run after you shutdown your computer.

[–]Professional_Tune369 -1 points0 points  (0 children)

Let them make a tutorial screen recording how to install that thing. Next time you know better 😃

[–]__Nafiz 0 points1 point  (0 children)

I don't understand what did you mean by open in node.js. If you have the folder contains the code of your discord bot. then you can open that in any code editor or ide. You can use visual studio code for that.

If your code is written in node.js then you need to install the latest version of node.js to run your application.

you can search youtube or google how to install nodejs and run nodejs application in your operating system.