Ask coding questions

← Back to all posts
Help with code
Bottian (1)

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 (188) [earned 5 cycles]
View Answer
Comments
hotnewtop
ANDREWVOSS (188)

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

ANDREWVOSS (188)

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.