mirror of
https://github.com/franjsco/lscanbot
synced 2025-02-17 20:10:43 +01:00
edit user ref
This commit is contained in:
parent
acdc619067
commit
3de24e30dc
@ -59,4 +59,4 @@ In order to use this bot is required that the code is hosted on a GNU/Linux syst
|
|||||||
GPLv3
|
GPLv3
|
||||||
|
|
||||||
---
|
---
|
||||||
Made with ❤️ by Francesco Esposito ([@frab1t](https://github.com/frab1t))
|
Made with ❤️ by Francesco Esposito ([@frsposito](https://github.com/frsposito))
|
@ -10,14 +10,14 @@
|
|||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"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",
|
"license": "GPL-3.0",
|
||||||
"bugs": {
|
"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": {
|
"dependencies": {
|
||||||
"arpscan": "^0.6.0",
|
"arpscan": "^0.6.0",
|
||||||
"bunyan": "^1.8.12",
|
"bunyan": "^1.8.12",
|
||||||
|
BIN
screenshot.png
BIN
screenshot.png
Binary file not shown.
Before Width: | Height: | Size: 476 KiB After Width: | Height: | Size: 527 KiB |
6
utils.js
6
utils.js
@ -7,13 +7,13 @@ function isAuthorizedUser(userId) {
|
|||||||
function templateStart() {
|
function templateStart() {
|
||||||
const msg = `* Welcome to ${appConfig.app.name} 📱📡*\n
|
const msg = `* Welcome to ${appConfig.app.name} 📱📡*\n
|
||||||
A bot to find devices on your network. \n
|
A bot to find devices on your network. \n
|
||||||
Made with ❤️ by @frab1t `;
|
Made with ❤️ by @frsposito `;
|
||||||
return msg;
|
return msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
function templateUnauthorizedUser() {
|
function templateUnauthorizedUser() {
|
||||||
const msg = `Unauthorized user. 🤖 \n
|
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. 😎`;
|
and run the bot on your local network. 😎`;
|
||||||
return msg;
|
return msg;
|
||||||
}
|
}
|
||||||
@ -29,7 +29,7 @@ function templateHelp() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function templateDevicesList(data) {
|
function templateDevicesList(data) {
|
||||||
if(data.length === 0) {
|
if (data.length === 0) {
|
||||||
let devices = '📡 Devices Not Found. \n\n';
|
let devices = '📡 Devices Not Found. \n\n';
|
||||||
return devices;
|
return devices;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user