edit user ref

This commit is contained in:
Francesco Esposito 2019-07-23 22:21:23 +02:00
parent acdc619067
commit 3de24e30dc
4 changed files with 10 additions and 10 deletions

View File

@ -59,4 +59,4 @@ In order to use this bot is required that the code is hosted on a GNU/Linux syst
GPLv3
---
Made with ❤️ by Francesco Esposito ([@frab1t](https://github.com/frab1t))
Made with ❤️ by Francesco Esposito ([@frsposito](https://github.com/frsposito))

View File

@ -10,14 +10,14 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/frab1t/lscanbot.git"
"url": "git+https://github.com/frsposito/lscanbot.git"
},
"author": "frab1t",
"author": "frsposito",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/frab1t/lscanbot/issues"
"url": "https://github.com/frsposito/lscanbot/issues"
},
"homepage": "https://github.com/frab1t/lscanbot#readme",
"homepage": "https://github.com/frsposito/lscanbot#readme",
"dependencies": {
"arpscan": "^0.6.0",
"bunyan": "^1.8.12",
@ -30,4 +30,4 @@
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.14.0"
}
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 476 KiB

After

Width:  |  Height:  |  Size: 527 KiB

View File

@ -7,13 +7,13 @@ function isAuthorizedUser(userId) {
function templateStart() {
const msg = `* Welcome to ${appConfig.app.name} 📱📡*\n
A bot to find devices on your network. \n
Made with by @frab1t `;
Made with by @frsposito `;
return msg;
}
function templateUnauthorizedUser() {
const msg = `Unauthorized user. 🤖 \n
Clone the repository https://github.com/frab1t/lscanbot
Clone the repository https://github.com/frsposito/lscanbot
and run the bot on your local network. 😎`;
return msg;
}
@ -29,10 +29,10 @@ function templateHelp() {
}
function templateDevicesList(data) {
if(data.length === 0) {
if (data.length === 0) {
let devices = '📡 Devices Not Found. \n\n';
return devices;
}
}
let devices = '📡 Devices available: \n\n';
data.forEach((elem) => {
devices += `----- \n 📱 * ${elem.device} * \n 👉 _ ${elem.owner} _ \n \n `;