Ask coding questions

← Back to all posts
Help with code
Bottian

I'm trying to make a discord bot but when I run the code it says: error: no source files I'm new at this so I would really appreciate if someone could figure out whats wrong, thanks

Answered by ANDREWVOSS [earned 5 cycles]
View Answer
Voters
Bottian
Comments
hotnewtop
ANDREWVOSS

Put your code in a node.js repl. JavaScript and Java are different things.

ANDREWVOSS

Also you might want to take a look at line 5. I'm not good at JavaScript, so I don't know if that's wrong or not.