changed ?call command to ?loc
This commit is contained in:
parent
05fb19d528
commit
568ac7d4b3
1 changed files with 1 additions and 1 deletions
2
bot.js
2
bot.js
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue