added ?help command
This commit is contained in:
parent
568ac7d4b3
commit
a1f8e1695f
1 changed files with 6 additions and 0 deletions
6
bot.js
6
bot.js
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue