diff --git a/index.js b/index.js index 40b5f34..2ddb294 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", message => { switch (message.content.toLowerCase()) { case '$score': startScoring(message);