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