diff --git a/index.js b/index.js index 75c5f09..8eb696e 100644 --- a/index.js +++ b/index.js @@ -7,7 +7,7 @@ client.on("ready", () => { console.log("Logged in as " + client.user.tag + "!"); }); -client.on("message" () => { +client.on("message" => { switch (message.content.toLowerCase()) { case '$score': startScoring(message);