Ask coding questions

← Back to all posts
Hey guys please help it keeps saying unexpected end of input
JaylenPersad (0)

So like im trying to develope a discord bot for my friend (motivation bot) and when i was doing a database so that people can send in there reuqest i ran and debugged but it keeps saying this issues please help also this is my code if you want to see it https://replit.com/@JaylenPersad/MiniWindyMatrix#index.js

Comments
hotnewtop
Coder100 (18930)

yeah your code is invalid, and js is very confused, and so are the errors.
Invite me so I can fix it?

Coder100 (18930)

alright fixed
you had some

  • typos (encouragements - encouragments)
  • invalid syntax ((f) => {} - (f) => {{}})
  • and also forgetting to close of some braces

but all of that has been fixed with clean code! @JaylenPersad