client.on(\"message\", (message) => {
message.channel.send({
embed: {
color: 3447003,
author: {
name: client.user.username,
icon_url
As mentioned in the comments, add });
to the very end of your code. This should close off the client.on
event listener. The final });
in your code looked like it closed off that listener until I edited the question with proper formatting. Now you can tell there is another });
needed.
Credit goes to @SterlingArcher, I answered b/c I want to stop looking at this as an unanswered question.