1
0
Fork 0

changed ?call command to ?loc

This commit is contained in:
blakewenloe 2019-07-04 17:21:36 -04:00
parent 05fb19d528
commit 568ac7d4b3

2
bot.js
View file

@ -36,7 +36,7 @@ client.on("message", message => {
.trim()
.split(/ +/g);
const command = args.shift();
if (command === "call") {
if (command === "loc") {
let callsign = args.join("").toLowerCase();
getLocationInfo(callsign, message);
return;