Browse Source

Undeclared message

master
Abheek Dhawan 4 years ago
parent
commit
606b0a0120
  1. 2
      index.js

2
index.js

@ -7,7 +7,7 @@ client.on("ready", () => {
console.log("Logged in as " + client.user.tag + "!"); console.log("Logged in as " + client.user.tag + "!");
}); });
client.on("message", () => { client.on("message", message => {
switch (message.content.toLowerCase()) { switch (message.content.toLowerCase()) {
case '$score': case '$score':
startScoring(message); startScoring(message);

Loading…
Cancel
Save