1
0
Fork 0

added ?help command

master
blakewenloe 6 years ago
parent 568ac7d4b3
commit a1f8e1695f

@ -46,5 +46,11 @@ client.on("message", message => {
getWeather(callsign, message); getWeather(callsign, message);
return; 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); client.login(config.token);

Loading…
Cancel
Save