1
0
Fork 0

added ?help command

This commit is contained in:
blakewenloe 2019-07-04 17:38:20 -04:00
parent 568ac7d4b3
commit a1f8e1695f

6
bot.js
View file

@ -46,5 +46,11 @@ client.on("message", message => {
getWeather(callsign, message);
return;
}
if (command === "help") {
message.channel.send(
"**Currently available commands**:\n`?loc callsign` to retrieve location information.\n`?wx callsign` to retrieve weather data."
);
return;
}
});
client.login(config.token);