From b5b581423c1bbd2fab3b8cba7fe4b396caaff9e6 Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Wed, 31 Mar 2021 19:07:18 -0500 Subject: [PATCH] Fix malformed arrow function --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);